📄 admin_config.asp
字号:
<%Admin="System"%>
<!--#include file="check.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="admin_config1.asp"-->
<%
'****************************************************
if session("adminlogin")<>sessionvar then
Response.Write("<script language=javascript>alert('您尚未登陆或登陆超时,请重新登陆!!');this.top.location.href='admin.asp';</script>")
response.end
else%>
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="inc/admin.css" type=text/css rel=StyleSheet>
<META content="MSHTML 6.00.2800.1126" name=GENERATOR>
<TITLE>管理中心</TITLE>
</HEAD>
<body onkeydown=return(!(event.keyCode==78&&event.ctrlKey)) >
<%
select case Request("menu")
case ""
config
case "config"
config
case "configok"
configok
end select
sub config%>
<table width=98% align="center" border="1" cellspacing="0" cellpadding="4" class=Hxcmsbk style="border-collapse: collapse">
<form method="post" action="?menu=configok">
<tr class=Hxcmsss>
<td colspan="2" height="25">网站基本设置</td>
</tr>
<tr class=Hxcmsqs>
<td colspan="2">用于设置网站的基本信息!需要(ADODB.Stream)支持</td>
</tr>
<tr class=Hxcmsds>
<td height="25" width=160>网站名称:</td>
<td width="*"><input size="40" name="webname" value="<%=webname%>"> <img src="img/help.gif" border="0" alt="如:云南天空"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">网站地址:</td>
<td width="*"><input size="40" value="<%=weburl%>" name="weburl"> <img src="img/help.gif" border="0" alt="如:http://www.ynsky.com.cn/"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">站长邮箱:</td>
<td width="*"><input size="40" value="<%=webmail%>" name="webmail"> <img src="img/help.gif" border="0" alt="如:webmaster@ynsky.com.cn"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">站长名字:</td>
<td width="*"><input size="40" value="<%=webceo%>" name="webceo"> <img src="img/help.gif" border="0" alt="如:游游"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">替换名字:</td>
<td width="*"><input size="40" value="<%=noceo%>" name="noceo"> <img src="img/help.gif" border="0" alt="当有人用你的站长ID留言或评论,将自动转换为的ID"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">站长代码:</td>
<td width="*"><input size="40" value="<%=ceopass%>" name="ceopass"> <img src="img/help.gif" border="0" alt="当你用此ID留言或评论,将自动转换为站长名字,如:123456,建议使用数字"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">系统变量:</td>
<td width="*"><input size="40" value="<%=sessionvar%>" name="sessionvar"> <img src="img/help.gif" border="0" alt="后台的系统变量,不可以设置为NO或为空,否则后台不可登陆。请更改!!!"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">备案信息:</td>
<td width="*"><input size="40" value="<%=webinfo%>" name="webinfo"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">会员币名:</td>
<td width="*"><input size="40" value="<%=moneyname%>" name="moneyname"> <img src="img/help.gif" border="0" alt="如:云圆"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">禁止注册:</td>
<td width="*"><input size="40" value="<%=badReg%>" name="badReg"> <img src="img/help.gif" border="0" alt="用于禁止注册的ID,各ID间用 | 隔开"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">内容屏蔽:</td>
<td width="*"><input size="40" value="<%=hx_In%>" name="hx_In"> <img src="img/help.gif" border="0" alt="用于屏蔽留言和评论的不法内容,用 | 隔开"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">I P 屏蔽:</td>
<td width="*"><input size="40" value="<%=bad_ip%>" name="bad_ip"> <img src="img/help.gif" border="0" alt="支持通配符*,用 | 隔开"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">I D 屏蔽:</td>
<td width="*"><input size="40" value="<%=bad_ID%>" name="bad_ID"> <img src="img/help.gif" border="0" alt="用 | 隔开"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">网站维护开关:</td>
<td width="*"><select name="webopen" id="webopen">
<option value="NO" <%if webopen="NO" then response.write "selected" end if%>>= 正常开放 =</option>
<option value="yes" <%if webopen="yes" then response.write "selected" end if%>>= 关闭维护 =</option>
</select></td>
</tr>
<tr class=Hxcmsds>
<td height="25">网站维护说明:</td>
<td width="*"><input size="40" value="<%=offweb%>" name="offweb"> <img src="img/help.gif" border="0" alt="添写维护说明,支持HTML标签。"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">开启进后台先登陆前台功能:</td>
<td width="*"><select name="former_yes" id="former_yes">
<option value="0" <%if former_yes="0" then response.write "selected" end if%>>=== 关闭 ===</option>
<option value="1" <%if former_yes="1" then response.write "selected" end if%>>=== 开启 ===</option>
</select></td>
</tr>
<tr class=Hxcmsds>
<td height="25">后台管理员的前台名称ID:</td>
<td width="*"><input size="40" value="<%=former_name%>" name="former_name"> <img src="img/help.gif" border="0" alt="多管理员用 | 隔开,可以与后台名不相同。"></td>
</tr>
<tr class=Hxcmsds>
<td height="25"><strong>网站皮肤风格设置:</strong></td>
<td><select name="skin" id="skin">
<option value="0" <%if skin="0" then response.write "selected" end if%>> 蓝色理想 </option>
<option value="1" <%if skin="1" then response.write "selected" end if%>> 黄色魅力 </option>
<option value="2" <%if skin="2" then response.write "selected" end if%>> 墨蓝深远 </option>
<option value="3" <%if skin="3" then response.write "selected" end if%>> 粉红诱惑 </option>
<option value="4" <%if skin="4" then response.write "selected" end if%>> 灰色畅想 </option>
<option value="5" <%if skin="5" then response.write "selected" end if%>> 花之仙子 </option>
<option value="6" <%if skin="6" then response.write "selected" end if%>> 生命绿色 </option>
<option value="7" <%if skin="7" then response.write "selected" end if%>> 吉祥新年 </option>
<option value="8" <%if skin="8" then response.write "selected" end if%>> 蓝蓝海岸 </option>
</select> 前台风格自选:<select name="skinopen" id="skinopen">
<option value="yes" <%if skinopen="yes" then response.write "selected" end if%>>启用</option>
<option value="NO" <%if skinopen="NO" then response.write "selected" end if%>>关闭</option>
</select></td>
</tr>
<tr class=Hxcmsss>
<td height="25" colspan="2">BLOG相关功能设置</td>
</tr>
<tr class=Hxcmsds>
<td height="25">BLOG发表会员权限:</td>
<td width="*"><select name="blog_yes" id="blog_yes">
<option value="0" <%if blog_yes="0" then response.write "selected" end if%>>=== 关闭 ===</option>
<option value="1" <%if blog_yes="1" then response.write "selected" end if%>>= 普通会员 =</option>
<option value="2" <%if blog_yes="2" then response.write "selected" end if%>>= VIP 会员 =</option>
<option value="3" <%if blog_yes="3" then response.write "selected" end if%>>= 下栏验证 =</option>
</select></td>
</tr>
<tr class=Hxcmsds>
<td height="25">BLOG验证用户ID:</td>
<td width="*"><input size="40" value="<%=blog_name%>" name="blog_name"> <img src="img/help.gif" border="0" alt="当发表会员权限选下栏验证时请输入会员名,各用户用 | 隔开。"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">BLOG附件上传的用户权限:</td>
<td><select name="MemCanUP" id="MemCanUP">
<option value="0" <%if MemCanUP="0" then response.write "selected" end if%>> 关闭上传 </option>
<option value="2" <%if MemCanUP="2" then response.write "selected" end if%>> BLOG用户 </option>
<option value="1" <%if MemCanUP="1" then response.write "selected" end if%>> 所有会员 </option>
</select></td>
</tr>
<tr class=Hxcmsds>
<td height="25">BLOG附件上传文件最大数:</td>
<td><input size="15" value="<%=Mem_UP_FileSize%>" name="Mem_UP_FileSize"> KB/个</td>
</tr>
<tr class=Hxcmsds>
<td height="25">普通会员上传空间最大数:</td>
<td><input size="15" value="<%=Mem_user_themax%>" name="Mem_user_themax"> KB(免费单用户版无效)</td>
</tr>
<tr class=Hxcmsds>
<td height="25">VIP 会员上传空间最大数:</td>
<td><input size="15" value="<%=Mem_vip_themax%>" name="Mem_vip_themax"> KB(免费单用户版无效)</td>
</tr>
<tr class=Hxcmsds>
<td height="25">BLOG附件上传的支持格式:</td>
<td><input size="40" value="<%=Mem_UP_FileType%>" name="Mem_UP_FileType"> <img src="img/help.gif" border="0" alt="各个类型间用 | 隔开"></td>
</tr>
<tr class=Hxcmsss>
<td height="25" colspan="2">用户相关功能设置</td>
</tr>
<tr class=Hxcmsds>
<td height="25">是否允许用户注册:</td>
<td><%if usery="yes" then%><input name="usery" type="radio" value="yes" checked>
允许
<input type="radio" name="usery" value="no">
不允许<%else%><input name="usery" type="radio" value="yes">
允许
<input name="usery" type="radio" value="no" checked>
不允许<%end if%></td>
</tr>
<tr class=Hxcmsds>
<td height="25">新用户注册的模式:</td>
<td><%if upass="0" then%><input name="upass" type="radio" value="0" checked>
直接登陆
<input type="radio" name="upass" value="1">
审核登陆<%else%><input name="upass" type="radio" value="0">
直接登陆
<input name="upass" type="radio" value="1" checked>
审核登陆<%end if%></td>
</tr>
<tr class=Hxcmsds>
<td height="25">是否允许会员发表:</td>
<td><%if userfb="yes" then%><input name="userfb" type="radio" value="yes" checked>
允许
<input type="radio" name="userfb" value="no">
不允许<%else%><input name="userfb" type="radio" value="yes">
允许
<input name="userfb" type="radio" value="no" checked>
不允许<%end if%> <img src="img/help.gif" border="0" alt="此处选不允许,将全关闭会员发表功能"></td>
</tr>
<tr class=Hxcmsds>
<td height="25">会员前台发布新闻:</td>
<td><%if usernews="yes" then%><input name="usernews" type="radio" value="yes" checked>
开放
<input type="radio" name="usernews" value="no">
关闭<%else%><input name="usernews" type="radio" value="yes">
开放
<input name="usernews" type="radio" value="no" checked>
关闭<%end if%></td>
</tr>
<tr class=Hxcmsds>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -