<%@ Page Title="" Language="C#" MasterPageFile="../BaseMaster.Master" CodeBehind="ReservationInfoList.aspx.cs" Inherits="WAP2P.Web.PC.Admin.BorrowLoan.ReservationInfo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="header" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <dl class="ui-tabs">
        <dt><a href="javascript:" class="on">登记资金列表</a></dt>        
        <dd>
            <form action="?action=search" method="get" class="m-search">
                <table class="m-criteria" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <th>登记筛选:</th>
                        <td>                            
                            <ruson:Select runat="server" ID="type" FillRequestValue="true">
                                <option value="用户名">用户名</option>                               
                            </ruson:Select>
                            <input type="text" size="35" name="key" value="<% =Request.QueryString["key"].HtmlEncode() %>" />
                            <span class="ml20 js-inlinesubmit"><input type="submit" class="btn-base c-priority iconfont" value="&#xe60f; 搜索" /><input type="reset" class="btn-base c-normal iconfont" value="&#xe670; 清空条件" /></span>
                        </td>
                    </tr>                    
                </table>
            </form>
            <div class="m-content">
                <table class="m-list" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <th width="15%">用户名</th>
                        <th width="15%">登记金额</th>
                        <th width="15%">有效期</th>
                        <th width="40%" class="g-fleft">备注说明</th>
                        <th width="15%">最后登记日</th>
                    </tr>
                </table>
            </div>
        </dd>
    </dl>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="list" runat="server">
    <ruson:Repater runat="server" ID="rptList" ItemType="WAP2P.BorrowLoan.ReservationInfo">
        <ItemTemplate>
            <tr id="tr<%# Item.Id %>">
                <td><%# GetUserDisplay(Item.Id, Item.UserName) %></td>
                <td><%# Item.Amount.ToMoneyString() %> 元</td>
                <td><%# Item.Expires.ToDateTimeString("长期") %></td>
                <td class="g-fleft"><span title="<%# Item.Remark.HtmlEncode() %>"><%# Item.Remark.LeftX(50) %></span></td>
                <td><%# Item.LastAt.ToDateTimeString() %></td>

            </tr>
        </ItemTemplate>
        <EmptyTemplate>
            <tr>
                <td colspan="5" class="g-fleft">暂无数据。</td>
            </tr>
        </EmptyTemplate>
    </ruson:Repater>
    <tr class="pager">
        <td colspan="5"><ruson:Pager runat="server" ID="pages" CssClass="pages" /><a href="<% =Request.RawUrl %>" class="g-hide"></a></td>
    </tr>
</asp:Content>
