📄 yhxg.asp
字号:
<!--#include file="ADMINLib.asp"-->
<%
if (UCase(Request.Cookies("NC")) <> UCase(Application("NC"))) or (Request.Cookies("NC")="" or Request.Cookies("NC")="访客") then
Response.Write("对不起,您不是管理员!")
Response.End
end if
ret = ""
if Request.ServerVariables("Request_Method") = "POST" then
if Request.Form("bXG") = "修改" then
ret = Command("136|"&Request.Form("tJY")&"|"&Request.Form("tTL")&"|"&Request.Form("tML")&"|"&Request.Form("tJQ")&"|"&Request.Form("tNC"))
if GetPart(ret,1) <> "0" then
ShowError 5,GetPart(ret,2)
else
ShowMessage 5,"会员信息已修改!"
end if
end if
ret = Command("104|"&Request.Form("tNC"))
if GetPart(ret,1) <> "0" then
Response.Write("<SCRIPT>window.alert('"&GetPart(ret,2)&"')</SCRIPT>")
ret = ""
end if
end if
%>
<html>
<head>
<title>用户资料修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.p9 { font-family: "宋体"; font-size: 9pt}
.TButton { font-family: "宋体"; font-size: 9pt;cursor:hand;width:66px;height:22px}
INPUT{BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #cccccc; PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc; PADDING-TOP: 1px; HEIGHT: 18px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc}
-->
</style>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function bGRZL_onclick() {
if (fYHXG.tNC.value == '') {
window.alert('请输入会员昵称!')
return;
}
l = screen.width/2-450/2;
t = screen.height/2-310/2;
window.open('../yhzlxg.asp?NC='+fYHXG.tNC.value,'fYHZLXG','scrollbar=no,toolbar=no,menubar=no,location=no,status=no,resizable=no,width=450,height=310,left='+l+',top='+t);
}
function keypress() {
if (event.keyCode<45 || event.keyCode>57) {
event.returnValue = false;
}
}
//-->
</SCRIPT>
</head>
<body background=../images/bjxt.gif>
<Form name=fYHXG method="POST" action="yhxg.asp">
<p><span class="p9"> 请输入需要修改的用户昵称:
<input type="text" name="tNC" class="p9" value="<%=GetPart(ret,2)%>" >
<input type="submit" name="bQD" value="确定" class="TButton">
<input type="button" name="bGRZL" value="个人资料" class="TButton" LANGUAGE=javascript onclick="return bGRZL_onclick()">
</span></p>
<p> </p>
<p><span class="p9"> 经验:
<input type="text" class="p9" name="tJY" value="<%=GetPart(ret,23)%>" LANGUAGE=javascript onkeypress="return keypress()">
</span></p>
<p><span class="p9"> 体力:
<input type="text" class="p9" name="tTL" value="<%=GetPart(ret,25)%>" LANGUAGE=javascript onkeypress="return keypress()">
</span></p>
<p><span class="p9"> 魅力:
<input type="text" class="p9" name="tML" value="<%=GetPart(ret,24)%>" LANGUAGE=javascript onkeypress="return keypress()">
</span></p>
<p><span class="p9"> 金钱:
<input type="text" class="p9" name="tJQ" value="<%=GetPart(ret,26)%>" LANGUAGE=javascript onkeypress="return keypress()">
</span></p>
<p>
<input type="submit" name="bXG" value="修改" class="TButton">
</p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -