<%@ page language="C#" masterpagefile="~/User/Default.master" autoeventwireup="true" inherits="User_Profile_ExChangeRecord, App_Web_h0t5nwk3" clientidmode="Static" validaterequest="false" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<asp:Content ContentPlaceHolderID="head" runat="Server">
    <title>我的积分</title>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="Content">
	<ol class="breadcrumb">
    	<li>您现在的位置：<a title="网站首页" href="/"><%= Call.SiteName%></a></li>
        <li><a title="会员中心" href="/User/Default.aspx">会员中心</a></li>
        <li class="active">兑换记录</li>
    </ol>
    <div>
        <table class="table table-striped table-bordered table-hover">
            <tr>
                <td colspan="6" class="text-center">
                    兑换记录
                </td>
            </tr>
            <tr>
                <th align="center" width="20%">申请时间</th>
                <th align="center" width="10%">卡类别</th>
                <th align="center" width="10%">卡信息</th>
                <th align="center" width="30%">备注</th>
                <th align="center" width="10%">确认日期</th>
                <th align="center" width="10%">兑换状态</th>
            </tr>
            <asp:Repeater ID="repf" runat="server">
                <ItemTemplate>
                    <tr>
                        <td align="center" width="20%">
                            <asp:HiddenField ID="hfId" runat="server" Value='<%#Eval("id") %>' />
                            <asp:Label ID="lblOrderData" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"OrderData","{0:yyyy-MM-dd}") %>'></asp:Label></td>
                        <td align="center" width="10%">
                            <asp:Label ID="lblCardType" runat="server" Text='<%# GetCardType(Eval("CardType","{0}")) %>'></asp:Label></td>
                        <td align="center" width="10%">
                            <asp:Label ID="lblCardinfo" runat="server" Text='<%#GetCardinfo(Eval("ShopCardId","{0}")) %>'> </asp:Label></td>
                        <td align="center" width="30%">
                            <asp:Label ID="lblRemark" runat="server" Text='<%#GetRemark(Eval("remark","{0}"))%>'></asp:Label></td>
                        <td align="center" width="10%">
                            <asp:Label ID="lblconfirmData" runat="server" Text='<%#GetConfirmData(Eval("confirmData","{0}"),Eval("confirmState","{0}")) %>'></asp:Label></td>
                        <td align="center" width="10%">
                            <asp:Label ID="lblDstate" runat="server" Text='<%#GetState(Eval("State","{0}")) %>'></asp:Label></td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            <tr>
                <td colspan="6" align="center">
                    共
                    <asp:Label ID="Allnum" runat="server" Text=""></asp:Label>
                    条信息
                    <asp:Label ID="Toppage" runat="server" Text="" />
                    <asp:Label ID="Nextpage" runat="server" Text="" />
                    <asp:Label ID="Downpage" runat="server" Text="" />
                    <asp:Label ID="Endpage" runat="server" Text="" />
                    页次：
                    <asp:Label ID="Nowpage" runat="server" Text="" />
                    /
                    <asp:Label ID="PageSize" runat="server" Text="" />
                    页 <span style="text-align: center">
                        <asp:TextBox ID="txtPage" runat="server" AutoPostBack="true" class="l_input" Width="22px"  OnTextChanged="txtPage_TextChanged"></asp:TextBox>
                    </span>条信息/页  转到第
                    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"></asp:DropDownList>
                    页
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
