<%@ Page Title="" Language="C#" MasterPageFile="Site.Master" AutoEventWireup="true" CodeBehind="claim.aspx.cs" Inherits="FanXian.Web.claim" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">认领返现</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <h2>填写认领返现表单</h2>
    <form id="aspnetForm" runat="server">
    <table border="1" bordercolor="#DDDDDD" cellpadding="5" cellspacing="0" style="border-collapse:collapse;">
        <tr>
            <td align="right"><b>商品名称</b></td>
            <td class="gotoitem">
                <h1><a href="search?q=%3Fid%3D{item:item_num}">{item:item_title}</a></h1>
            </td>
        </tr>
        <tr>
            <td align="right"><b>淘宝订单编号</b></td>
            <td>
                {item:trade_id_hidden}
            </td>
        </tr>
        <tr>
            <td align="right"><b>成交总金额</b></td>
            <td>
                <b style="font-size:16px;color:red;">{item:pay_price}</b>元
            </td>
        </tr>
        <tr>
            <td align="right"><b>成交笔数</b></td>
            <td>
                {item:item_num}
            </td>
        </tr>
        <tr>
            <td align="right"><b>返现比率</b></td>
            <td>
                {item:fact_commission_rate}%
            </td>
        </tr>
        <tr>
            <td align="right"><b>返现金额</b></td>
            <td style="color:Red;">
                <b style="font-size:16px;color:red;">{item:fact_commission}</b>元
            </td>
        </tr>
        <tr>
            <td align="right"><b>输入淘宝订单号</b></td>
            <td>
                <asp:TextBox ID="txt_trade_id" runat="server" />
                <script type="text/javascript">
                    function MM_openBrWindow(theURL, winName, features) { //v2.0
                        window.open(theURL, winName, features);
                    }
                </script>
                <a href="javascript:void(0);" onclick="MM_openBrWindow('content/images/fx-jyh.jpg','cjh','scrollbars=yes,width=630,height=612');">查看帮助图片</a>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txt_trade_id">请填写</asp:RequiredFieldValidator>
&nbsp;<br />
                <span style="color:#CCCCCC;">
                    请登陆淘宝网，在“我是买家”--“已买到的宝贝”处查看
                    <br />
                    如果一个订单号有多个商品，请右键点击商品标题，属性，查看?tradeID=后面的一串数字
                </span>
            </td>
        </tr>
        <tr>
            <td align="right"><b>您的支付宝</b></td>
            <td>
                <asp:TextBox ID="txt_alipay" runat="server">{user:alipay}</asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txt_alipay">请填写</asp:RequiredFieldValidator>
                <br />
                <span style="color:#CCCCCC;">返现成功后，我们将款打到你的支付宝上</span>
            </td>
        </tr>
        <tr>
            <td align="right"><b>支付宝帐户名</b></td>
            <td>
                <asp:TextBox ID="txt_alipay_name" runat="server">{user:alipay_name}</asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txt_alipay_name">请填写</asp:RequiredFieldValidator>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="msg1" ForeColor="Red" runat="server" />
            &nbsp;<asp:Label ID="msg2" ForeColor="Red" runat="server" />
                <br />
                <span style="color:#CCCCCC;">防止款子打错帐号</span>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                {template:status_0}
                    <asp:Button ID="btn1" Text="立即认领返现" runat="server" onclick="btn1_Click" />
                {/template:status_0}
                {item:status_text}
                <a href="list.aspx">返回列表</a>
                <asp:Label ID="msg" ForeColor="Red" runat="server" />
            </td>
        </tr>
    </table>
    </form>
</asp:Content>
