⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_site.asp

📁 博客模块:Blog是继Email、BBS、ICQ后的第四种网络交流方式
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<!--#include file="Admin_Chkpass.asp"-->
<%
dim action
Action=trim(request("Action"))
if Action="saveconfig" then
	response.Write Action
	call saveconfig()
else
	call showconfig()
end if

sub showconfig()
dim rs
set rs=conn.execute("select * from bloginfo")	
%>
<html>
<head>
<title>专题管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Admin_STYLE.CSS" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="bgcolor" >
  <br>
  <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1">
    <tr bgcolor="#9933FF"> 
      
    <td height="22" colspan=2 align=center><span class="style1">网 站 配 置</span></td>
    </tr>
    <tr > 
      <td width="70" height="30"><strong>管理导航:</strong></td>
      
    <td height="30"><a href="Admin_Site.asp">网站信息配置</a> | <a href="Admin_Site.asp">网站选项配置</a> 
      | <a href="#user">用户信息选项</a> | <a href="#show">日志显示选项</a> | <a href="#upload">上传选项</a></td>
    </tr>
</table>

<form method="POST" action="Admin_Site.asp" id="form1" name="form1">
  <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" Class="border">
    <tr bgcolor="#9933FF" > 
      <td height="22" colspan="2"> <div align="center"><a name="SiteInfo"></a><span class="style1">网站信息配置</span></div></td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >网站名称:</td>
      <td width="368" height="25" > <input name="SiteName" type="text" id="SiteName" value="<%=rs("sitename")%>" size="40" maxlength="50"> 
      </td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >网站标题:</td>
      <td width="368" height="25" > <input name="SiteTitle" type="text" id="SiteTitle" value="<%=rs("SiteTitle")%>" size="40" maxlength="50"> 
      </td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >网站地址:<br>
        重要!请添写完整URL地址。</td>
      <td width="368" height="25" > <input name="SiteUrl" type="text" id="SiteUrl" value="<%=rs("SiteUrl")%>" size="40" maxlength="255"> 
      </td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >网站域名:用于二级域名。</td>
      <td width="368" height="25" > <input name="CopyrightUrl" type="text" id="CopyrightUrl" value="<%=rs("copyrightUrl")%>" size="40" maxlength="255"> 
      </td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >站长姓名:</td>
      <td width="368" height="25" > <input name="WebmasterName" type="text" id="WebmasterName" value="<%=rs("WebmasterName")%>" size="40" maxlength="20"> 
      </td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >站长信箱:</td>
      <td width="368" height="25" > <input name="WebmasterEmail" type="text" id="WebmasterEmail" value="<%=rs("WebmasterEmail")%>" size="40" maxlength="100"> 
      </td>
    </tr>
    <tr bgcolor="#9933FF"> 
      <td height="25" colspan="2"><div align="center"><a name="SiteOption"></a><span class="style1">网站选项配置</span></div></td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >是否开启日志审核(日志审核后才能显示):</td>
      <td height="25" > <input type="radio" name="blogcheck" value="true" <%if rs("blogcheck")="true" then response.write "checked"%>>
        是 &nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="blogcheck" value="false" <%if rs("blogcheck")="false"  then response.write "checked"%>>
        否</td>
    </tr>
    <tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''"> 
      <td height="25" >发表日志,系统日志分类是否为必须:</td>
      <td height="25" ><input type="radio" name="needclassid" value="true" <%if rs("needclassid")="true" then response.write "checked"%>>
        是 &nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="needclassid" value="false" <%if rs("needclassid")="false" then response.write "checked"%>>
        否</td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td height="25" >是否允许游客发表评论及留言:</td>
      <td height="25" > <input type="radio" name="enguestcomment" value="true" <%if rs("enguestcomment")="true" then response.write "checked"%>>
        是 &nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="enguestcomment" value="false" <%if rs("enguestcomment")="false" then response.write "checked"%>>
        否</td>
    </tr>
    <tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''"> 
      <td height="25" >发表日志时,当敏感字出现多少次以上,日志自动转为待审核:</td>
      <td height="25" ><input name="maxbadstr_num" type="text" id="maxbadstr_num" value="<%=rs("maxbadstr_num")%>" size="10" maxlength="10">
        次</td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td height="25" >是否开启二级域名:</td>
      <td height="25" ><input type="radio" name="gourl" value="true" <%if rs("gourl")="true" then response.write "checked"%>>
        是 &nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="gourl" value="false" <%if rs("gourl")="false"  then response.write "checked"%>>
        否</td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >时差设置:<br> </td>
      <td height="25" > <select name="timediff" id="timediff">
          <option value="-24"<%if rs("timediff")=-24 then response.write "selected"%>>-24</option>
          <option value="-23"<%if rs("timediff")=-23 then response.write "selected"%>>-23</option>
          <option value="-22"<%if rs("timediff")=-22 then response.write "selected"%>>-22</option>
          <option value="-21"<%if rs("timediff")=-21 then response.write "selected"%>>-21</option>
          <option value="-20"<%if rs("timediff")=-20 then response.write "selected"%>>-20</option>
          <option value="-19"<%if rs("timediff")=-19 then response.write "selected"%>>-19</option>
          <option value="-18"<%if rs("timediff")=-18 then response.write "selected"%>>-18</option>
          <option value="-17"<%if rs("timediff")=-17 then response.write "selected"%>>-17</option>
          <option value="-16"<%if rs("timediff")=-16 then response.write "selected"%>>-16</option>
          <option value="-15"<%if rs("timediff")=-15 then response.write "selected"%>>-15</option>
          <option value="-14"<%if rs("timediff")=-14 then response.write "selected"%>>-14</option>
          <option value="-13"<%if rs("timediff")=-13 then response.write "selected"%>>-13</option>
          <option value="-12"<%if rs("timediff")=-12 then response.write "selected"%>>-12</option>
          <option value="-11"<%if rs("timediff")=-11 then response.write "selected"%>>-11</option>
          <option value="-10"<%if rs("timediff")=-10 then response.write "selected"%>>-10</option>
          <option value="-9"<%if rs("timediff")=-9 then response.write "selected"%>>-9</option>
          <option value="-8"<%if rs("timediff")=-8 then response.write "selected"%>>-8</option>
          <option value="-7"<%if rs("timediff")=-7 then response.write "selected"%>>-7</option>
          <option value="-6"<%if rs("timediff")=-6 then response.write "selected"%>>-6</option>
          <option value="-5"<%if rs("timediff")=-5 then response.write "selected"%>>-5</option>
          <option value="-4"<%if rs("timediff")=-4 then response.write "selected"%>>-4</option>
          <option value="-3"<%if rs("timediff")=-3 then response.write "selected"%>>-3</option>
          <option value="-2"<%if rs("timediff")=-2 then response.write "selected"%>>-2</option>
          <option value="-1"<%if rs("timediff")=-1 then response.write "selected"%>>-1</option>
          <option value="0" <%if rs("timediff")=0 then response.write "selected"%>>0</option>
          <option value="1"<%if rs("timediff")=1 then response.write "selected"%>>1</option>
          <option value="2"<%if rs("timediff")=2 then response.write "selected"%>>2</option>
          <option value="3"<%if rs("timediff")=3 then response.write "selected"%>>3</option>
          <option value="4"<%if rs("timediff")=4 then response.write "selected"%>>4</option>
          <option value="5"<%if rs("timediff")=5 then response.write "selected"%>>5</option>
          <option value="6"<%if rs("timediff")=6 then response.write "selected"%>>6</option>
          <option value="7"<%if rs("timediff")=7 then response.write "selected"%>>7</option>
          <option value="8"<%if rs("timediff")=8 then response.write "selected"%>>8</option>
          <option value="9"<%if rs("timediff")=9 then response.write "selected"%>>9</option>
          <option value="10"<%if rs("timediff")=10 then response.write "selected"%>>10</option>
          <option value="11"<%if rs("timediff")=11 then response.write "selected"%>>11</option>
          <option value="12"<%if rs("timediff")=12 then response.write "selected"%>>12</option>
          <option value="13"<%if rs("timediff")=13 then response.write "selected"%>>13</option>
          <option value="14"<%if rs("timediff")=14 then response.write "selected"%>>14</option>
          <option value="15"<%if rs("timediff")=15 then response.write "selected"%>>15</option>
          <option value="16"<%if rs("timediff")=16 then response.write "selected"%>>16</option>
          <option value="17"<%if rs("timediff")=17 then response.write "selected"%>>17</option>
          <option value="18"<%if rs("timediff")=18 then response.write "selected"%>>18</option>
          <option value="19"<%if rs("timediff")=19 then response.write "selected"%>>19</option>
          <option value="20"<%if rs("timediff")=20 then response.write "selected"%>>20</option>
          <option value="21"<%if rs("timediff")=21 then response.write "selected"%>>21</option>
          <option value="22"<%if rs("timediff")=22 then response.write "selected"%>>22</option>
          <option value="23"<%if rs("timediff")=23 then response.write "selected"%>>23</option>
          <option value="24"<%if rs("timediff")=24 then response.write "selected"%>>24</option>
        </select>
        小时</td>
    </tr>
    <tr bgcolor="#9933FF"> 
      <td height="25" colspan="2"><div align="center"><a name="show"></a><span class="style1">日志显示选项</span></div></td>
    </tr>
    <tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''"> 
      <td height="25" >list列表每页显示多少条日志标题</td>
      <td height="25" ><input name="show_log_num" type="text" id="show_log_num" value="<%=rs("show_log_num")%>" size="10" maxlength="10"> 
      </td>
    </tr>
    <tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''"> 
      <td height="25" ><p>list列表调用前多少篇日志</p></td>
      <td height="25" ><input name="getlog_num" type="text" id="getlog_num" value="<%=rs("getlog_num")%>" size="10" maxlength="10"></td>
    <tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''"> 
      <td height="25" >评论是否顺序排列:</td>
      <td height="25" ><input type="radio" name="show_comment_asc" value="true" <%if rs("show_comment_asc")="true" then response.write "checked"%>>
        是 &nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="show_comment_asc" value="false" <%if rs("show_comment_asc")="false" then response.write "checked"%>>
        否</td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td height="25" >站点关键字(更容易被搜索引擎找到,&quot;,&quot;号隔开)</td>
      <td height="25" ><input name="site_keyword" type="text" id="site_keyword" value="<%=rs("site_keyword")%>" size="40" maxlength="100"></td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td height="25" >博客列表每页显示条数</td>
      <td height="25" ><input name="show_listuser_num" type="text" id="show_listuser_num" value="<%=rs("show_listuser_num")%>" size="10" maxlength="10"></td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td height="25" >图片自动缩小宽度(为零不缩放)</td>
      <td height="25" ><input name="show_imgw_num" type="text" id="show_imgw_num" value="<%=rs("show_imgw_num")%>" size="10" maxlength="10">
        像素</td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >图片是否随鼠标滚轮缩放:</td>
      <td height="25" > <input type="radio" name="show_img_mouse" value="true" <%if rs("show_img_mouse")="true" then response.write "checked"%>>
        是 &nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="show_img_mouse" value="false" <%if rs("show_img_mouse")="false" then response.write "checked"%>>
        否</td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >部分显示日志是否使用htm标记强化过滤:<br>
        (若选择此项,所有除图片以外的标记都将被过滤掉)</td>
      <td height="25" > <input type="radio" name="blog_profilt" value="true" <%if rs("blog_profilt")="true" then response.write "checked"%>>
        是 &nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="blog_profilt" value="false" <%if rs("blog_profilt")="false" then response.write "checked"%>>
        否</td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 
      <td width="400" height="25" >是否显示底部页面执行时间:</td>
      <td height="25" > <input type="radio" name="blog_showruntime" value="true" <%if rs("blog_showruntime")="true" then response.write "checked"%>>
        是 &nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="blog_showruntime" value="false" <%if rs("blog_showruntime")="false" then response.write "checked"%>>
        否</td>
    </tr>
    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'"> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -