<%@ page language="C#" masterpagefile="~/Member/MyShopMasterPage.master" autoeventwireup="true" inherits="Member_Shop_AdsClickRecorde, mallz" title="Untitled Page" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="pageTitle">未结广告收入：<asp:Literal ID="allAdsEP" runat="server" /> 个点击
        <asp:Button ID="Button1" runat="server" Text="结算收入" OnClick="CountAds" OnClientClick="return confirm('系统将您的广告收入转化为您的帐户积分，确定执行操作吗？')" />
    </div>
    <br />
    <div style="padding:3px;">推广地址：<%=config["SiteUrl"].ToString() %>/Click.aspx?uid=<%=user.UserID %></div>
    <br />
    <asp:GridView id="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ID" AllowPaging="True" PageSize="50" CssClass="tableHead">
            <Columns>
                <asp:BoundField ReadOnly="True" DataField="ID" HeaderText="编号" ItemStyle-Width="50px"></asp:BoundField>
                <asp:BoundField DataField="CreateTime" HeaderText="发生日期" ItemStyle-Width="150px"></asp:BoundField>
                <asp:BoundField DataField="ComeIP" HeaderText="来自IP" ItemStyle-Width="100px"></asp:BoundField>
                <asp:BoundField DataField="AddPoint" HeaderText="得到积分" ItemStyle-Width="100px"></asp:BoundField>
                <asp:TemplateField HeaderText="来源地址">
                    <ItemTemplate>
                        <div style="white-space:normal; word-break:break-all;"><asp:Literal ID="comeurl" runat="server" Text='<%# Eval("comeurl") %>' /></div>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
                    <EmptyDataTemplate>
                          
                    <table class="tableHeader" style="width:98%"><tr><th>编号</th><th>发生日期</th><th>来自IP</th><th>得到积分</th><th>来源地址</th></tr>
                    <tr><td colspan="5">没有符合查询条件的记录！</td></tr>
                    </table>
                    </EmptyDataTemplate>
    </asp:GridView>
    <div style="padding:5px;">共<asp:Label ID="AllRecorde" runat="server" />条记录</div>
    <div style="padding:3px;">注：系统只显示最近50条记录。</div>
</asp:Content>

