<%@ Page Title="" Language="C#" MasterPageFile="~/Master/UserMaster.master" CodeBehind="ScoreLogList.aspx.cs" Inherits="WAP2P.Web.PC.User.Reward.ScoreLogList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <div class="m-userbox">
        <dl class="ui-tab">
            <dt><a href="javascript:void(0);" class="on">积分记录</a></dt>
            <dt><a href="ScoreExchangeList<% =PageBase.PageExt %>">兑换记录</a></dt>
            <dd>
                <div class="m-prompt pl10 pr10 mt20">
                    <div class="prompt-left g-left mt10">
                        您当前可用积分：
                        <span class="fcred-3 g-fbold fs16 mt10 mb5 g-fcenter g-block"><% =CurrentUser.Score %> 分</span>
                    </div>
                    <div class="prompt-small g-right">
                        <p>积分作为在积分商城中进行兑换的唯一凭证，可以通过投标，认证，等多种方式进行获取。</p>
                        <p>详细情况具体请查看 <a href="/Help/" target="_blank">帮助中心</a>。</p>
                    </div>
                </div>
                <form action="?action=search" method="get" class="search"></form>
                <table class="table-normal mt25 js-ajaxlist">
                    <tr>
                        <th style="width: 50%;" class="g-fleft pl30">变更原因</th>
                        <th style="width: 25%;">异动值</th>
                        <th style="width: 25%;">操作时间</th>
                    </tr>
                </table>
            </dd>
        </dl>
    </div>
</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.Member.ScoreLog">
        <ItemTemplate>
            <tr>
                <td class="g-fleft pl20"><span title="<%# Item.Op %>"><%# Item.Op %></td>
                <td><%# Item.Value > 0 ? string.Format("<span class=\"fcred-3\">{0}</span>",Item.Value) : string.Format("<span class=\"fcgreen-3\">{0}</span>",Item.Value)%></td>
                <td><%# Item.CreateAt.ToDateTimeString() %></td>
            </tr>
        </ItemTemplate>
        <EmptyTemplate>
            <tr>
                <td colspan="3" class="g-fleft">暂无数据。</td>
            </tr>
        </EmptyTemplate>
    </ruson:Repater>
    <tr class="pager">
        <td colspan="3">
            <div class="ui-pages g-fright">
                <ruson:Pager runat="server" ID="pages" CssClass="pages" />
                <a href="<% =Request.RawUrl.UrlEncodeParam() %>" class="g-hide"></a>
            </div>
        </td>
    </tr>
</asp:Content>
