<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="siteconfig.aspx.cs" Inherits="Kcms.UI.admin.siteconfig" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="skins/work-style.css" rel="stylesheet" type="text/css" />
    <script src="/inc/artDialog/artDialog.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form2" runat="server">
<div class="container">
 <div class="path clearfix"><div class="l"><h4><img src="skins/icon/accountmanagement_summ.gif" align="absmiddle" />网站基本设置</h4></div><div class="r"><asp:Literal ID="litAdv" runat="server"></asp:Literal></div></div>
 <div class="mbox clearfix">
  <div class="left">
    <a href="siteconfig.aspx" class="on">基本设置</a>
    <a href="siteemail.aspx">邮箱设置</a>
    <a href="sitewatermark.aspx">水印设置</a>
    <a href="sitemailtemp.aspx">邮件模版</a>
  </div>
  <div class="right">
<table class="rtable" width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
  <td width="30%"><b>网站名称：</b></td>
  <td>
      <asp:TextBox ID="txtSiteName" runat="server" Columns="48"></asp:TextBox>
    </td>
</tr>
<tr>
  <td><b>网站首页URL：</b></td>
  <td>
      <asp:TextBox ID="txtSiteUrl" runat="server" Columns="48"></asp:TextBox>
      如http://www.kuaishow.com/ 必须以/结束</td>
</tr>
<tr>
  <td><b>后台目录名：</b></td>
  <td>
      <asp:TextBox ID="txtAdminPath" runat="server" Columns="48" 
          onkeyup="this.value=this.value.replace(/[^a-z]/gi,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      如admin，修改后请用FTP修改文件夹名</td>
</tr>
<tr>
  <td><b>底部信息代码：</b></td>
  <td>
      <asp:TextBox ID="txtCopyright" runat="server" Columns="48" Rows="8" 
          TextMode="MultiLine"></asp:TextBox>
    </td>
</tr>
<tr>
  <td><b>关闭网站：</b></td>
  <td>
      <asp:CheckBox ID="chkIsClose" runat="server" Text="是" />
    </td>
</tr>
<tr>
  <td><b>关闭网站提示语：</b></td>
  <td>
      <asp:TextBox ID="txtCloseTips" runat="server" Columns="48" Rows="2"></asp:TextBox>
    </td>
</tr>
<tr>
  <td><b>是否禁止坏蜘蛛：</b></td>
  <td>
      <asp:CheckBox ID="chkIsBadSpider" runat="server" Text="是" />
    </td>
</tr>
<tr>
  <td><b>坏蜘蛛列表：</b><br />
      每行填写一个蜘蛛名称，比如：Larbin。<br />
      尽量填全蜘蛛名，假如只填写b，会禁止Larbin、baidu 等。</td>
  <td>
      <asp:TextBox ID="txtBadSpider" runat="server" Rows="8" 
          TextMode="MultiLine"></asp:TextBox>
    </td>
</tr>
<tr>
  <td><b>是否启用蜘蛛来访日志：</b></td>
  <td>
      <asp:CheckBox ID="chkIsSipiderVisit" runat="server" Text="是" />
    </td>
</tr>
<tr>
  <td><b>提问间隔时间：</b></td>
  <td>
      <asp:TextBox ID="txtPostSpan" runat="server" Columns="2" 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      秒</td>
</tr>
<tr>
  <td></td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td><b>专题分页显示数：</b></td>
  <td>
      <asp:TextBox ID="txtspecialPageSize" runat="server" Columns="2" 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      </td>
</tr>
<tr>
  <td><b>资讯分页显示数：</b></td>
  <td>
      <asp:TextBox ID="txtnewsPageSize" runat="server" Columns="2" 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      </td>
</tr>
<tr>
  <td><b>博文分页显示数：</b></td>
  <td>
      <asp:TextBox ID="txtbowenPageSize" runat="server" Columns="2" 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      </td>
</tr>
<tr>
  <td><b>问答分页显示数：</b></td>
  <td>
      <asp:TextBox ID="txtaskPageSize" runat="server" Columns="2" 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      </td>
</tr>
<tr>
  <td><b>图片分页显示数：</b></td>
  <td>
      <asp:TextBox ID="txtpicPageSize" runat="server" Columns="2" 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      </td>
</tr>
<tr>
  <td><b>视频分页显示数：</b></td>
  <td>
      <asp:TextBox ID="txtvideoPageSize" runat="server" Columns="2" 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      </td>
</tr>
<tr>
  <td><b>搜索分页显示数：</b></td>
  <td>
      <asp:TextBox ID="txtsearchPageSize" runat="server" Columns="2" 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      </td>
</tr>
<tr>
  <td></td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td><b>资讯和博文中的图片是否下载：</b></td>
  <td>
      <asp:CheckBox ID="chkIsDownPic" runat="server" Text="是" />
      　　选择-就下载图片到本地，消耗网站空间；不选-就远程读取图片，消耗网络流量</td>
</tr>
<tr>
  <td><b>图片模块大图是否下载：</b></td>
  <td>
      <asp:CheckBox ID="chkIsDownBigPic" runat="server" Text="是" />
      </td>
</tr>
<tr>
  <td><b></b></td>
  <td><asp:Button ID="btnPost" runat="server" CssClass="btn0" Text="保存设置" 
          onclick="btnPost_Click" /></td>
</tr>
</table>
  </div>
 </div>
</div>
</form>
</body>
</html>