📄 userscore_edit.asp
字号:
<!--#include file="../inc/conn.asp"-->
<%
if session("chat_admin")<>"yes" then
response.redirect "login.asp"
response.end
end if
userid=request("userid")
username=request("username")
allgamename=Array("围棋","象棋","五子棋","国际象棋","军棋","四国军旗","拖拉机","麻将","锄大D","跑得快","拱猪","斗地主","梭哈","暗棋","21点","俄罗斯方块")
allgameid=Array("wq","xq","wzq","chess","jq","sgjq","tlj","mj","cdd","pdk","gz","ddz","sh","aq","21d","fk")
wherestr=""
ssel=""
gameid=request("gameid")
if isnull(gameid) or gameid="" then
gameid="wq"
end if
wherestr=" where userid=" &userid
gameindex=0
m=0
do while m< UBound(allgameid)
if allgameid(m)=gameid then gameindex=m
m=m+1
loop
if isnull(username) or username="" then
response.write "没有找到指定的用户名字。"
response.end
end if
sql="select * from "&gameid&"_score where userid=" & userid
Conn = DBCN()
set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,3
if rs.eof then
response.write "没有找到指定的用户游戏积分信息。"
response.end
end if
gamecount=cint(rs("ying"))+cint(rs("shu"))+cint(rs("he"))
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户管理(修改用户游戏积分)</title>
<style type="text/css">
<!--
.p9 {font-size: 9pt; line-height: 14pt }
A:link {COLOR: #0000ff; TEXT-DECORATION: underline }
A:hover{COLOR: #EB551D; TEXT-DECORATION: none }
A:active{COLOR: #EB551D }
-->
</style>
</head>
<body topmargin="3" leftmargin="3">
<table border="0" width="100%" bgcolor="#C8C9D2">
<tr>
<td width="52%"><strong>JChat注册用户管理面板</strong></td>
<td width="48%">
<p align="right" class="p9"><a href="logout.asp"><font color=red>退出系统</font></a> <a href="http://www.easyfad.com">技术支持</a> <a href="http://www.jchat.com.cn">关于JChat</a></td>
</tr>
</table>
<table border="0" width="100%" height="90%" bgcolor="#E7E7EB">
<tr>
<td width="100%" class="p9" valign="top"><br>
<br><a href="index.asp">首页</a>-><a href="#" onclick="history.back(0);return false;">用户游戏积分列表</a>->用户游戏积分
<form method="POST" action="userscoreedit_save.asp">
<input name="userid" type="hidden" value="<%=userid%>">
<input name="username" type="hidden" value="<%=username%>">
<input name="gameid" type="hidden" value="<%=gameid%>">
<input name="myurl" type="hidden" value="<%=myurl%>">
<table border="1" width="93%" bordercolor="#71ACBD" cellspacing="0" cellpadding="0">
<tr>
<td width="17%" class="p9">所在游戏:</td>
<td width="83%" class="p9"><%=allgamename(gameindex)%></td>
</tr>
<tr>
<td width="17%" class="p9">用户名字:</td>
<td width="83%" class="p9"><%=username%></td>
</tr>
<tr>
<td width="17%" class="p9">等级分:</td>
<td width="83%" class="p9"><input type="text" name="score" size="10" value="<%=rs("score")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">总局数:</td>
<td width="83%" class="p9"><input type="text" name="gamecount" size="10" value="<%=gamecount%>"></td>
</tr>
<tr>
<td width="17%" class="p9">赢:</td>
<td width="83%" class="p9"><input type="text" name="ying" size="10" value="<%=rs("ying")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">输:</td>
<td width="83%" class="p9"><input type="text" name="shu" size="10" value="<%=rs("shu")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">和:</td>
<td width="83%" class="p9"><input type="text" name="he" size="10" value="<%=rs("he")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">掉线:</td>
<td width="83%" class="p9"><input type="text" name="diaoxian" size="10" value="<%=rs("diaoxian")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">逃跑:</td>
<td width="83%" class="p9"><input type="text" name="taopao" size="10" value="<%=rs("taopao")%>"></td>
</tr>
<tr>
<td width="17%"> </td>
<td width="83%"> <br>
<input type="submit" value=" 提 交 "> <input type="reset"
value=" 复 原 "> <br>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table border="0" width="100%" bgcolor="#C8C9D2">
<tr>
<td width="100%" class="p9">
<p align="right">版本:<font color="#FF0000">JGame V2.0.2</font> </p>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -