<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShengJiXiangGuan.aspx.cs" Inherits="Admin_SheZhi_ShengJiXiangGuan" %>

<!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 href="../Images/Admin.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function LOAD()
        {
            if(document.getElementById('ShengJiShiFouXiaoXiTiXing_T').checked)
                document.getElementById("TD_ShengJiXinXi").style.display='block';
            else
                document.getElementById("TD_ShengJiXinXi").style.display='none';
        }
    </script>
</head>
<body onload="LOAD()">
<div style="height:18px">
位置：社区设置 &gt; 升级相关设置
</div>
<div style="height:5px"></div>
    <form id="form1" runat="server" onkeydown="if(event.ctrlKey&&event.keyCode==13) this.submit();">
    <div>
    <table class="tab1" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="tab2_bt">升级相关设置</td>
                    </tr>
                    <tr>
                        <td>
                            <table class="tab3" border="0" cellpadding="0" cellspacing="1">
                    <tr>
                        <td style="width:200px">
                            &nbsp;&nbsp;<span class="text_bt">升级规则</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="ShengJiGuiZe" runat="server" CssClass="text" MaxLength="100" Width="250px"></asp:TextBox>&nbsp;
                            <span class="text_pt">升到下一级的计算方法.$等级$为用户的等级</span><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                                ControlToValidate="ShengJiGuiZe" ErrorMessage="RequiredFieldValidator" SetFocusOnError="True">升级规则不能为空</asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 200px">
                            &nbsp; <span class="text_bt">每升一级赠送积分</span></td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="MeiShengYiJiZengSongJiFen" runat="server" CssClass="text" MaxLength="100"
                                Width="250px"></asp:TextBox>&nbsp; <span class="text_pt">每升一级赠送的积分的计算方法</span><asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                                    runat="server" ControlToValidate="MeiShengYiJiZengSongJiFen" ErrorMessage="RequiredFieldValidator"
                                    SetFocusOnError="True">赠送积分不能为空</asp:RequiredFieldValidator>
                            </td>
                    </tr>
                    <tr>
                        <td style="width: 200px">
                            &nbsp; <span class="text_bt">增加一经验积累秒数</span></td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="ZengJiaYiJingYanJiLeiMiaoShu" runat="server" CssClass="text" MaxLength="4"
                                Width="250px"></asp:TextBox>&nbsp; <span class="text_pt">增加一经验需要积累的秒数</span><asp:RequiredFieldValidator ID="RequiredFieldValidator3"
                                    runat="server" ControlToValidate="ZengJiaYiJingYanJiLeiMiaoShu" ErrorMessage="RequiredFieldValidator"
                                    SetFocusOnError="True">积累秒数不能为空</asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="ZengJiaYiJingYanJiLeiMiaoShu"
                                ErrorMessage="RegularExpressionValidator" SetFocusOnError="True" ValidationExpression="^\d{1,4}">累积秒数只能是数字组成</asp:RegularExpressionValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 200px">
                            &nbsp; <span class="text_bt">升级是否消息提醒</span></td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:RadioButton ID="ShengJiShiFouXiaoXiTiXing_T" runat="server" GroupName="ShengJiShiFouXiaoXiTiXing"
                                Text="提醒" onclick="LOAD()" />
                            <asp:RadioButton ID="ShengJiShiFouXiaoXiTiXing_F" runat="server" GroupName="ShengJiShiFouXiaoXiTiXing"
                                Text="不提醒" onclick="LOAD()" />&nbsp; <span class="text_pt">用户升级后是否向用户发送一条系统消息</span></td>
                    </tr>
                    <tr id="TD_ShengJiXinXi">
                        <td style="width: 200px">
                            &nbsp; <span class="text_bt">升级信息提示</span></td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="ShengJiXinXiTiShi" runat="server" CssClass="text" Height="130px"
                                MaxLength="1000" TextMode="MultiLine" Width="400px"></asp:TextBox>&nbsp; <span class="text_pt">用户升级后消息的内容。$等级$:用户现在的等级。$增加积分$:用户增加的积分。$积分$:用户现在的总积分。</span><asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator4" runat="server" ControlToValidate="ShengJiXinXiTiShi"
                                    ErrorMessage="RequiredFieldValidator">升级信息提示不能为空</asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 200px">
                        </td>
                        <td>
                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                            <asp:Button ID="Button1" runat="Server" Text="保存设置" CssClass="but" />
                            &nbsp; &nbsp; &nbsp;&nbsp;
                            <input type="reset" value="重新填写" class="but" />
                    </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
