📄 system1.asp
字号:
<!--#include file=conn.asp --><!--#include file="char.inc"--><!--#include file=../include/config.asp --><!--#include file="chkuser.asp" -->
<%
IF request.cookies("KEY")<>"super" THEN
response.redirect "index_face.asp"
response.end
else
usernamecookie=CheckStr(request.cookies("UserName"))
passwdcookie=replace(trim(Request.cookies("passwd")),"'","''")
KEYcookie=replace(trim(request.cookies("KEY")),"'","''")
if usernamecookie="" or passwdcookie="" then
response.redirect "login.asp"
response.end
else
'判断用户的合法性
set rs=server.createobject("adodb.recordset")
sql="select * from admin where username='"&usernamecookie&"'"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.redirect "login.asp"
response.end
end if
IF passwdcookie<>rs("passwd") THEN
response.redirect "login.asp"
response.end
END IF
'下面判断用户级别实际在有用户级别是都应该判断
if KEYcookie<>rs("OSKEY") then
response.redirect "index_face.asp"
response.end
end if
rs.close
set rs=nothing
END IF
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("powermana")="1" or request.cookies("purview")="99999" then
%>
<html>
<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>
<body topmargin="0"><!--#include file=top.asp-->
<form method="post" action="systemsave1.asp" name="system">
<div align="center">
<center>
<table width="750" border="1" cellspacing="0" cellpadding="0" bgcolor="#000000" style="border-collapse: collapse" bordercolor="<%=rs9("border")%>" align=center>
<tr>
<td colspan="3" height="24" width="100%" bgcolor=<%=rs9("m_top")%>>
<div align="center">网站属性设置</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="right" height="24">启用页面信息版权保护:</td>
<td height="24" colspan="2" align="left"><select name="topbg" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("topbg")<>"0" then%>selected<%end if%> value="1">启用</option>
<option <%if rs9("topbg")="0" then%>selected<%end if%> value="0">禁用</option>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">启用栏目导航:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="t_bg" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("t_bg")<>"0" then%>selected<%end if%> value="1">启用</option>
<option <%if rs9("t_bg")="0" then%>selected<%end if%> value="0">禁用</option>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">使用分级浏览机制:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="uselevel" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("uselevel")="1" then%>selected<%end if%> value="1">启用</option>
<option <%if rs9("uselevel")="0" then%>selected<%end if%> value="0">禁用</option>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">文章默认状态:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="usecheck" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("usecheck")="1" then%>selected<%end if%> value="1">已审核</option>
<option <%if rs9("usecheck")="0" then%>selected<%end if%> value="0">未审核</option>
</select>
点击“<a title=文章默认状态详细说明 onMouseOver="window.status='文章默认状态详细说明';return true;" onMouseOut="window.status='';return true;" href=javascript:alert("已审核指小类管理员添加文章后,文章不\n必经过系统管理员或文章审核员的审核就\n可显示出来。而未审核指小类管理员添加\n文章后,文章不直接显示出来,必须经过\n系统管理员和文章审核员的审核后才会显\n示。系统管理员和文章审核员不受此限。")>这里</a>”查看详细说明。
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">录入员可修改已审核文章:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="modnewsable" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("modnewsable")="1" then%>selected<%end if%> value="1">开启</option>
<option <%if rs9("modnewsable")="0" then%>selected<%end if%> value="0">关闭</option>
</select>
点击“<a title=录入员可修改已审核文章详细说明 onMouseOver="window.status='录入员可修改已审核文章详细说明';return true;" onMouseOut="window.status='';return true;" href=javascript:alert("当文章默认状态为未审核时,该选项开启\n表示可以修改,但修改的文章将改为未审\n核状态(出于安全的考虑);关闭表示不\n可修改;当文章默认状态为已审核时,此\n选项无效。")>这里</a>”查看详细说明。</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">大类注释状态:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="zs" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("zs")="1" then%>selected<%end if%> value="1">启用</option>
<option <%if rs9("zs")="0" then%>selected<%end if%> value="0">未用</option>
</select>
点击“<a title=大类注释状态详细说明 onMouseOver="window.status='大类注释状态详细说明';return true;" onMouseOut="window.status='';return true;" href=javascript:alert("大类注释启用后,将会在查看大类文章时\n出现大类的提示信息,未启用则不出现。\n当然,前提是该大类要有提示信息。")>这里</a>”查看详细说明。
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">小类注释状态:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="zs1" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("zs1")="1" then%>selected<%end if%> value="1">启用</option>
<option <%if rs9("zs1")="0" then%>selected<%end if%> value="0">未用</option>
</select>
点击“<a title=小类注释状态详细说明 onMouseOver="window.status='小类注释状态详细说明';return true;" onMouseOut="window.status='';return true;" href=javascript:alert("小类注释启用后,将会在查看小类文章时\n出现小类的提示信息,未启用则不出现。\n当然,前提是该小类要有提示信息。")>这里</a>”查看详细说明。
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">专题注释状态:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="zs2" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("zs2")="1" then%>selected<%end if%> value="1">启用</option>
<option <%if rs9("zs2")="0" then%>selected<%end if%> value="0">未用</option>
</select>
点击“<a title=专题注释状态详细说明 onMouseOver="window.status='专题注释状态详细说明';return true;" onMouseOut="window.status='';return true;" href=javascript:alert("专题注释启用后,将会在查看专题文章时\n出现专题的提示信息,未启用则不出现。\n当然,前提是该专题要有提示信息。")>这里</a>”查看详细说明。
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">是否开启评论功能:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="reviewable" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("reviewable")="1" then%>selected<%end if%> value="1">开启</option>
<option <%if rs9("reviewable")="0" then%>selected<%end if%> value="0">关闭</option>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">是否显示评论者IP地址:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="showip" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("showip")="1" then%>selected<%end if%> value="1">开启</option>
<option <%if rs9("showip")="0" then%>selected<%end if%> value="0">关闭</option>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">评论默认状态:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="reviewcheck" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("reviewcheck")="1" then%>selected<%end if%> value="1">已审核</option>
<option <%if rs9("reviewcheck")="0" then%>selected<%end if%> value="0">未审核</option>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">审核评论菜单中:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="reviewcheckshow" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("reviewcheckshow")="1" then%>selected<%end if%> value="1">显示</option>
<option <%if rs9("reviewcheckshow")="0" then%>selected<%end if%> value="0">不显示</option>
</select>
已审核评论</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="219" align="right" height="24">是否开启友情链接申请功能:</td>
<td height="24" colspan="2" align="left" width="520"> <select name="linkreg" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs9("linkreg")="1" then%>selected<%end if%> value="1">开启</option>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -