📄 admin_addadmin.asp
字号:
<!--#include file="conn.asp"-->
<!-- #include file="inc/const.asp" -->
<!--#include file=inc/char.asp-->
<!--#include file=chkuser.asp-->
<!-- #include file="admin_config.asp" -->
<title><%=ForumName%>--管理页面</title>
<link rel="stylesheet" type="text/css" href="forum.css">
<BODY <%=ForumBody%>>
<%
if instr(session("flag"),"41")=0 then
Errmsg=Errmsg+"<br>"+"<li>本页面为管理员专用,请<a href=admin_index.asp target=_top>登陆</a>后进入。<br><li>您没有管理本页面的权限。"
call Error()
else
dim rs,sql
dim body
call main()
conn.close
set conn=nothing
end if
sub main()
%>
<table cellpadding=0 cellspacing=0 border=0 width=<%=tablewidth%> bgcolor=<%=tablebackcolor%> align=center>
<tr>
<td>
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<tr bgcolor='<%=Tabletitlecolor%>'>
<td><font color=<%=tablefontcolor%>>欢迎<b><%=membername%></b>进入管理中心</font>
</td>
</tr>
<tr bgcolor=<%=tablebodycolor%>>
<td width="100%" valign=top><p><font color=<%=tablecontentcolor%>>
<%
if request("action")="update" then
call update()
response.write body
else
%>
<table width="95%" border="0" cellspacing="3" cellpadding="0" align=center>
<tr>
<td bgcolor="<%=aTableTitleColor%>"> <font color=<%=tablecontentcolor%>>
<p><b>添加管理员</b>:<br>
注意:添加管理员后请到管理员权限设置页面对其管理权限进行设置。</p></font>
</td>
</tr>
<tr>
<td bgcolor="<%=TableTitleColor%>" height=22><font color=<%=tablefontcolor%>><b>>>添加管理员</b>(请完整填写以下信息)</font>
</td>
</tr>
<form action="admin_addadmin.asp?action=update" method=post>
<tr><td height=25><font color=<%=tablecontentcolor%>>
请确保该用户名属于论坛注册用户<br>
用户名:<input name=username type=text size=30>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -