<%@ Page Title="批量增加会员积分" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" 
CodeBehind="BatchAddUserExp.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.Admin.User.BatchAddUserExp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="server">
    <pe:ExtendedSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="server">
    <table width="100%" border="0" cellpadding="2" cellspacing="1" class="border">
        <tr align="center">
            <td colspan="2" class="spacingtitle">
                <b>
                    <asp:Label ID="LblMsg" runat="server" Text="批量增加会员积分"></asp:Label></b>
            </td>
        </tr>
        <tr class="tdbg">
            <td style="width: 15%;" class="tdbgleft">
                <strong>选择会员：</strong></td>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:RadioButton ID="RadUserType0" GroupName="UserType" runat="server" Checked="true"
                                Text="所有会员" />
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td valign='top'>
                            <asp:RadioButton ID="RadUserType1" GroupName="UserType" runat="server" Checked="false"
                                Text="指定会员组" />
                        </td>
                        <td>
                            <asp:CheckBoxList ID="ChklUserGroupList" runat="server" RepeatColumns="5" Width="400px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td valign='top'>
                            <asp:RadioButton ID="RadUserType2" GroupName="UserType" runat="server" Checked="false"
                                Text="指定会员ID" />
                        </td>
                        <td>
                            <asp:TextBox ID="TxtUserID" runat="server" Height="20px" Width="350px"></asp:TextBox>&nbsp;&nbsp;用","隔开每个会员ID
                        </td>
                    </tr>
                    <tr>
                        <td valign='top'>
                            <asp:RadioButton ID="RadUserType3" GroupName="UserType" runat="server" Checked="false"
                                Text="指定会员注册日期范围" />
                        </td>
                        <td>
                            &nbsp;&nbsp;
                            开始日期：<pe:DatePicker ID="DpkStatrTime" IsLongDate="true" runat="server"></pe:DatePicker>
                                        <pe:RegexValidator ValidateType="Date" ID="VdateStartTime" Display="Dynamic" ControlToValidate="DpkStatrTime" runat="server"></pe:RegexValidator>
                            结束日期：<pe:DatePicker ID="DpkEndTime" IsLongDate="true" runat="server"></pe:DatePicker>
                                       <pe:RegexValidator ValidateType="Date" ID="VdateEndTime" Display="Dynamic" ControlToValidate="DpkEndTime" runat="server"></pe:RegexValidator>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr class="tdbg">
            <td style="width: 15%;" class="tdbgleft">
                <strong>增加积分：</strong></td>
            <td align="left">
                <asp:TextBox ID="TxtAddQAPoint" runat="server"  Columns="8" MaxLength="8"></asp:TextBox>
                 分
                <pe:RequiredFieldValidator ID="ValrAddQAPoint" ControlToValidate="TxtAddQAPoint" runat="server"
                    ErrorMessage="增加积分不能为空" Display="Dynamic"></pe:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="ValgAddQAPoint" runat="server" ControlToValidate="TxtAddQAPoint"
                    ErrorMessage="只能输入正整数" ValidationExpression="^([0-9])(\d{0,})(\d{0,})$" Display="Dynamic" />
            </td>
        </tr>
        <tr class="tdbg">
            <td style="width: 15%;" class="tdbgleft">
                <strong>备注：</strong></td>
            <td align="left">
                <asp:TextBox ID="TxtRemark" runat="server" Height="50px" Width="300px" 
                    Text="批量增加用户积分" TextMode="MultiLine" MaxLength="400"></asp:TextBox>
                <pe:RequiredFieldValidator ID="ValrRemark" Display="Dynamic" ControlToValidate="TxtRemark" runat="server"
                    ErrorMessage="备注不能为空"></pe:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValRemark" Display="Dynamic" ControlToValidate="TxtRemark" 
                Text="超过400字" ValidationExpression="^[\s\S]{0,400}$" runat="server" />
            </td>
        </tr>
    </table>
    <br />
    <center>
        <asp:Button ID="BtnSubmit" runat="server" Text="执行批处理" OnClick="BtnSubmit_Click" />
        <input name="Cancel" type="button" class="inputbutton" id="Cancel" value="取消" onclick="Redirect('../User/UserManage.aspx')" />
    </center>
    <br />
</asp:Content>
