jfgl.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:3k
源码类别:
手机WAP编程
开发平台:
ASP/ASPX
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><?xml version="1.0" encoding="utf-8"?>
- <%response.buffer=true%>
- <%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
- <!--#include file="conn.inc"-->
- <!--#include file="cnscu_sb.asp"-->
- <wml><%
- '====================================================================
- ' 请你保留这段说明,这并不会影响你的速度. 电脑交流:http://www.cnscu.cn
- ' 程序制作:横云 掌上校园收倾心整理收集于互联网,感谢你的支持!
- ' 升级时间: 2008-2-5 主页地址:HTTP://wap.cnscu.cn
- ' E-Mail: cnscu@126.com 客服QQ:554904632 QQ群:30493504 QQ群2:46659883
- '====================================================================
- %> <head>
- <meta http-equiv="Cache-Control" content="no-Cache"/>
- <meta http-equiv="Cache-Control" content="max-age=0"/>
- <meta http-equiv="Expires" content="Mon, 1 Jan 1990 00:00:00 GMT"/>
- </head>
- <card id="main" title="积分管理" >
- <p>
- <%id=usb(request("id"))
- name=usb(request("name"))
- txt=usb(request("txt"))
- cz=usb(request("cz"))%>
- <%
- set rs=Server.CreateObject("ADODB.Recordset")
- rspl="select * from cnscu_gr where cstr(id)="&id
- rs.open rspl,conn,1,3
- %>
- <%if cz="" then%>
- 会员编号:<%=id%><br/>
- 会员昵称:<%=ubb(rs("nini"))%><br/>
- 拥有积分:<%=ubb(rs("myjf"))%><br/>
- ---------<br/>
- 选择操作:<select name='cz' value='1'><br/>
- <option value="0">奖励</option>
- <option value="1">扣除</option>
- </select><br/>
- 操作原因<input name='txt<%=minute(now)%><%=second(now)%>' title='操作原因' value='请输入操作原因'/><br/>
- 积分数量<input name='name<%=minute(now)%><%=second(now)%>' title='积分数量' value='100'/><br/>
- <anchor>[确定修改]<go href='jfgl.asp?sb=<%=sb%>&fs=<%=fs%>&id=<%=id%>' method='post' accept-charset='utf-8'>
- <postfield name='name' value='$(name<%=minute(now)%><%=second(now)%>)'/>
- <postfield name='txt' value='$(txt<%=minute(now)%><%=second(now)%>)'/>
- <postfield name='cz' value='$(cz)'/>
- </go></anchor><br/>
- <%elseif cz="1" then%>
- <%
- sql="update cnscu_gr set myjf=myjf-"&name&" Where CStr(id)='" & id & "'"
- conn.Execute(sql)%>
- 扣除会员<%=ubb(rs("nini"))%>|<%=name%>积分成功<br/>
- <%set rsll=Server.CreateObject("ADODB.Recordset")
- rsplll="select * from tbxx"
- rsll.open rsplll,conn,1,2
- rsll.addnew
- rsll("fnr")="原因:"&txt&",系统扣除您"&name&"积分,如有疑问请联系管理员!"
- rsll("sid")=id
- rsll("fid")="0"
- rsll.update
- rsll.close
- set rsll=nothing%>
- <%elseif cz="0" then%>
- <%
- sql="update cnscu_gr set myjf=myjf+"&name&" Where CStr(id)='" & id & "'"
- conn.Execute(sql)
- %>
- 奖励会员<%=ubb(rs("nini"))%>|<%=name%>积分成功<br/>
- <%set rsll=Server.CreateObject("ADODB.Recordset")
- rsplll="select * from tbxx"
- rsll.open rsplll,conn,1,2
- rsll.addnew
- rsll("fnr")="原因:"&txt&",系统扣除您"&name&"积分,请注意查收!"
- rsll("sid")=id
- rsll("fid")="0"
- rsll.update
- rsll.close
- set rsll=nothing%>
- <%end if%>
- ----------<br/>
- <a href="hhyy.asp?fs=<%=fs%>&sb=<%=sb%>">返回会员管理</a><br/>
- <a href="sq.asp?fs=<%=fs%>&sb=<%=sb%>">返回社区设计</a><br/>
- <a href="admin_index.asp?fs=<%=fs%>&sb=<%=sb%>">返回管理首页</a><br/>
- <a href="../index.asp?fs=<%=fs%>&sb=<%=sb%>">返回网站首页</a><br/>
- 报时:<%=time%>
- <!--#include file="bq.gif"-->
- </p></card></wml>