<%@ codepage ="936" %>
<%if session("adminname")="" then
response.Redirect "../login.asp"
end if%>
<%
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 Session("hxf_u_inthechat")<>"1" and nickname<>"聊天室管理员" then Response.Redirect "manerr.asp?id=221"
If grade <> 12 or Int(Session("ipbt"))<>1 Then Response.Redirect "manerr.asp?id=250"
%><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 qx(){
 jbid = document.send.jb.options[document.send.jb.selectedIndex].value;
 url = "manquanxian1.asp?grade=" + jbid;
 window.open(url, "", "width=426, height=380");
}
</script>
</head>
<body bgcolor="#FFFFFF" class=p150>
<div align="center">
<h1><font color="0099FF">【权限定义】</font></h1>
<a href="javascript:history.go(0)">刷新</a></div>
<hr noshade size="1" color=009900>
<b>［注意事项］</b> <br>
　　每个级别拥有的权限均由管理员自由定义。<br>
<hr noshade size="1" color=009900>
<div align="center">
<table border="0" align="center" cellpadding="5">
<tr>
<form name="send" method="post" action="javascript:qx()">
<td align="center">
<input type="button" name="see" value=" 查看当前定义值(V) " onClick="javascript:window.open('manquanxianview.asp')" accesskey="v">
<br>选择要定义的级别： 
<select name="jb">
<option value="1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
</select>
<br>
<input type="submit" name="Submit" value=" 重新定义权限值(R) " accesskey="r">
</td>
</form>
</tr>
</table>
</div>
<hr noshade size="1" color=009900>
<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>
