<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExchangeValidDate.aspx.cs"
    Inherits="PowerEasy.Module.General.WebSite.User.Info.ExchangeValidDate" %>

<!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>
</head>
<body>
    <pe:ExtendedSiteMapPath ID="YourPosition" SiteMapProvider="UserMapProvider" runat="server" />
    <form id="MainForm" runat="server">
    <div class="model_info_one">
        <asp:Localize ID="Localize1" Text="<%$ Res: User_Info_ExchangeValidDate_Localize1,兑换有效期 %>"
            runat="server" />
    </div>
    <div class="model_info_content">
        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="table_style">
            <tr class="first" runat="server" id="Balance">
                <td class="ok_tab">
                    <asp:Localize ID="Localize11" Text="<%$ Res:Controls_ShowUserInfo_Localize3 , 资金余额： %>"
                        runat="server" />
                </td>
                <td>
                    <asp:Label ID="LblBalance" runat="server" Text="" />
                    <asp:Localize ID="Localize13" Text="<%$ Res:Controls_ShowUserInfo_Localize4 , 元 %>"
                        runat="server" />
                </td>
            </tr>
            <tr runat="server" id="UserExp">
                <td class="ok_tab">
                    <asp:Localize ID="Localize14" Text="<%$ Res:Controls_ShowUserInfo_Localize6 , 可用积分： %>"
                        runat="server" />
                </td>
                <td>
                    <asp:Label ID="LblUserExp" runat="server" Text="" />
                    <asp:Localize ID="Localize15" Text="<%$ Res:Controls_ShowUserInfo_Localize7 , 分 %>"
                        runat="server" />
                </td>
            </tr>
            <tr>
                <td class="ok_tab">
                    <asp:Label ID="LblValid" Text="<%$ Res: User_Info_ExchangeValidDate_LblValid,兑换有效期： %>"
                        runat="server" />
                </td>
                <td>
                    <p>
                        <asp:RadioButton ID="RadWithMoney" runat="server" GroupName="WithWhat" Checked="true" />
                        <asp:Localize ID="Localize2" Text="<%$ Res: User_Info_ExchangeValidDate_Localize2,使用资金余额：将 %>"
                            runat="server" />
                        <asp:TextBox ID="TxtMoney" CssClass="inputxt" runat="server" Text="10" Width="30"
                            Columns="8" MaxLength="8" />
                        <asp:Localize ID="Localize3" Text="<%$ Res: User_Info_ExchangeValidDate_Localize3,元兑换成有效期 %>"
                            runat="server" />
                        &nbsp;&nbsp;
                        <asp:Localize ID="Localize4" Text="<%$ Res: User_Info_ExchangeValidDate_Localize4,兑换比率： %>"
                            runat="server" /><asp:Literal ID="LitExMoney" runat="server" /><asp:Localize ID="Localize5"
                                Text="<%$ Res: User_Info_ExchangeValidDate_Localize5,元 %>" runat="server" />/<asp:Literal
                                    ID="LitExRMoney" runat="server" /><asp:Localize ID="Localize6" Text="<%$ Res: User_Info_ExchangeValidDate_Localize6,天 %>"
                                        runat="server" />
                        <pe:RequiredFieldValidator ID="ValrMoney" ControlToValidate="TxtMoney" Display="Dynamic"
                            SetFocusOnError="true" runat="server" ErrorMessage="<%$ Res: User_Info_ExchangeValidDate_ValrMoney,减去资金不能为空 %>"
                            ValidationGroup="Money" ShowRequiredText="false" />
                        <pe:RegexValidator ValidateType="Money" ID="ValMoney" runat="server" ControlToValidate="TxtMoney"
                            Display="Dynamic" SetFocusOnError="true" ValidationGroup="Money" />
                    </p>
                    <p>
                        <asp:RadioButton ID="RadWithUserExp" runat="server" GroupName="WithWhat" />
                        <asp:Localize ID="Localize7" Text="<%$ Res: User_Info_ExchangeValidDate_Localize7,使用经验积分：将 %>"
                            runat="server" />
                        <asp:TextBox ID="TxtUserExp" CssClass="inputxt" runat="server" Text="10" Width="30"
                            Columns="8" MaxLength="8" />
                        <asp:Localize ID="Localize8" Text=" <%$ Res: User_Info_ExchangeValidDate_Localize8, 分兑换成有效期  %> "
                            runat="server" />&nbsp;&nbsp;
                        <asp:Localize ID="Localize9" Text="<%$ Res: User_Info_ExchangeValidDate_Localize9,兑换比率： %>"
                            runat="server" /><asp:Literal ID="LitExUserExp" runat="server" /><asp:Localize ID="Localize10"
                                Text="<%$ Res: User_Info_ExchangeValidDate_Localize10,分/ %>" runat="server" /><asp:Literal
                                    ID="LitExRUserExp" runat="server" /><asp:Localize ID="Localize12" Text="<%$ Res: User_Info_ExchangeValidDate_Localize12,天 %>"
                                        runat="server" />
                        <pe:RequiredFieldValidator ID="ValrUserExp" ControlToValidate="TxtUserExp" Display="Dynamic"
                            SetFocusOnError="true" runat="server" ErrorMessage="<%$ Res: User_Info_ExchangeValidDate_ValrUserExp,减去积分不能为空 %>"
                            ValidationGroup="UserExp" ShowRequiredText="false" />
                        <asp:RegularExpressionValidator ID="ValgUserExp" runat="server" ControlToValidate="TxtUserExp"
                            ErrorMessage="<%$ Res: User_Info_ExchangeValidDate_ValgUserExp,只能输入正整数 %>" ValidationExpression="^([0-9])(\d{0,})(\d{0,})$"
                            Display="Dynamic" ValidationGroup="UserExp" />
                    </p>
                </td>
            </tr>
        </table>
        <div class="ok_bottom">
            <asp:Button ID="BtnSubmitMoney" runat="server" Text="<%$ Res: User_Info_ExchangeValidDate_BtnSubmitMoney,执行兑换 %>"
                OnClick="BtnMoneySubmit_Click" ValidationGroup="Money" CssClass="submit_button_four" />
            <asp:Button ID="BtnSubmitExp" runat="server" Text="<%$ Res: User_Info_ExchangeValidDate_BtnSubmitExp,执行兑换 %>"
                OnClick="BtnExpSubmit_Click" ValidationGroup="UserExp" CssClass="submit_button_four" />
        </div>
    </div>
    </form>
</body>
</html>
