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

<!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_DonatePoint_Localize1,赠送 %>"
            runat="server" /><pe:ShowPointName ID="ShowPointName4" 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="Point">
                <td class="ok_tab">
                    <asp:Localize ID="Localize4" Text="<%$ Res:Controls_ShowUserInfo_Localize5 , 可用 %>"
                        runat="server" /><pe:ShowPointName ID="ShowPointName2" runat="server" />：
                </td>
                <td>
                    <asp:Label ID="LblPoint" runat="server" Text="" />
                    <pe:ShowPointName ID="ShowPointName3" PointType="PointUnit" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="ok_tab">
                    <asp:Localize ID="Localize2" Text="<%$ Res: User_Info_DonatePoint_Localize2,获赠人的用户名： %>"
                        runat="server" />
                </td>
                <td>
                    <asp:TextBox ID="TxtDonateUserName" CssClass="inputxt" runat="server" />
                    <pe:RequiredFieldValidator ID="ValrTxtDonateUserName" ControlToValidate="TxtDonateUserName"
                        runat="server" SetFocusOnError="true" Display="Dynamic" ErrorMessage="<%$ Res: User_Info_DonatePoint_ValrTxtDonateUserName,获赠人的用户名不能为空！ %>" />
                </td>
            </tr>
            <tr>
                <td class="ok_tab">
                    <asp:Localize ID="Localize3" Text="<%$ Res: User_Info_DonatePoint_Localize3,赠送的 %>"
                        runat="server" /><pe:ShowPointName ID="ShowPointName1" runat="server" /><asp:Localize
                            ID="Localize5" Text="<%$ Res: User_Info_DonatePoint_Localize5,数： %>" runat="server" />
                </td>
                <td>
                    <asp:TextBox ID="TxtPoint" runat="server" CssClass="inputxt" Columns="8" MaxLength="8" />
                    <pe:RequiredFieldValidator ID="ValrTxtPoint" ControlToValidate="TxtPoint" runat="server"
                        SetFocusOnError="true" Display="Dynamic" ErrorMessage="<%$ Res: User_Info_DonatePoint_ValrTxtPoint,赠送的点券数不能为空！ %>" />
                    <asp:RegularExpressionValidator ID="ValgTxtPoint" runat="server" ControlToValidate="TxtPoint"
                        ErrorMessage="<%$ Res: User_Info_DonatePoint_ValgTxtPoint,赠送的点券数必须是大于0的整数！ %>"
                        ValidationExpression="^([1-9])(\d{0,})(\d{0,})$" Display="Dynamic" />
                </td>
            </tr>
        </table>
        <div class="ok_bottom">
            <asp:Button ID="BtnSubmit" runat="server" Text="<%$ Res: User_Info_DonatePoint_BtnSubmit,赠送 %>"
                OnClick="BtnSubmit_Click" CssClass="submit_button" />
        </div>
    </div>
    </form>
</body>
</html>
