<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Import Namespace="Hishop.SystemServices" %>

<!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>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
    <script type="text/javascript" src="../../utility/Calendar/WdatePicker.js" ></script>
</head>
<body>
    <form id="form1" runat="server">

        <div>         

            <div class="PageTitleArea">
                <div class="PageTitle">
                    <asp:Literal ID="litManagerTop" runat="server" Text="<%$ Resources:UserStatistics, IDS_PageTitle %>" ></asp:Literal>
                </div>
                <div style="width: 80%;">
                     <asp:Literal ID="litManagerDisciption" runat="server" Text="<%$ Resources:UserStatistics, IDS_PageDesc %>" ></asp:Literal>
                </div>
            </div>
            <Hishop:UserStatistics ID="productSaleVisit" runat="server">
                <SkinTemplate>

<!--客户增长统计-->
<UI:TabStrip runat="server" ID="Tabs" Width="100%">
            <Tabs>
            <UI:TabStripTab ID="TabStripTab1" runat="server" Title="客户增长">
        <div class="PageTitleArea">
            <div style="margin-top:10px; margin-left:10px;"><asp:Literal Text="<%$ Resources:UserStatistics, IDS_Title_UserAddOfSevenDays %>" runat="server" ></asp:Literal></div>
            <div style="margin-top:10px;margin-left:10px;">
                <img id="imgChartOfSevenDay" runat="server" style=" border-width:1px; border-style:solid; border-color:#e3e7ea;" />
            </div>
                <div class="tjbt">
                    <span style="float:left;"><asp:Literal Text="<%$ Resources:UserStatistics, IDS_Title_UserAddOfMonth %>" runat="server" ></asp:Literal>( <strong><asp:Literal ID="litlOfMonth" runat="server" ></asp:Literal></strong> )</span><span style="float:right;"><Hishop:YearDropDownList ID="drpYearOfMonth" runat="server" /><asp:Literal Text="<%$ Resources:Resources, Utilty_String_Year %>" runat="server" /><Hishop:MonthDropDownList ID="drpMonthOfMonth" runat="server" /><asp:Literal Text="<%$ Resources:Resources, Utilty_String_Month %>" runat="server" /><asp:Button ID="btnOfMonth" runat="server" CssClass="inp_L1" Text="<%$ Resources:Resources, IDS_Button_ChaXun %>"/></span>
                </div>
            <div style="margin-top:10px; margin-left:10px;">
                <img id="imgChartOfMonth" runat="server" style=" border-width:1px; border-style:solid; border-color:#e3e7ea;" />
            </div>
                <div class="tjbt">
                    <span style="float:left;"><asp:Literal Text="<%$ Resources:UserStatistics, IDS_Title_UserAddOfYear %>" runat="server" ></asp:Literal>( <strong><asp:Literal ID="litlOfYear" runat="server" ></asp:Literal></strong> )</span><span style="float:right;"><Hishop:YearDropDownList ID="drpYearOfYear" runat="server" /><asp:Literal Text="<%$ Resources:Resources, Utilty_String_Year %>" runat="server" /></asp:Literal> <asp:Button ID="btnOfYear" runat="server" CssClass="inp_L1" Text="<%$ Resources:Resources, IDS_Button_ChaXun %>"  /></span>
                </div>
            <div style="margin-top:10px; margin-left:10px;">
                <img id="imgChartOfYear" runat="server" style=" border-width:1px; border-style:solid; border-color:#e3e7ea;"/>
            </div>
        </div>        
</UI:TabStripTab>
<UI:TabStripTab ID="TabStripTab2" runat="server" Title="客户统计">

<!--客户所在地分布-->

<div class="PageTitleArea" style="margin-top:10px;"> 
            <div class="grdGroupList">
                <Hishop:CustomGridView ID="grdUserStatistics" runat="server" AutoGenerateColumns="false" DataKeyNames="RegionId" ShowHeader="true" AllowSorting="true" SortOrder="DESC" CssClass="GridViewStyle" GridLines="None" RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle" >                                                        
                        <Columns>                                         
                            <asp:TemplateField HeaderText="<%$ Resources:UserStatistics,IDS_grdRegionName %>">
                                <ItemTemplate>
                                   <asp:Label runat="server" ID="lblReionName" Text= '<%# Eval("RegionName") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField> 
                            <asp:BoundField HeaderText="<%$ Resources:UserStatistics,IDS_grdUserCounts %>" DataField="UserCounts" SortExpression="UserCounts"/>                                                                                                                                                                                                                                                                                                   
                            <asp:TemplateField HeaderText="<%$ Resources:UserStatistics,IDS_grdLenth %>"  HeaderStyle-Width="60%">
                                <ItemTemplate>
                                    <img width='<%# string.Format("{0}px", Eval("Lenth")) %>' height="15" class="votelenth"/><asp:Label ID="lblPercentage" runat="server" text='<%# DataBinder.Eval(Container, "DataItem.Percentage", "{0:N2}") %>' ></asp:Label>%
                                </ItemTemplate>
                            </asp:TemplateField> 
                        </Columns>
                </Hishop:CustomGridView>
            </div>
            <div class="grdGroupTabhead">
                <UI:Pager runat="server" ListToPaging="grdUserStatistics" ID="pager" />
            </div>
 </div>
 </UI:TabStripTab>
</Tabs>
        </UI:TabStrip>
                </SkinTemplate>
            </Hishop:UserStatistics> 
        </div>
        <br />
        <div style="text-align:center">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright ID="SiteCopyright1" runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>
