zbgl.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:4k
源码类别:
手机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("myjb"))%><br/>
- ---------<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='zbgl.asp?sb=<%=sb%>&id=<%=id%>&cz=1' method='post' accept-charset='utf-8'>
- <postfield name='name' value='$(name<%=minute(now)%><%=second(now)%>)'/>
- <postfield name='txt' value='$(txt<%=minute(now)%><%=second(now)%>)'/>
- </go></anchor>|<anchor>[奖励]<go href='zbgl.asp?sb=<%=sb%>&id=<%=id%>&cz=0' method='post' accept-charset='utf-8'>
- <postfield name='name' value='$(name<%=minute(now)%><%=second(now)%>)'/>
- <postfield name='txt' value='$(txt<%=minute(now)%><%=second(now)%>)'/>
- </go></anchor><br/>
- <%elseif cz="1" then%>
- <%
- id=usb(request("id"))
- name=usb(request("name"))
- txt=usb(request("txt"))
- cz=usb(request("cz"))
- sql="update cnscu_gr set myjb=myjb-"&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%>
- <%
- id=usb(request("id"))
- name=usb(request("name"))
- txt=usb(request("txt"))
- cz=usb(request("cz"))
- sql="update cnscu_gr set myjb=myjb+"&name&" Where CStr(id)='" & id & "'"
- conn.Execute(sql)
- %>
- 奖励会员<%=ubb(rs("nini"))%>|<%=name%>钻币成功<br/>
- <%set rsl=Server.CreateObject("ADODB.Recordset")
- rspll="select * from tbxx"
- rsl.open rspll,conn,1,2
- rsl.addnew
- rsl("fnr")="原因:"&txt&",系统奖励您"&name&"钻币,请注意查收!"
- rsl("sid")=id
- rsl("fid")="0"
- rsl.update
- rsl.close
- set rsl=nothing%>
- <%end if%>
- ----------<br/>
- <a href="hhyy.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>