<%@ page language="C#" autoeventwireup="true" inherits="Admin_MemberRank_Operate, ShopNum1Deploy" %>

<%@ Register src="UserControl/MessageShow.ascx" tagname="MessageShow" 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">
    <title>Untitled Page</title>
        <link type="text/css" rel="Stylesheet" href="css/index.css" /> 
</head>
<body style="padding:0; background-image: url(images/Bg_right.gif); background-repeat:repeat;">
    <form id="form1" runat="server">
        <div class="navigator">【 <asp:Label ID="LabelPageTitle" runat="server" Font-Bold="True" Text="新增会员等级"></asp:Label> 】</div>
        <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
        <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
 
            <tr>
                <td align="right" width="20%">
                    <asp:Label ID="LabelName" runat="server" Text="会员等级名称："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxName" runat="server" Width="300"></asp:TextBox>
        <asp:Label ID="Label3" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" runat="server" 
                        ControlToValidate="TextBoxName" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorName" 
                        runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                        ErrorMessage="标题最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelScore" runat="server" Text="积分满足点："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxSocre" runat="server"  Width="300" ></asp:TextBox>
        <asp:Label ID="Label9" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidatorSocre" runat="server" 
                        ControlToValidate="TextBoxSocre" Display="Dynamic" 
                        ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorSocre" 
                        runat="server" ControlToValidate="TextBoxSocre" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr style="display:none">
                <td align="right" >
    
                    <asp:Label ID="LabelPayoutCount" runat="server" Text="交易量满足点："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxPayoutCount" runat="server"  Width="300" Text="0"></asp:TextBox>
        <asp:Label ID="Label10" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidatorPayoutCount" runat="server" 
                        ControlToValidate="TextBoxPayoutCount" Display="Dynamic" 
                        ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorPayoutCount" 
                        runat="server" ControlToValidate="TextBoxPayoutCount" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelPayoutMoney" runat="server" Text="交易额满足点："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxPayoutMoney" runat="server"  Width="300"></asp:TextBox>
        <asp:Label ID="Label11" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidatorPayoutMoney" runat="server" 
                        ControlToValidate="TextBoxPayoutMoney" Display="Dynamic" 
                        ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorPayoutMoney" 
                        runat="server" ControlToValidate="TextBoxPayoutMoney" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelDiscount" runat="server" Text="等级折扣："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxDiscount" runat="server"  Width="300"></asp:TextBox>
        <asp:Label ID="Label4" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                    <asp:Label ID="Label8" runat="server" ForeColor="Red" Text="(如:1,2,3...3表示打3折)"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidatorName0" runat="server" 
                        ControlToValidate="TextBoxDiscount" Display="Dynamic" 
                        ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorDiscount" 
                        runat="server" ControlToValidate="TextBoxDiscount" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelIsDefault" runat="server" Text="是否默认等级："></asp:Label>
                </td>
                <td align="left" >
                    <asp:CheckBox ID="CheckBoxIsDefault" runat="server" Text="是" />
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelMemo" runat="server" Text="备注："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxMemo" runat="server" Height="87px" TextMode="MultiLine" 
                        Width="80%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    &nbsp;</td>
                <td align="left" >
                    &nbsp;</td>
            </tr>
            <tr style="background-color:#EEEEEE;" class="btconfig">
             <td align="right" >
                
                </td>
                <td align="left" >
                     <div >
        <asp:Button ID="ButtonConfirm" runat="server" onclick="ButtonConfirm_Click" Text="确定" ToolTip="Submit"  cssclass="bt2"/>
                         <input ID="inputReset" runat="server"  type="reset" value="重置"  class="bt2"/>
                         <a href="MemberRank_List.aspx">
                         <img src="images/back.png" border="0" align="top" />
                         
                         </a>
                         <uc1:MessageShow ID="MessageShow" runat="server" Visible="False" />
                         </div>
                </td>  
            </tr>
        </table>
  
    <asp:HiddenField ID="hiddenGuid" runat="server" Value="0" />
    </form>
</body>
</html>
