?? 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 + -