<%@ page language="C#" autoeventwireup="true" inherits="Admin_Statistics_Member_Statistics, Huibo.Net" enableviewstatemac="false" enableEventValidation="false" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!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="../style/StyleSheet.css" type="text/css" rel="stylesheet" />
    <link href="../style/workplace-merge.css" rel="stylesheet" />
    <link href="../style/index-new-merge.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True"
            EnableScriptLocalization="True">
        </asp:ScriptManager>
        <div style="width: 99%; text-align: center;">
            <div class="mod-wp-win">
                <div class="win-head-wrap">
                    <div class="win-head" id="mod-info-center-head">
                        <p>
                            统计分析</p>
                    </div>
                </div>
                <div class="mod-info-center clr">
                    <div class="DLBoder">
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr style="height: 25px;">
                                <td class="DLBodertd" style="height: 22px; text-align: right; width: 526px">
                                    <asp:Label ID="Label2" runat="server" Text="开始时间："></asp:Label></td>
                                <td class="DLBodertd" style="height: 22px">
                                    <div style="text-align: left">
                                        &nbsp;<asp:TextBox ID="AjaxDateFrom" runat="server"></asp:TextBox>
                                        <asp:ImageButton runat="Server" ID="CalendarAjaxFrom" CssClass="MarginTop" ImageUrl="~/Admin/images/Calendar.gif"
                                            AlternateText="Click to show calendar" />
                                        <cc1:CalendarExtender ID="CalendarExtender2" runat="server" PopupButtonID="CalendarAjaxFrom"
                                            TargetControlID="AjaxDateFrom">
                                        </cc1:CalendarExtender>
                                    </div>
                                </td>
                            </tr>
                            <tr style="height: 25px;">
                                <td class="DLBodertd" style="text-align: right; width: 526px;">
                                    <asp:Label ID="Label1" runat="server" Text="结束时间："></asp:Label></td>
                                <td class="DLBodertd">
                                    <div style="text-align: left">
                                        &nbsp;<asp:TextBox ID="AjaxDateTo" runat="server"></asp:TextBox>
                                        <asp:ImageButton runat="Server" ID="CalendarAjaxTo" CssClass="MarginTop" ImageUrl="~/Admin/images/Calendar.gif"
                                            AlternateText="Click to show calendar" />
                                        <cc1:CalendarExtender ID="CalendarExtender1" runat="server" PopupButtonID="CalendarAjaxTo"
                                            TargetControlID="AjaxDateTo">
                                        </cc1:CalendarExtender>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="DLBodertd" align="center" colspan="2">
                                    <asp:Button ID="Statistics" runat="server" Height="22px" Text="统计" Width="50px" OnClick="Statistics_Click" /></td>
                            </tr>
                        </table>
                    </div>
                    <div style="height: 30px;">
                    </div>
                    <div class="DLBoder">
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                            <tr style="height: 25px;">
                                <td class="DLBodertd" style="width: 15%;">
                                    用户查找&nbsp;</td>
                            </tr>
                            <tr>
                                <td class="DLBodertd" style="vertical-align: middle; text-align: center; height: 30px;">
                                    <asp:Label ID="Label3" runat="server" Text="按用户名查找:"></asp:Label>
                                    <asp:TextBox ID="namekey" runat="server" Width="122px"></asp:TextBox>&nbsp;&nbsp;&nbsp;<asp:CheckBox
                                        ID="Fuzzy" runat="server" Text="模糊查询" />
                                    <asp:Button ID="query" runat="server" Text="查询" Height="22px" Width="50px" OnClick="query_Click" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div style="height: 30px;">
                    </div>
                    <div class="DLBoder">
                        <asp:DataList ID="UserList" runat="server" Width="100%" OnItemDataBound="UserList_ItemDataBound">
                            <HeaderTemplate>
                                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr style="height: 25px;">
                                        <td class="DLBodertd" style="width: 25%;">
                                            会员等级
                                        </td>
                                        <td class="DLBodertd" style="width: 25%;">
                                            会员名称
                                        </td>
                                        <td class="DLBodertd" style="width: 25%;">
                                            销售数量
                                        </td>
                                        <td class="DLBodertd" style="width: 25%;">
                                            销售额
                                        </td>
                                    </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr>
                                    <td class="DLBodertd" align="center">
                                        <asp:Label ID="vip" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.vip")%>'></asp:Label>
                                    </td>
                                    <td class="DLBodertd" align="center">
                                        <asp:Label ID="username" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.username")%>'></asp:Label>
                                    </td>
                                    <td class="DLBodertd" align="center">
                                        <asp:Label ID="Num" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.username")%>'></asp:Label>件
                                    </td>
                                    <td class="DLBodertd" align="center">
                                        ￥<asp:Label ID="Amount" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.username")%>'></asp:Label>元
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                                </table>
                            </FooterTemplate>
                        </asp:DataList>
                        <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td class="DLBodertd" style="text-decoration: none; height: 30px; vertical-align: middle;"
                                    align="right">
                                    <asp:TextBox ID="PageCount" runat="server" Text="1" Visible="False"></asp:TextBox>&nbsp;
                                    <asp:Label ID="PageEnd" runat="server" Width="58px" Visible="False"></asp:Label>
                                </td>
                            </tr>
                        </table>
                        <table style="text-align: left; width: 100%;" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="text-decoration: none;" align="center">
                                    <asp:Label ID="Label5" runat="server" Text="共"></asp:Label>
                                    <asp:Label ID="Num" runat="server" Text="0"></asp:Label>
                                    <asp:Label ID="Label8" runat="server" Text="个商品"></asp:Label>
                                    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" CssClass="LinkButton">首页</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click" CssClass="LinkButton">上一页</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton3" runat="server" OnClick="LinkButton3_Click" CssClass="LinkButton">下一页</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton4" runat="server" OnClick="LinkButton4_Click" CssClass="LinkButton">末页</asp:LinkButton>
                                    <asp:Label ID="Label7" runat="server" Text="页次："></asp:Label>
                                    <asp:Label ID="PageNum" runat="server" Text="1"></asp:Label>
                                    <asp:Label ID="Label9" runat="server" Text="页"></asp:Label>
                                    转到：<asp:TextBox ID="PageSize" Width="20px" runat="server" Text="1"></asp:TextBox>&nbsp;<asp:Button
                                        ID="Button1" runat="server" Height="20px" Text="跳转" Width="50px" OnClick="Button1_Click" /></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
