📄 adjustex2.asp
字号:
<%@ LANGUAGE=VBScript%>
<%Response.Expires=0
if Session("a_c_user_name")="" then
Response.write "<b>[操作失败]</b><p>您尚未登录(或已经超时退出),不能进行此操作!"
Response.end
end if
if Session("a_c_user_level")<10 then
Response.Write "<b>[操作失败]</b><p>您没有更改经验值的权限!"
Response.End
end if
upusername=Trim(Request.Form("upusername"))
upusername=Server.HTMLEncode(upusername)
if upusername="" then Response.Redirect "adjustex.asp"
dim show(8)
input=Application("a_c_reg_data")
countud=Application("a_c_reg_num")
countudnum=(countud-4)/8
yzc=0
for i=5 to countud step 8
if input(i)=upusername then
show(1)=input(i)
show(2)=input(i+1)
show(3)=input(i+2)
show(4)=input(i+3)
show(5)=input(i+4)
show(6)=input(i+5)
show(7)=input(i+6)
show(8)=input(i+7)
yzc=1
end if
next%><html>
<head>
<title>改经验值</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type='text/css'>
<!--
.p9 {line-height: 150%; font-size: 9pt;}
.p12 {line-height: 150%; font-size: 12pt;}
body {line-height: 150%;font-size : 12pt;}
A {text-decoration: none;}
A:Hover {text-decoration : none;}
a:visited { color: #0000FF}
-->
</style>
</head>
<body bgcolor="FFFFFF">
<h1 align="center"><font color="0099FF">【改经验值】</font></h1>
<hr noshade size="1" color=009900>
<blockquote>
<%if yzc=0 then%>
<p>对不起,用户名 <font color="FF0000"><b><%=upusername%></b></font> 不存在,不能更改经验值操作!<a href=adjustex.asp>【返回】</a></p>
<%end if%> <%if yzc=1 and int(show(3))>0 and int(show(3))<int(Session("a_c_user_level")) or (Session("a_c_user_level"))>=10 and yzc=1 then%>
<p><b>第二步</b> 请输入用户的新经验值</p>
<p></p>
<p>以下是该用户名的注册资料:</p>
<blockquote>
<blockquote>
<p>用户名:<font color="FF0000"><%=show(1)%></font><br>
<%if Session("a_c_user_level")>=10 then%>密 码:<font color="FF0000"><%=show(2)%></font><br>
<%end if%>等 级:<font color="FF0000"><%=show(3)%></font><br>
次 数:<font color="FF0000"><%=show(4)%></font><br>
经验值:<font color="FF0000"><%=show(5)%></font><br>
首 次:<font color="FF0000"><%=show(6)%></font><br>
末 次:<font color="FF0000"><%=show(7)%></font><br>
IP地址:<font color="FF0000"><%=show(8)%></font></p>
</blockquote>
</blockquote>
<form method="post" action="adjustex3.asp" name="">
将 <font color="FF0000"><%=show(1)%></font> 的经验值改为:
<input type="text" name="level" size="10" value="<%=show(5)%>" style="font-size:12pt">
<input type="submit" name="Submit" value="提交" style="font-size:12pt">
<a href="adjustex.asp">【放弃修改】</a>
<input type="hidden" name="upusername" value="<%=upusername%>">
</form>
<%end if%>
</blockquote>
<hr noshade size="1" color=009900>
<div align="center" class="p9"><script src="use.asp"></script> <script src="sn.asp"></script><br><script src="copyright.asp"></script></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -