<%@ page language="C#" autoeventwireup="true" inherits="Admin_Admin_UserConfig, App_Web_ahimsrpm" %>
<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;"><asp:RadioButtonList ID="rdolt_allowUserReg" 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%;">
                            关闭会员注册说明</td>
                        <td style="width: 80%; text-align: left">
                            <Ws:TextBox ID="txt_closeUserRegMessage" runat="server" TextMode="MultiLine" Width="50%" Rows="10"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                            会员注册协议</td>
                        <td style="width: 80%; text-align: left">
                            <Ws:TextBox ID="txt_registerProtocol" runat="server" TextMode="MultiLine" 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_userRegisterValidation" 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%; height: 30px; text-align: left">
                            <asp:RadioButtonList ID="rdolt_MailValidation" 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;;height:30px;">
                            <Ws:TextBox ID="txt_mailTitle" runat="server" ValidType="Str" Width="50%"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%;">
                            发送邮件内容</td>
                        <td style="width: 80%; text-align: left;">
                            <Ws:TextBox ID="txt_mailContent" runat="server" ValidType="No" Width="50%" TextMode="MultiLine" Rows="10"></Ws:TextBox>(必须包含[url],代表的是验证链接的地址)</td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            邮件服务器地址</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <Ws:TextBox ID="txt_Mailurl" 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;height:30px;">
                            <Ws:TextBox ID="txt_mailusername" runat="server" ValidType="Str" Width="50%"></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_mailpassword" runat="server" ValidType="Str" Width="50%"></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_mailadd" runat="server" ValidType="Mail" Width="50%"></Ws:TextBox></td>
                    </tr>
                    <tr style="display:none">
                        <td style="width: 20%;">
                            注册发送短消息</td>
                        <td style="width: 80%; text-align: left;">
                            <asp:RadioButtonList ID="rdolt_isRegisterSendMessage" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <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">
                            发送短消息<br />
                            内容</td>
                        <td style="width: 80%; text-align: left;display:none">
                            <Ws:TextBox ID="txt_registerMessageContent" runat="server" TextMode="MultiLine" ValidType="No"
                                Width="250px"></Ws:TextBox></td>
                    </tr>
                    <tr style="display:none">
                        <td style="width: 20%;display:none">
                            发送短消息<br />
                            的用户</td>
                        <td style="width: 80%x; text-align: left;display:none">
                            <Ws:TextBox ID="txt_messageUser" 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;">
                            <Ws:TextBox ID="txt_userNameMinLength" runat="server" ValidType="Int" Width="50%"></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_userNameMaxLength" runat="server" ValidType="Int" Width="50%"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                            注册限制关键字</td>
                        <td style="width: 80%; text-align: left">
                            <Ws:TextBox ID="txt_registerKeyWordsFilter" runat="server" Width="50%" Rows="10" TextMode="MultiLine"></Ws:TextBox>(不限制请填写
                            0， 多个关键字请用半角逗号 "," 隔开。 )</td>
                    </tr>
                    <tr>
                        <td style="width: 20%;height:30px;">
                            IP注册间隔限制(秒)</td>
                        <td style="width: 80%; text-align: left;height:30px;">
                            <Ws:TextBox ID="txt_iPRegisterTimeSpacing" runat="server" ValidType="Int" Width="50%"></Ws:TextBox>(不限制请写0)</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_openMessage" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr style="display:none">
                        <td style="width: 20%;">
                            短消息最大数量</td>
                        <td style="width:80%; text-align: left">
                            <Ws:TextBox ID="txt_messageMaxCount" runat="server" ValidType="Int" Width="50%"></Ws:TextBox></td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" valign="middle">
                            <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>
