📄 system.asp
字号:
<!--#include file=conn.asp --><!--#include file=../include/config.asp --><!--#include file="../inc/config.asp"--><!--#include file="chkuser.asp" -->
<%
IF request.cookies("KEY")<>"super" THEN
response.redirect "index_face.asp"
response.end
END IF
response.buffer=true
Response.Expires=0
Set rs9 = Server.CreateObject("ADODB.Recordset")
sql9 ="SELECT * From system Order By id DESC"
RS9.open sql9,Conn,1,1
%>
<%if rs9("system")="1" or request.cookies("purview")="99999" then
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyright%><%=version%> <%=ver%> - 系统设置</title>
</head>
<SCRIPT language="JavaScript" type="text/javascript">
// Begin color
function color(color)
{
url = 'color.htm';
window.open(url,color,"width=430,height=440,status=no,toolbar=no,menubar=no,resizable=no");
}
// End color-->
</script>
<body topmargin="0"><!--#include file=top.asp-->
<form method="post" action="systemsave.asp" name="system">
<div align="center">
<center>
<table width="750" border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="<%=rs9("border")%>">
<tr>
<td colspan="3" height="24" width="100%" bgcolor=<%=rs9("m_top")%>>
<div align="center">网站属性设置</div>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24"><font color=red>*</font>网站名称:</td>
<td height="24" colspan="2" align="left" width="453">
<input type="text" name="name" size="50" value="<%=rs9("name")%>" style="font-family: 宋体; font-size: 9pt">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24"><font color=red>*</font>网站地址:</td>
<td height="24" colspan="2" align="left" width="593"> http://
<input type="text" name="xpurl" size="40" value="<%=rs9("xpurl")%>" style="font-family: 宋体; font-size: 9pt">
/ (指系统所在地址,如http://你的域名/news)</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24"><font color=red>*</font>网管信箱:</td>
<td height="24" colspan="2" align="left" width="453">
<input type="text" name="email" size="50" value="<%=rs9("email")%>" style="font-family: 宋体; font-size: 9pt">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">版权说明:</td>
<td height="24" colspan="2" align="left" width="453"> <font color="#000000"><b>[<%=rs9("Copyright")%>]</b></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">版本信息:</td>
<td height="24" colspan="2" align="left" width="453"> <font color="#000000"><b>
[<%=rs9("version")%> <%=rs9("ver")%>]
</b></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">上传文件类型:</td>
<td height="24" colspan="2" align="left" width="453">
<input type="text" name="UpFileType" size="50" value="<%=UpFileType%>" style="font-family: 宋体; font-size: 9pt"><font color="#FF0000">用小写“|”分开</font></td>
</tr><tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">上传文件大小:</td>
<td height="24" colspan="2" align="left" width="453">
<input type="text" name="MaxFileSize" size="50" value="<%=MaxFileSize%>" style="font-family: 宋体; font-size: 9pt"><font color="#FF0000">K</font></td>
</tr><tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">留言本屏蔽词语:</td>
<td height="24" colspan="2" align="left" width="453">
<input type="text" name="byteType" size="50" value="<%=byteType%>" style="font-family: 宋体; font-size: 9pt"><font color="#FF0000">用小写“|”分开</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="center" bgcolor="#FFFFFF">
<p align="right">跑马灯公告:</p>
</td>
<td colspan="2" align="left" width="453">
<textarea name="gg1" cols="67" rows="4" style="font-family: 宋体; font-size: 9pt" title=在这里输入本站的公告内容 onMouseOver="window.status='在这里输入本站的公告内容';return true;" onMouseOut="window.status='';return true;" ><%=rs9("gg1")%></textarea>
</td>
</tr>
<tr bgcolor="#abb8d6">
<td colspan="3" height="24" align="center" width="611" bgcolor=<%=rs9("m_top")%>>显示条数设置</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">文章显示条数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="top_news" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("top_news")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">大类页面文章显示条数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="bigclassshownum" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("bigclassshownum")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">专题显示条数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="top_sp" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("top_sp")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">热门文章显示条数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="top_txt" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("top_txt")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">最新图文显示条数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="top_img" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("top_img")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">阅读文章页面评论条数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="reviewnum" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("reviewnum")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">图片JS文章调用数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="picnum" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("picnum")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">一般JS文章调用数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="newsnum" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("newsnum")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">用户排行榜显示数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="topuser" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("topuser")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="157" align="right" height="24">首页LOGO链接显示数:</td>
<td height="24" colspan="2" align="left" width="453">
<select size="1" name="linkshownum" style="font-family: 宋体; font-size: 9pt">
<%for i=1 to 30%><option <%if rs9("linkshownum")=i then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%></select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" height="24" width="611">
<div align="center">
<input type="submit" name="Submit" value="提交" style="font-family: 宋体; font-size: 9pt">
<input type="reset" name="Submit2" value="重设" style="font-family: 宋体; font-size: 9pt">
</div>
</td>
</tr>
</table>
</center>
</div>
</form>
</body>
</html><%rs9.close%>
<%else
response.redirect "index_face.asp"
response.end
end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -