?? admin.asp
字號(hào):
<!-- #include file="setup.asp" -->
<%
if Request.Cookies("username")="" then
error("<li>您還還未<a href=login.asp>登陸</a>社區(qū)")
end if
if Request("menu")="out" then
session("pass")=""
response.redirect "index.asp"
end if
%><head>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<link href=images/bbs.css rel=stylesheet>
<%
select case Request("menu")
case ""
index
case "left"
left
case "top"
top2
case "login"
login
case "pass"
pass
end select
sub top2
%></head><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
<tr>
<td width="100%" background="images/title_sub.gif" height="20">
<center>
<B><FONT face=幼圓 color=ffffff>第四代 BBS 系統(tǒng) -- linknetbbs</FONT> <FONT color=#ffff66>安全</FONT> <FONT
color=#ff0033>快速</FONT> <FONT color=#33ff33>方便 </FONT><FONT color=#0000ff>可靠
</FONT><FONT color=#000000>可升級(jí)</FONT></B>
</td>
</tr>
</table>
<%
end sub
sub pass
if instr(administrators,"|"&Request.Cookies("username")&"|")=0 then
error2("你不是社區(qū)區(qū)長,無法登陸后臺(tái)管理!")
end if
session("pass")=""&Request("pass")&""
if adminpassword<>session("pass") then
error2("社區(qū)管理密碼錯(cuò)誤")
end if
rs.Open "log",Conn,1,3
rs.addnew
rs("username")=""&Request.Cookies("username")&""
rs("ip")=""&remoteaddr&":"&Request.ServerVariables("REMOTE_PORT")&""
rs("windows")=Request.Servervariables("HTTP_USER_AGENT")
rs("remark")="登陸社區(qū)管理"
rs.update
rs.close
conn.execute("delete from [log] where DateDiff('d',logtime,now)>1 ")
%>
<link href=images/bbs.css rel=stylesheet>
<br><center>
<p></p>
<body background=images/bei.gif>
登陸成功<br><br>
<%
htmlend
end sub
sub login
%>
<body background=images/bei.gif>
<br><br><br>
<form action="admin.asp" method="post">
<input type="hidden" value="pass" name="menu">
<table width="333" border="1" cellspacing="0" cellpadding="2" align="center" bordercolor=ACABC4 style="border-left:0px none; border-top:0px none; border-bottom:1px none; border-collapse: collapse">
<tr bgcolor=ACABC4>
<td width="328" style="border-right: 0px none; border-top: 0px none" background=images/title_sub.gif height="25"><div align="center">
<font color="#000000">登陸社區(qū)管理</font></div>
</td></tr><tr>
<td height="19" width="328" valign="top" bgcolor="#F2F8FF" style="border-right: 0px none; border-top: 0px none">
<div align="center">請輸入管理密碼:
<input size="15" name="pass" type="password"><br>
<input type="submit" value=" 登陸 " name="Submit1"> <input type="reset" value=" 取消 " name="Submit">
</div></td></tr> </table>
</form>
<%
htmlend
end sub
sub left
%> <TABLE borderColor=#a4b6d7 height=19 cellSpacing=0 cellPadding=6 width="100%"
collapse>
<TBODY>
<TR>
<TD borderColor=#a4b6d7 align=middle bgColor=#a4b6d7 height=25><FONT
color=#ffffff><font color="#FF6600"><font color="#FF0000"><b>LINKNETBBS 管理菜單</b></font></font></FONT></TD>
</TR></TBODY></TABLE>
<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollAmount="3">歡迎您,<%=Request.Cookies("username")%></marquee>
<table border="0" cellpadding="7" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber1">
<tr>
<td width="100%" height="25" background="images/title_sub.gif">
<b>用戶管理</b></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_user.asp?menu=user"><font color="#000000">注冊用戶管理</font></a></td>
</tr>
<tr>
<td width="100%" height="25" background="images/title_sub.gif">
<b>論壇管理</b></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_bbs.asp?menu=classs"><font color="#000000">建立論壇類別</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_bbs.asp?menu=bbsadd"><font color="#000000">建立論壇資料</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_bbs.asp?menu=bbslist"><font color="#000000">全部論壇列表</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_bbs.asp?menu=bbsmanage"><font color="#000000">管理論壇資料</font></a></td>
</tr>
<tr>
<td width="100%" height="25" background="images/title_sub.gif">
<b>設(shè)置管理</b></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_setup.asp?menu=link"><font color="#000000">友情鏈接管理</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_setup.asp?menu=upclubconfig"><font color="#000000">更新社區(qū)資料</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_setup.asp?menu=variable"><font color="#000000">社區(qū)變量設(shè)置</font></a></td>
</tr>
<tr>
<td width="100%" height="25" background="images/title_sub.gif">
<b>社區(qū)管理</b></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_club.asp?menu=message"><font color="#000000">短訊息管理</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_club.asp?menu=affiche"><font color="#000000">發(fā)布社區(qū)公告</font></a></td>
</tr>
<tr>
<td width="100%" height="25" background="images/title_sub.gif">
<b>數(shù)據(jù)管理</b></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_fso.asp?menu=bak"><font color="#000000">備份數(shù)據(jù)庫</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_fso.asp?menu=compress"><font color="#000000">壓縮數(shù)據(jù)庫</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_fso.asp?menu=css"><font color="#000000">編輯CSS模板</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_fso.asp?menu=statroom"><font color="#000000">統(tǒng)計(jì)占用空間</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_fso.asp?menu=files"><font color="#000000">上傳附件管理</font></a></td>
</tr>
<tr>
<td width="100%" height="25" background="images/title_sub.gif">
<b>其他功能</b></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_other.asp?menu=circumstance"><font color="#000000">主機(jī)環(huán)境變量</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_other.asp?menu=discreteness"><font color="#000000">組件支持情況</font></a></td>
</tr>
<tr>
<td width="100%" height="25"> <a target="main" href="admin_other.asp?menu=log"><font color="#000000">登陸操作記錄</font></a></td>
</tr>
<tr>
<td width="100%" height="25" background="images/title_sub.gif">
<b><a target="_top" href="?menu=out"><font color="#000000">退出管理</font></a></b></td>
</tr>
<tr>
<td width="100%" height="25" align="center"><b>163163<font color="#FF0000">.Cn.St</font></b></td>
</tr>
</table>
<html></body></html><%
end sub
sub index
%>
<html><head><title>互聯(lián)時(shí)代網(wǎng)絡(luò)高速論壇--后臺(tái)管理</title></head>
<frameset frameborder="NO" border="0" framespacing="0" rows="*">
<frameset cols="150,*" frameborder="NO" border="0" framespacing="0">
<frame scrolling="AUTO" noresize src="?menu=left" marginwidth="0" marginheight="0">
<frameset rows="20,*" framespacing="0" border="0" frameborder="0" frameborder="no" border="0">
<frame src="?menu=top" name="head" scrolling="NO" NORESIZE frameborder="0" marginwidth="10" marginheight="0" border="no">
<frame name="main" src="?menu=login" scrolling="AUTO" NORESIZE frameborder="0" marginwidth="10" marginheight="10" border="no">
</frameset></frameset></frameset><noframes></BODY></noframes></HTML><%
end sub
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -