<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GatherList.aspx.cs" Inherits="JRAPI.Web.User.GatherList" %>
<%@ Register src="Foot.ascx" tagname="Foot" tagprefix="uc2" %>
<%@ Register Src="Top.ascx" TagName="Top" TagPrefix="uctop" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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 id="Head1" runat="server">
    <title>收款记录</title>    
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="../DatePicker/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <uctop:Top ID="top1" runat="server" hoverNum="2"/>
    <div id="content">
        <div class="box" id="ddgl">
            <p class="title">
                <b>销卡订单管理</b></p>
            <div class="cxtj">
                <div class="time">
                    支付时间<asp:TextBox ID="txtStartTime" runat="server" onClick="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" CssClass="Wdate"></asp:TextBox>至<asp:TextBox
                        ID="txtEndTime" runat="server" onClick="WdatePicker({startDate:'%y-%M-01 23:59:59',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" CssClass="Wdate"></asp:TextBox> </div>
               
                <div style="float: left;width: 94%;margin: 10px 0px 10px 0px">       
                <asp:Button ID="btnSaveExcel" style="float: right;margin-right:100px; " 
                        class="btn" runat="server" Text="导出Excel" onclick="btnSaveExcel_Click"/>    &nbsp;&nbsp;         
                    <asp:Button ID="btnSearch" style="float: right; margin-right:100px; " 
                        class="btn" runat="server" Text="开始查询" onclick="btnSearch_Click" />&nbsp;&nbsp;
                    
                </div>
                
               
            </div>
            <asp:Panel ID="pnlInfo" runat="server">
                <table class="table">
                    <tr>
                        <th>
                            GUID
                        </th>
                        <th>
                            订单号码
                        </th>
                        <th>
                            订单金额
                        </th>
                        <th>
                            订单备注
                        </th>
                        <th>
                            建立时间
                        </th>
                        <th>
                            订单状态
                        </th>

                    </tr>
                    <asp:Repeater ID="repInfo" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <a href="<%= JRAPI.Cache.ConfigCache.getSysConfigModel().SiteUrl %>/App/Gather.aspx?guid=<%# Eval("OrderGuid")%>" target="_blank"><%# Eval("OrderGuid")%></a>
                                </td>
                                <td>
                                    <%# Eval("LinkID")%>
                                </td>
                                <td>
                                    <%# Eval("OrderMoney")%>
                                </td>
                                <td>
                                    <%# Eval("OrderAttach")%>
                                </td>
                                <td>
                                    <%# Eval("CreateTime")%>
                                </td>
                                <td>
                                    <%# Eval("OrderStatus").ToString()=="1"?"成功":"支付中"%>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                        </FooterTemplate>
                    </asp:Repeater>
                </table>
            </asp:Panel>
            
            <table runat="server" id="tbcount" visible="false">
                <tr>
                    <td style="line-height: 18px">
                    </td>
                </tr>
            </table>
            <!-- pagination -->
            <div class="page">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" LastPageText="尾页"
                    NextPageText="下一页" PrevPageText="上一页" AlwaysShow="True" PageSize="10" UrlPageIndexName="pageindex"
                    UrlPaging="False" CustomInfoHTML="<span>共有%RecordCount%条数据,每页%PageSize%条,当前第%CurrentPageIndex%页,共%PageCount%页</span>"
                    ShowCustomInfoSection="Right" CssClass="pager" CustomInfoClass="results" CurrentPageButtonClass="current"
                    MoreButtonsClass="" Width="100%" PagingButtonLayoutType="UnorderedList" OnPageChanging="AspNetPager1_PageChanging"
                    NumericButtonCount="5">
                </webdiyer:AspNetPager>
            </div>
            <!-- end pagination -->
        </div>
    </div>
    <script type="text/javascript">        setTab('one', 6, 6);</script>
    <uc2:Foot ID="Foot1" runat="server" />
    </form>
</body>
</html>
