<%@ Page language="c#" Codebehind="CategoryStatistical.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Manage.CategoryStatistical" %>
<!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>
	    <!--#include file="inc/head.inc"-->
		<title>CategoryStatistical</title>
        <script type="text/javascript" src="inc/CategoryStatistical.js"></script>
        <script type="text/javascript" src="inc/ui.datepicker.cn.js"></script>
        <link type="text/css" rel="stylesheet" href="style/ui.datepicker.css" />
	</head>
	<body>
	    <div class="container">
		<div class="sub_container">
		<form id="Form1" method="post" runat="server">
            <div class="sub_container_title"><a href="<%=AdminDefault%>" target="_top">桌面</a><img src="images/admin_title.jpg" height=9px width=8px align="absmiddle" />按商品分类统计</div>
            
            <div class="sub_container_tabs">
                <div style="padding:10px;">
                    从<input type="text" id="txtDateTimeFrom" class="datepicker" readonly="readonly" />
                    至&nbsp;<input type="text" id="txtDateTimeTo" class="datepicker" readonly="readonly" />
            		<input type="button" id="btnSearch" value="查找" class="inputbtn" />
                </div>
                
                <div>
                    <div style="padding:20px 10px 5px 10px;"><font size="3"><strong>按类别统计</strong></font>
                    &nbsp;&nbsp;<asp:DropDownList ID="ddlCategory" runat="server"></asp:DropDownList></div>
                </div>
                <div style="width:40%;padding-left:10px;">
                    <table border="1" width="100%">
                        <tr align="center">
                            <th height="20px" width="35%">总订单金额</th>
                            <th width="35%">已归档订单金额</th>
                            <th width="30%">订单成功率</th>
                        </tr>
                        <tr align="center" id="categoryTotal">
                            <td>Loading...</td>
                            <td>Loading...</td>
                            <td>Loading...</td>
                        </tr>
                    </table>
                </div>
                
                <div>
                    <div style="padding:20px 10px 5px 10px;"><font size="3"><strong>销售排行&nbsp;&nbsp;(Top10)</strong></font>
                </div>
                <div style="width:50%;padding-left:10px;">
                    <table border="1" width="100%">
                        <tr align="center">
                        	<th width="10%">排行</th>
                            <th height="20px" width="40%">商品名称</th>
                            <th width="20%">浏览量</th>
                            <th width="10%">销售量</th>
                            <th width="20%">销售额</th>
                        </tr>
                        <tr align="center" id="categoryTopTotal">
                        	<td>Loading...</td>
                            <td>Loading...</td>
                            <td>Loading...</td>
                            <td>Loading...</td>
                        </tr>
                    </table>
                </div>
                <br /><br />
            </div>

		</form>
		</div>
		</div>
	</body>
    
    
    
    
    
    
    
    
    
    
    
    
</html>
