📄 mangrade.asp
字号:
<%@ codepage ="936" %>
<%Response.Expires=0
nickname=Session("hxf_u_nickname")
grade=Int(Session("hxf_u_grade"))
inthechat=Session("hxf_u_inthechat")
if nickname="" then Response.Redirect "manerr.asp?id=100"
If grade <> 12 Then
qx = Split(Application("wsaxhxf_c_grade" & grade), "{]")
If qx(10) = "0" And qx(11) = "0" And qx(12) = "0" And qx(13) = "0" And qx(20) = "0" And qx(21) = "0" then Response.Redirect "manerr.asp?id=240"
end if
if inthechat<>"1" and nickname<>"聊天室管理员" then Response.Redirect "manerr.asp?id=241"%><html>
<head>
<title>级别管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="readonly/style.css">
<script Language=JavaScript>
function q(){
un = document.bd.f1.value;
if(un == ""){
alert("请指定用户名!");
}
else{
window.open("friendqueryview.asp?id=" + un, "", "width=365,height=235");
}
}
function g(v){
un = document.bd.f1.value;
if(un == ""){
alert("请指定用户名!");
}
else{
url = "";
if(v == 1){url = "mangradedown1.asp?id=" + un}
if(v == 2){url = "mangradeup1.asp?id=" + un}
if(v == 3){url = "mangradedown0.asp?id=" + un}
if(v == 4){url = "mangradeup0.asp?id=" + un}
if(v == 5){url = "mangradedown2.asp?id=" + un}
if(v == 6){url = "mangradeup2.asp?id=" + un}
if(url != ""){window.open(url, "", "width=380,height=120")}
}
}
</script>
</head>
<body oncontextmenu=self.event.returnValue=false bgcolAnd="#FFFFFF" class=p150>
<div align="center">
<h1><font color="0099FF">【级别管理】</font></h1>
</div>
<hr noshade size="1" color=009900>
<b>[注意事项]</b> <br>
<b>“升一级”</b>只能给级别小于 5 级的用户升级,最高升至 5 级。<b>“降一级”</b>只能给级别小于 5 级的用户降级,最低降至 1 级。如果系统启用了自动升级功能,即使用户被降级,只要用户一登录,又会自动恢复到其分数所对应的级别。<b>“禁用帐号”</b>指将用户降为
0 级。<b>“解禁帐号”</b>指将用户由 0 级恢复为 1 级。<b>“无限制升级”</b>可以最高升至 11 级,但 11 级只能给别人升到 10 级,依此类推,此操作不会影响自动升级的设置。<b>“无限制降级”</b>最低降至
1 级,但只能对级别比自己低的用户名进行降级。
<hr noshade size="1" color=009900>
<div align="center">
<form name="bd" method="post" action="javascript:q()">
<table border="0" align="center" cellpadding="4">
<tr>
<td rowspan="2">用户名:
<input type="text" name="f1" maxlength="10" size="10" onMouseover="this.select()">
<input type="submit" name="Submit" value="查询用户信息">
</td>
<td>
<input type="button" name="f3" value="禁用帐号" onClick="javascript:g(3)">
<input type="button" name="f4" value="无限制降级" onClick="javascript:g(5)">
<input type="button" name="f2" value="禁止自动升级" onClick="javascript:g(1)">
</td>
</tr>
<tr>
<td>
<input type="button" name="f6" value="解禁帐号" onClick="javascript:g(4)">
<input type="button" name="f7" value="无限制升级" onClick="javascript:g(6)">
<input type="button" name="f5" value="解禁自动升级" onClick="javascript:g(2)">
</td>
</tr>
</table>
</form>
</div>
<hr noshade size="1" color=009900>
<div align=center class=cp><%Response.Write "序列号:<font color=blue>" & Application("wsaxhxf_c_sn") & "</font>,授权给:<font color=blue>" & Application("wsaxhxf_c_user") & "</font><br><font color=999999>" & Application("wsaxhxf_c_copyright") & "</font>"%></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -