<%@ page language="C#" autoeventwireup="true" inherits="admin_site_SiteUser, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Import Namespace="D.BLL" %>
<!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">
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />

    <script src="../../js/Common.js" type="text/javascript"></script>

    <script type="text/javascript" src="../../js/<%=B_Lang.getLang() %>/Copy.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >> 用户参数设置
            </td>
        </tr>
    </table>
    <table class="tabs" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td id="TabTitle0" class="title6" onclick="ShowTabs(0)">
                基本信息
            </td>
            <td id="TabTitle1" class="title5" onclick="ShowTabs(1)">
                积分兑换
            </td>
            <td id="TabTitle2" class="title5" onclick="ShowTabs(2)">
                邮箱设置
            </td>
            <td id="TabTitle3" class="title5" onclick="ShowTabs(3)">
                用户空间
            </td>
            <td id="TabTitle4" class="title5" onclick="ShowTabs(4)">
                用户评论
            </td>
            <td class="titleline">
                &nbsp;
            </td>
        </tr>
    </table>
    <table class="border" cellspacing="1" cellpadding="0" border="0" align="center">
        <tbody id="Tabs0">
            <tr>
                <td class="bqleft">
                    记录用户在线状态：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="RadUserOnline" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True" Selected="True">是</asp:ListItem>
                        <asp:ListItem Value="False">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    允许新用户注册：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsReg" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True" Selected="True">是</asp:ListItem>
                        <asp:ListItem Value="False">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    注册时显示扩展资料：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsExpandInfo" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True" Selected="True">显示</asp:ListItem>
                        <asp:ListItem Value="False">不显示</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    新用户成功注册后：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="RegLogin" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1" Selected="True">直接开启登录状态</asp:ListItem>
                        <asp:ListItem Value="2">需要重新登录</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    用户名字符数：
                </td>
                <td class="bqright">
                    最少<asp:TextBox ID="txtUserNameStartLength" runat="server" CssClass="in1" Columns="3"></asp:TextBox>个字符,最多<asp:TextBox
                        ID="txtUserNameEndLength" runat="server" CssClass="in1" Columns="3"></asp:TextBox>个字符
                    一个中文占用两个字符
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    禁止注册的用户名：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtUserNameDisabled" TextMode="MultiLine" runat="server" Rows="4"
                        Columns="60"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    用户注册验证码：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsRegVer" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True" Selected="True">开启</asp:ListItem>
                        <asp:ListItem Value="False">关闭</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    密码模式：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="PassWordModel" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0" Selected="True">默认</asp:ListItem>
                        <asp:ListItem Value="1">MD5 16位兼容</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    用户登陆失败：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtLoginErrorNum" runat="server" Columns="5" Text="5" CssClass="in1"></asp:TextBox>次后，<asp:TextBox
                        ID="txtEnjoinTime" runat="server" Columns="5" Text="30" CssClass="in1"></asp:TextBox>分种内禁止登陆
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    用户登陆：
                </td>
                <td class="bqright">
                    一次增加<asp:TextBox ID="txtLoginAddIntegral" runat="server" Text="2" Columns="2" CssClass="in1"></asp:TextBox>分积分、<asp:TextBox
                        ID="txtLoginAddPoint" runat="server" Text="2" Columns="2" CssClass="in1"></asp:TextBox><asp:Literal
                            ID="LitPoint" runat="server"></asp:Literal>,每天最多计算<asp:TextBox ID="txtDayLoginNum"
                                runat="server" Columns="2" Text="1" CssClass="in1"></asp:TextBox>次 -1为不限制次数,不计算设置0,即为每登录一次增加相应积分和<asp:Literal
                                    ID="LitPoint1" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    用户登录验证码：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsLoginVer" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True" Selected="True">开启</asp:ListItem>
                        <asp:ListItem Value="False">关闭</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    找回密码方式：
                </td>
                <td class="bqright">
                    <asp:CheckBox ID="IsQuestion" runat="server" Text="密码提示问题" Checked="true" /><asp:CheckBox
                        ID="IsRegEmail" runat="server" Text="注册邮箱" />
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    密码提示问题：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtQuestion" runat="server" TextMode="MultiLine" Columns="50" Rows="10"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    用户邀请机制：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsInvite" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True" Selected="True">开启</asp:ListItem>
                        <asp:ListItem Value="False">关闭</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    申请友情链接：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="OpenLink" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True">开启</asp:ListItem>
                        <asp:ListItem Value="False" Selected="True">关闭</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
        </tbody>
        <tbody id="Tabs1" style="display: none">
            <tr>
                <td class="bqleft">
                    点券的名称：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtPointName" runat="server" CssClass="in1" Columns="8"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    点券的单位：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtPointUnit" runat="server" CssClass="in1" Columns="8"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    资金与<asp:Literal ID="LitPoint2" runat="server"></asp:Literal>的兑换比率：
                </td>
                <td class="bqright">
                    每<asp:TextBox ID="txtMoneyPoint1" runat="server" CssClass="in1" Columns="3"></asp:TextBox>元钱可兑换<asp:TextBox
                        ID="txtMoneyPoint2" runat="server" CssClass="in1" Columns="3"></asp:TextBox><asp:Literal
                            ID="LitPoint3" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    资金与有效期的兑换比率：
                </td>
                <td class="bqright">
                    每<asp:TextBox ID="txtMoneyExpire1" runat="server" CssClass="in1" Columns="3"></asp:TextBox>元钱可兑换<asp:TextBox
                        ID="txtMoneyExpire2" runat="server" CssClass="in1" Columns="3"></asp:TextBox>天有效期
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    积分与<asp:Literal ID="LitPoint4" runat="server"></asp:Literal>的兑换比率：
                </td>
                <td class="bqright">
                    每<asp:TextBox ID="txtIntegralPoint1" runat="server" CssClass="in1" Columns="3"></asp:TextBox>分积分可兑换<asp:TextBox
                        ID="txtIntegralPoint2" runat="server" CssClass="in1" Columns="3"></asp:TextBox><asp:Literal
                            ID="LitPoint5" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    积分与有效期的兑换比率：
                </td>
                <td class="bqright">
                    每<asp:TextBox ID="txtIntegralExpire1" runat="server" CssClass="in1" Columns="3"></asp:TextBox>分积分可兑换<asp:TextBox
                        ID="txtIntegralExpire2" runat="server" CssClass="in1" Columns="3"></asp:TextBox>天有效期
                </td>
            </tr>
        </tbody>
        <tbody id="Tabs2" style="display: none">
            <tr>
                <td class="bqleft">
                    邮箱验证注册：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsEmailVer" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True">是</asp:ListItem>
                        <asp:ListItem Value="False" Selected="True">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    验证邮箱唯一性：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsEmailOne" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True" Selected="True">是</asp:ListItem>
                        <asp:ListItem Value="False">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    邮箱验证内容：
                </td>
                <td class="bqright">
                    <input id="Button2" type="button" value="<table>" class="btn" onclick="Win_Open('../common/table.aspx?Control=txtEmailVerContent','','550','415')" />
                    <input id="Button3" type="button" value="<tr></tr>" class="btn" onclick="CreateRange('txtEmailVerContent','<tr></tr>')" />
                    <input id="Button4" type="button" value="<td></td>" class="btn" onclick="CreateRange('txtEmailVerContent','<td></td>')" />
                    <input id="Button5" type="button" value="<div>" class="btn" onclick="Win_Open('../common/div.aspx?Control=txtEmailVerContent','','550','150')" />
                    <asp:TextBox ID="txtEmailVerContent" runat="server" TextMode="MultiLine" Width="99%"
                        Height="200" Style="word-break: break-all; word-wrap: break-word;"></asp:TextBox>
                    <table width="99%" cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td bgcolor="#e0dfe3" align="right">
                                <a href="javascript:" onclick="runEx('txtEmailVerContent')">
                                    <img src="../images/PreView.gif" border="0" title="预览录入界面" /></a> <a href="javascript:"
                                        onclick="copyToClipboard(document.form1.txtEmailVerContent.value)">
                                        <img src="../images/copy.gif" border="0" title="复制录入界面" style="margin-left: 20px" /></a>
                                <a href="javascript:" onclick="SizePlus('txtEmailVerContent')" title="增加编辑高度">
                                    <img src="../images/sizeplus.gif" border="0" style="margin-left: 20px;" /></a>
                                <a href="javascript:" onclick="SizeMinus('txtEmailVerContent')">
                                    <img src="../images/sizeminus.gif" border="0" title="减少编辑高度" style="margin-left: 20px;
                                        margin-right: 20px" /></a>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    邮箱找回密码内容：
                </td>
                <td class="bqright">
                    <input id="Button6" type="button" value="<table>" class="btn" onclick="Win_Open('../common/table.aspx?Control=txtEmailBackPassContent','','550','415')" />
                    <input id="Button7" type="button" value="<tr></tr>" class="btn" onclick="CreateRange('txtEmailBackPassContent','<tr></tr>')" />
                    <input id="Button8" type="button" value="<td></td>" class="btn" onclick="CreateRange('txtEmailBackPassContent','<td></td>')" />
                    <input id="Button9" type="button" value="<div>" class="btn" onclick="Win_Open('../common/div.aspx?Control=txtEmailBackPassContent','','550','150')" />
                    <asp:TextBox ID="txtEmailBackPassContent" runat="server" TextMode="MultiLine" Width="99%"
                        Height="200px" Style="word-break: break-all; word-wrap: break-word;"></asp:TextBox>
                    <table width="99%" cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td bgcolor="#e0dfe3" align="right">
                                <a href="javascript:" onclick="runEx('txtEmailBackPassContent')">
                                    <img src="../images/PreView.gif" border="0" title="预览录入界面" /></a> <a href="javascript:"
                                        onclick="copyToClipboard(document.form1.txtEmailBackPassContent.value)">
                                        <img src="../images/copy.gif" border="0" title="复制录入界面" style="margin-left: 20px" /></a>
                                <a href="javascript:" onclick="SizePlus('txtEmailBackPassContent')" title="增加编辑高度">
                                    <img src="../images/sizeplus.gif" border="0" style="margin-left: 20px;" /></a>
                                <a href="javascript:" onclick="SizeMinus('txtEmailBackPassContent')">
                                    <img src="../images/sizeminus.gif" border="0" title="减少编辑高度" style="margin-left: 20px;
                                        margin-right: 20px" /></a>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
        <tbody id="Tabs3" style="display: none">
            <tr>
                <td class="bqleft">
                    使用二级域名：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="radSpaceDomain" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True">使用</asp:ListItem>
                        <asp:ListItem Value="False">不使用</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    URL重写：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="RadSpaceUrlRe" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True">开启</asp:ListItem>
                        <asp:ListItem Value="False">关闭</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    默认模板目录：
                </td>
                <td class="bqright">
                    <asp:Literal ID="LitUserSpaceTemplateFolder" runat="server"></asp:Literal><asp:TextBox
                        ID="txtUserSpaceFolder" runat="server" CssClass="in1" Columns="20"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    生成文件目录：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtUserSpaceFileFolder" runat="server" CssClass="in1" Columns="20"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    保留二级域名：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtDomainDisabled" runat="server" TextMode="MultiLine" Columns="60" Rows="5"></asp:TextBox><br />多个二级域名用“|”隔开，如：news|shop|down|image。开启二级域名时生效。
                </td>
            </tr>
        </tbody>
        <tbody id="Tabs4" style="display: none">
            <tr>
                <td class="bqleft">
                    用户评论设置：
                </td>
                <td class="bqright">
                    <asp:CheckBox ID="IsCommentVer" runat="server" Text="用户评论需要输入验证码" /><asp:CheckBox
                        ID="IsAnonymityComment" runat="server" Text="允许匿名评论" /><asp:CheckBox ID="IsAuditingComment"
                            runat="server" Text="开启评论审核" />
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    评论通过后：
                </td>
                <td class="bqright">
                    获得<asp:TextBox ID="txtCommonIntegral" runat="server" CssClass="in1" Columns="8"></asp:TextBox>分积分
                    <asp:TextBox ID="txtCommonPoint" runat="server" CssClass="in1" Columns="8"></asp:TextBox><asp:Literal
                        ID="LitCommonPoint" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    输入评论内容：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="EditorType" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="text" Selected="True">多行文本框</asp:ListItem>
                        <asp:ListItem Value="ubb">UBB编辑器</asp:ListItem>
                        <asp:ListItem Value="html">简单型HTML编辑器</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    评论标题字段：
                </td>
                <td class="bqright">
                    <table cellspacing="1" cellpadding="4" border="0" bgcolor="#dbdbdb">
                        <asp:Repeater ID="RepInfoModel" runat="server">
                            <ItemTemplate>
                                <tr>
                                    <td class="bqright" width="100">
                                        <%#Eval("ModelName") %><asp:TextBox ID="txtModelId" runat="server" Style="display: none"
                                            Text='<%#Eval("ModelId") %>'></asp:TextBox>
                                    </td>
                                    <td class="bqright">
                                        <asp:TextBox ID="txtModelTitle" runat="server" Columns="20" CssClass="in1"></asp:TextBox>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </td>
            </tr>
        </tbody>
        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="50">
                <asp:Button ID="Button1" runat="server" Text=" 提交 " CssClass="btn radius30 pad_0_30" OnClick="Button1_Click" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
