<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AppConfig.aspx.cs" Inherits="TotCms.Web.Admin.AppConfig" %>

<%@ Register src="UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>

<!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 runat="server">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>网站参数配置</title>
    <link href="style/global.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
      <uc1:main_top ID="main_top1" runat="server" />
    
    </div>
    <table style="width:100%;" border="0" cellpadding="0" cellspacing="1" 
      class="black_border">
      <tr class="suphead">
        <td colspan="2">
                                                                                网站参数配置</td>
    </tr>
    <tr>
      <td class="fields_text">
        网址：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="SiteUrl" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        网站名称：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="SiteName" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        根目录：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="AppRoot" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        生成文件扩展名：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="FileExt" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        一页显示个数：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="NumPerPage" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        最多发布页数：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="PageMaxNum" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        上传文件大小限制：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="UpImageSize" runat="server" CssClass="input_middle"></asp:TextBox>
          K</td>
    </tr>
    <tr>
      <td class="fields_text">
        上传文件扩展名：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="UploadExt" runat="server" CssClass="text_normal" 
          TextMode="MultiLine"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        文章索引存放目录：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="SearchIndex" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        是否自动索引：</td>
      <td class="fields_input">      
              
        <asp:RadioButtonList ID="AutoIndex" runat="server" 
          RepeatDirection="Horizontal" RepeatLayout="Flow">
          <asp:ListItem Value="1">是</asp:ListItem>
          <asp:ListItem Value="0">否</asp:ListItem>
        </asp:RadioButtonList>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        下载索引存放目录：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="DownloadIndex" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
          视频索引存放目录：</td>
      <td class="fields_input">      
              
          <asp:TextBox ID="VideoIndex" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        下载文件存放目录：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="DownloadPath" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
          是否开放评论：</td>
      <td class="fields_input">      
              
          <asp:RadioButtonList ID="openCommen" runat="server" 
              RepeatDirection="Horizontal" RepeatLayout="Flow">
              <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
              <asp:ListItem Value="0">否</asp:ListItem>
          </asp:RadioButtonList>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
          评论过滤关键字：</td>
      <td class="fields_input">      
              
          <asp:TextBox ID="commenFilter" runat="server" CssClass="text_content_default" 
              TextMode="MultiLine"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        评论是否需要审核：</td>
      <td class="fields_input">      
              
        <asp:RadioButtonList ID="CommenChecked" runat="server" 
          RepeatDirection="Horizontal" RepeatLayout="Flow">
          <asp:ListItem Value="0">是</asp:ListItem>
          <asp:ListItem Value="1">否</asp:ListItem>
        </asp:RadioButtonList>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
          编辑器：</td>
      <td class="fields_input">      
              
          <asp:RadioButtonList ID="EditorName" runat="server" 
            RepeatDirection="Horizontal" RepeatLayout="Flow">
            <asp:ListItem>ckeditor</asp:ListItem>
            <asp:ListItem>kindeditor</asp:ListItem>
          </asp:RadioButtonList>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
          水印类型：</td>
      <td class="fields_input">      
              
          <asp:RadioButtonList ID="WaterMarkType" runat="server" 
              RepeatDirection="Horizontal" RepeatLayout="Flow">
              <asp:ListItem Value="WM_TEXT">文本</asp:ListItem>
              <asp:ListItem Value="WM_IMAGE">图片</asp:ListItem>
          </asp:RadioButtonList>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
          水印内容：</td>
      
      <td class="fields_input">              
          <asp:TextBox ID="WaterMarkContent" runat="server"></asp:TextBox>
          如果类型是图片水印，此处设置水印图片的路径地址</td>
    </tr>
    <tr>
      <td class="fields_text">
          水印位置：</td>
      <td class="fields_input">      
              
          <asp:RadioButtonList ID="WaterMarkPosition" runat="server" 
              RepeatDirection="Horizontal" RepeatLayout="Flow">
              <asp:ListItem Value="WM_TOP_LEFT">左上</asp:ListItem>
              <asp:ListItem Value="WM_TOP_RIGHT">右上</asp:ListItem>
              <asp:ListItem Value="WM_BOTTOM_RIGHT">右下</asp:ListItem>
              <asp:ListItem Value="WM_BOTTOM_LEFT">左下</asp:ListItem>
          </asp:RadioButtonList>
                </td>
    </tr>
    <tr>
      <td class="fields_text">
        是否绑定DiscuzNt：</td>
      <td class="fields_input">      
              
        <asp:RadioButtonList ID="rbBindDiscuznt" runat="server" 
          RepeatDirection="Horizontal" RepeatLayout="Flow">
          <asp:ListItem Value="1">是</asp:ListItem>
          <asp:ListItem Value="0">否</asp:ListItem>
        </asp:RadioButtonList>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        DiscuzNt Key：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbDiscuzntKey" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        DiscuzNt Secret：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbDiscuzntSecret" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        DiscuzNt Url：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbDiscuzntUrl" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <!--alipay api-->
    <tr>
      <td class="fields_text">
        支付宝合作者ID：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbAlipayParter" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        支付宝Key：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbAlipayKey" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        支付宝帐号：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbSellerEmail" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        财付通ID：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbTenpayId" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        财付通Key：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbTenpayKey" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        QQ接口_AppId：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbQcAppId" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        QQ接口_Key：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbQcKey" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        邮箱帐号：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbEmailUserName" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        邮箱密码：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbEmailPassWord" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        邮箱Smtp：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbEmailSmtp" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        邮箱Smtp端口：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbEmailSmtpPort" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        短信接口地址：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbSmsPostUrl" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        短信接口帐号：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbSmsUserName" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        短信接口密码：</td>
      <td class="fields_input">      
              
        <asp:TextBox ID="tbSmsPassWord" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td></td>
      <td align="left" height="45">
        <asp:Button ID="Button1" runat="server" Text="修改" onclick="Button1_Click" 
          CssClass="btn-submit" />
        &nbsp;<input id="Button2" type="reset" value="取 消" class="btn-cancel" /></td>
    </tr>
  </table>
    </form>
</body>
</html>
