<%@ page language="C#" autoeventwireup="true" inherits="Admin_Admin_SystemParamters, App_Web_ahimsrpm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head runat="server">
    <title>系统参数设置</title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <link type="text/css" href="../css/Admin.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div class="tips">
                系统参数设置， 可以对网站进行总体设置
            </div>
            <table>
                <thead>
                    <tr>
                        <td colspan="2">系统参数设置
                        </td>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td style="width: 20% ;height:30px; ">
                            网站名称</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <Ws:TextBox ID="txt_sitename" runat="server" Width="50%" ValidType="Str"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            网站地址</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <Ws:TextBox ID="txt_siteurl" runat="server" ValidType="Url" Width="50%"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%; height:30px;">
                            联系邮件</td>
                        <td style="width: 80%; text-align: left;">
                            <Ws:TextBox ID="txt_Email" runat="server" ValidType="Mail" Width="50%"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            开放站点</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <asp:RadioButtonList ID="rdolt_opensite" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" Width="50%">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            关闭站点提示</td>
                        <td style="width: 80%; text-align: left">
                            <Ws:TextBox ID="txt_closesite" runat="server" TextMode="MultiLine" Width="50%" Rows="10"></Ws:TextBox></td>
                    </tr>
                    <tr style="display:none">
                        <td style="width: 20%; display:none">
                            网站LOGO</td>
                        <td style="width: 80%; text-align: left; display:none">
                            <asp:FileUpload ID="FU_sitelogo" runat="server" /></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            页面标题关键字</td>
                        <td style="width: 80%; text-align: left">
                            <Ws:TextBox ID="txt_keywords" runat="server" Width="50%" Rows="10" ValidType="Str" TextMode="MultiLine"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            Keywords</td>
                        <td style="width: 80%; text-align: left">
                            <Ws:TextBox ID="txt_metakeywords" runat="server" Width="50%" ValidType="Str" Rows="10" TextMode="MultiLine"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            Description</td>
                        <td style="width: 80%; text-align: left">
                            <Ws:TextBox ID="txt_metaDescription" runat="server" Width="50%" ValidType="Str" Rows="10" TextMode="MultiLine"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            版权信息</td>
                        <td style="width: 80%; text-align: left">
                            <Ws:TextBox ID="txt_copyright" runat="server" TextMode="MultiLine" ValidType="No" Width="50%" Rows="10"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            密码找回方式</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <asp:RadioButtonList ID="rdolt_getpassword" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" Width="50%">
                                <asp:ListItem Value="0">重新设置密码</asp:ListItem>
                                <asp:ListItem Value="1">发送密码到注册邮箱</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            注册开启验证码</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <asp:RadioButtonList ID="rdolt_registerOpenValidationCode" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow" Width="50%">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td style="width: 20%; height: 30px;">
                            登陆开启验证码</td>
                        <td style="width: 80%; text-align: left; height: 30px;">
                            <asp:RadioButtonList ID="rdolt_logInOpenValidationCode" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow" Width="50%">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            评论开启验证码</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <asp:RadioButtonList ID="rdolt_RepmarkOpenValidationCode" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow" Width="50%">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            找回密码开启验证码</td>
                        <td style="width: 80%; text-align: left">
                            <asp:RadioButtonList ID="rdolt_getPassWordOpenValidationCode" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow" Width="50%">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            &nbsp;Cookie验证密钥</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <Ws:TextBox ID="txt_CookieValidationKey" runat="server" Width="50%" ValidType="Str"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            启用Cookie作用域</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <Ws:TextBox ID="txt_cookie" runat="server" Width="50%" Rows="10" TextMode="MultiLine"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            限制访问IP</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <Ws:TextBox ID="txt_refuseIP" runat="server" Width="50%" Rows="10" TextMode="MultiLine" ValidType="Str"></Ws:TextBox>(不限制请填写
                            0， 多个关键字请用半角逗号 "," 隔开。 )</td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            静态页面模拟</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <asp:RadioButtonList ID="rdolt_openVisualStaticPage" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow" Width="200px" AutoPostBack="True" OnSelectedIndexChanged="rdolt_openVisualStaticPage_SelectedIndexChanged">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            模拟静态页面扩展名</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <asp:RadioButtonList ID="rdolt_visualStaticPageExtName" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem>htm</asp:ListItem>
                                <asp:ListItem>html</asp:ListItem>
                                <asp:ListItem>aspx</asp:ListItem>
                                <asp:ListItem>shtm</asp:ListItem>
                                <asp:ListItem>shtml</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            发表内容过滤关键字</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <Ws:TextBox ID="txt_PublishContentFilter" runat="server" Width="50%" Rows="10" TextMode="MultiLine"></Ws:TextBox>(不限制请填写
                            0， 多个关键字请用半角逗号 "," 隔开。 )</td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            上传文件存放目录</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <Ws:TextBox ID="txt_uploadFolder" runat="server" Width="50%"></Ws:TextBox></td>
                    </tr>
                    <tr style="display:none">
                        <td style="width: 20%; display:none">
                            是否生成静态页</td>
                        <td style="width: 80%; text-align: left; display:none">
                            <asp:RadioButtonList ID="rdolt_isCreateStaticPage" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow" Width="200px">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                   <tr style="display:none">
                        <td style="width: 20%; display:none">
                            静态页文件扩展名</td>
                        <td style="width: 80%; text-align: left; display:none">
                            <Ws:TextBox ID="txt_staticPageExtName" runat="server" Width="250px"></Ws:TextBox></td>
                    </tr>
                    <tr style="display:none">
                        <td style="width: 20%; display:none">
                            静态文件存放目录</td>
                        <td style="width: 80%; text-align: left; display:none">
                            <Ws:TextBox ID="txt_staticPageFolder" runat="server" Width="250px"></Ws:TextBox></td>
                    </tr>
                    <tr style="display:none">
                        <td style="width: 20%; display:none">
                            静态文件存放目录格式</td>
                        <td style="width: 80%; text-align: left; display:none">
                            <Ws:TextBox ID="txt_staticStorageForm" runat="server" Width="250px"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;;height:30px;">
                            自动审核软件</td>
                        <td style="width: 80%; text-align: left;height:30px;"><asp:RadioButtonList ID="rdolt_autoAuditSoftware" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow" Width="200px">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;;height:30px;">
                            搜索热门关键字</td>
                        <td style="width: 80%; text-align: left">
                            <Ws:TextBox ID="txt_HotTags" runat="server" Width="50%" Rows="10" TextMode="MultiLine" Text="0" ValidType="Str"></Ws:TextBox>(没有请不要填写， 多个关键字请用半角逗号 "," 隔开，不能超过三个。 )</td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" valign="middle;height:30px;">
                            <Ws:Button ID="btn_Save" runat="server" Styles="WebButton" Type="Wait" Format-Value="正在处理，请稍候..." OnClick="btn_Save_Click" />&nbsp; 
                            </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </form>
</body>
</html>
