📄 setup.asp
字号:
<%
if session("admin")<>"on" then
Response.Redirect"login.asp"
end if
%>
<!--#include file="config.asp" -->
<%
SQL="select title,bbs,bottom,logo from admin"
Set rs=server.CreateObject("ADODB.RecordSet")
rs.open sql,conn,1,1
title=rs("title")
bottom=rs("bottom")
logo=rs("logo")
bbs=rs("bbs")
rs.close
set rs=nothing
%>
<script language="Javascript">
function openScript(url, width, height)
{
var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
function openem()
{
openScript('upload.asp',350,200);
}
</script>
<html>
<head>
<title>管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="INDEX.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.xzy {border: <%=xcolor%> solid; border-width: 0px 1px 1px}
-->
</style>
</head>
<body>
<!--#include file="top.asp" -->
<table width="778" border="0" cellspacing="0" cellpadding="5" align="center" bgcolor="#FFFFFF">
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="50" valign="top"><table width="766" border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td>管理选项:<a href="admin.asp">管理首页</a> | <a href="addfile.asp">添加文件</a> | <a href="adminfile.asp">管理文件</a> |
<a href="setup.asp">系统设置</a> | <a href="ly.asp">留言管理</a> |
<a href="modifypsw.ASP">修改密码</a> | <a href="loginout.asp">退出管理</a></td>
</tr>
</table></td>
</tr>
<form name="form" method="post" action="save_setup.asp">
<tr>
<td height="50"> 网站名称:<input type="text" name="classname" class="cp" size="113" maxlength="50" value=<%=title%>>
</td>
</tr>
<tr>
<td height="50"> 滚动公告:<input type="text" name="bbs" class="cp" size="113" maxlength="50" value=<%=bbs%>>
</td>
</tr>
<tr>
<td height="50"> 网站Logo:<input type="text" name="logo" class="cp" size="50" maxlength="50" value=<%=logo%>>
[<a href="JavaScript:openem()">上传图片</a>] </td>
</tr>
<tr>
<td height="50" class="table-xia"> 底部信息:<textarea rows="8" name="S1" cols="95"><%=bottom%></textarea> </td>
</tr>
</table>
<table width="778" border="0" cellspacing="0" cellpadding="5" align="center" height="100">
<tr>
<td height="50" bgcolor="#FFFFFF">
<input type="submit" value="提交" name="B1"> <input type="reset" value="重置" name="B2"></p>
<p>
</td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="41" valign="top"><table width="766" height="29" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td width="766" height="35" align="center" bgcolor=""><%=cy%> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -