📄 admin_system.asp
字号:
<td width="142" bgcolor="#99CCFF">
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<TR><TD>
· <a href="admin_user.asp?action=view">成员查看</a><br>
· <a href="admin_user.asp?action=add">成员添加</a><br>
· <a href="admin_user.asp?action=modify">成员修改</a><br>
· <a href="admin_user.asp?action=del">删除成员</a><br>
· <a href="admin_admin.asp?action=view">管理员管理</a><br>
</TD></TR></TABLE></td>
<td align="left" width="4" background="images/sidebox-content-right.gif"><img src="images/sidebox-content-right.gif" width="4" height="1" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td align="left" width="150" height="9"><img src="images/sidebox-bottom.gif" width="150" height="9" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td align="left" width="150" height="10"><img src="images/sidebox-title-top.gif" width="150" height="10" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td align="left" width="5" background="images/sidebox-title-left.gif"><img src="images/sidebox-title-left.gif" width="5" height="16" alt=""></td>
<td align="center" background="images/title-bg.gif" bgcolor="#99CCFF" width="140"><font color="#363636"><b>※班级其他管理※</b></font></td>
<td align="left" width="5" background="images/sidebox-title-right.gif"><img src="images/sidebox-title-right.gif" width="5" height="16" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td align="left" width="150" height="7"><img src="images/sidebox-title-bottom.gif" width="150" height="7" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr valign="top">
<td align="left" width="4" background="images/sidebox-content-left.gif"><img src="images/sidebox-content-left.gif" width="4" height="1" alt=""></td>
<td width="142" bgcolor="#99CCFF">
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<TR><TD>
· <a href="gbook.asp">留言管理</a><br>
· <a href="admin_message.asp?action=view">消息管理</a><br>
· <a href="admin_site.asp?action=view">友情连接</a><br>
</TD></TR></TABLE></td>
<td align="left" width="4" background="images/sidebox-content-right.gif"><img src="images/sidebox-content-right.gif" width="4" height="1" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td align="left" width="150" height="9"><img src="images/sidebox-bottom.gif" width="150" height="9" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td align="left" width="150" height="10"><img src="images/sidebox-title-top.gif" width="150" height="10" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td align="left" width="5" background="images/sidebox-title-left.gif"><img src="images/sidebox-title-left.gif" width="5" height="16" alt=""></td>
<td align="center" background="images/title-bg.gif" bgcolor="#99CCFF" width="140"><font color="#363636"><b>※班级系统管理※</b></font></td>
<td align="left" width="5" background="images/sidebox-title-right.gif"><img src="images/sidebox-title-right.gif" width="5" height="16" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td align="left" width="150" height="7"><img src="images/sidebox-title-bottom.gif" width="150" height="7" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr valign="top">
<td align="left" width="4" background="images/sidebox-content-left.gif"><img src="images/sidebox-content-left.gif" width="4" height="1" alt=""></td>
<td width="142" bgcolor="#99CCFF">
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<TR><TD>
· <a href="admin_system.asp?action=set">系统配置</a><br>
· <a href="admin_login.asp?action=out">退出管理</a><br>
</TD></TR></TABLE></td>
<td align="left" width="4" background="images/sidebox-content-right.gif"><img src="images/sidebox-content-right.gif" width="4" height="1" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td align="left" width="150" height="9"><img src="images/sidebox-bottom.gif" width="150" height="9" alt=""></td>
</tr>
</table>
</td>
<td width="100%"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" width="4" height="10"><img src="images/a1.gif" width="4" height="10" alt=""></td>
<td height="10" background="images/a2.gif"><img height="10"></td>
<td align="right" width="4" height="10"><img src="images/a3.gif" width="4" height="10" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#99CCFF" width="100%">
<tr>
<td align="left" width="5" background="images/sidebox-title-left.gif"><img src="images/sidebox-title-left.gif" width="5" height="16" alt=""></td>
<td width="100%" background="images/title-bg.gif" align="center"><font color="#363636"><a href="admin_index.asp"><b>※ 系 统 管 理 ※</b></a></font></td>
<td align="left" width="5" background="images/sidebox-title-right.gif"><img src="images/sidebox-title-right.gif" width="5" height="16" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" width="4" height="7"><img src="images/b1.gif" width="4" height="7" alt=""></td>
<td height="7" background="images/b2.gif"><img height="7"></td>
<td align="right" width="4" height="7"><img src="images/b3.gif" width="4" height="7" alt=""></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#99CCFF" width="100%" height="590">
<tr>
<td align="left" width="4" background="images/sidebox-content-left.gif"><img src="images/sidebox-content-left.gif" width="4" height="1" alt=""></td>
<td bgcolor="#99CCFF" valign='top'>
<br>
<%
if session("admin")="" then
response.write "<br><br><br><br><center><font color=red>你还没有登录本站呢。不能进入管理后台!!</font><br><br>请先登录再进入管理后台!!谢谢合作!!</center>"
end if
%>
<%if session("admin")<>"" then%>
<br><br>
<%if request("action")="" then%>
<center><br><br><br><Font color=red size=+2>请选择右边的菜单进行管理。谢谢合作。</font></center>
<%end if%>
<%if request("action")="set" then%>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from system order by id desc"
rs.open sql,db,1,1
%>
<table width='90%'>
<form action="admin_system.asp?action=ok" method=post>
<tr>
<td width='30%' align='center' valign='top'><font size=2 color=red>联<br>系<br>信<br>息</td>
<td align='left'><textarea rows=10 name=contact cols=60 maxlength=1000><%=rs("contact")%></textarea>
</td>
</tr>
<tr>
<td width='30%' align='center' valign='top'><font size=2 color=red>版<br>权<br>信<br>息</td>
<td align='left'><textarea rows=10 name=copyright cols=60 maxlength=1000><%=rs("copyright")%></textarea>
</td>
</tr>
<tr><td align='center'>班级名称:</td><td><input type=text name=classname size=50 value=<%=rs("classname")%>></td></tr>
<tr><td align='center'>注册问题:</td><td><input type=text name=question size=50 value=<%=rs("question")%>></td></tr>
<tr><td align='center'>问题提示:</td><td><input type=text name=memo size=50 value=<%=rs("memo")%>></td></tr>
<tr><td align='center'>问题答案:</td><td><input type=text name=answer size=50 value=<%=rs("answer")%>></td></tr>
<tr><td height=20></td><td></td></tr>
<tr><td align='center'><input type=submit value=' 修 改 '></td></form><td><input type=button value=' 返 回 ' onClick="document.location='admin_system.asp?action=set'"></td></tr>
</table>
<% rs.close %>
<% end if %>
<%if request("action")="ok" then%>
<%
contact=request("contact")
copyright=request("copyright")
classname=trim(request("classname"))
question=request("question")
memo=request("memo")
answer=request("answer")
sql="update system set contact='"&contact&"',question='"&question&"',memo='"&memo&"',answer='"&answer&"',copyright='"©right&"',classname='"&classname&"'"
db.execute(sql)
if db.errors.count>0 then
response.write "<br><br><br><center><font color=red>保存过程中发生错误,必须重新填写!<br><br><a href='admin_system.asp?action=set'>返回重新修改</a>"
else
response.write "<br><br><br><center><font color=red>恭喜你!你已经成功修改系统配置!<br><br><a href='admin_system.asp?action=set'>返回继续修改</a>"
end if
%>
<% end if %>
<% end if %>
</td>
<td align="left" width="4" background="images/sidebox-content-right.gif"><img src="images/sidebox-content-right.gif" width="4" height="1" alt=""></td>
</tr>
</table>
</td>
<table width="780" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td><img src="images/column-footer.gif" width="780" height="16" border="0" alt=""></td>
</tr>
</table>
<table width="780" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td><img src="images/footer.gif" width="780" height="20" border="0" alt=""></td>
</tr>
</table>
<!-- footer -->
<table width="780" cellpadding="0" cellspacing="0" border="0" align="center">
<tr align="center">
<td width="100%" colspan="3"><%
set rs=server.createobject("adodb.recordset")
sql="select top 1 copyright from system order by id desc"
rs.open sql,db,1,1
%>
<%=rs("copyright")%>
<% rs.close %>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -