<%@ Page language="c#" Codebehind="MemberStatistical.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Manage.MemberStatistical" %>
<!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>MemberStatistical</title>
        <script type="text/javascript" src="inc/MemberStatistical.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>
                    <div style="padding:20px 10px 5px 10px;"><font size="3"><strong>会员来源类型</strong></font>
                    &nbsp;&nbsp;
                        <select id="ddlFrom">
                        	<option value="0">网上注册</option>
                            <option value="1">电话注册</option>
                            <option value="2">会员推荐</option>
                            <option value="3">其它方式</option>
                        </select>
                    </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="memberTotal">
                            <td>Loading...</td>
                            <td>Loading...</td>
                            <td>Loading...</td>
                        </tr>
                    </table>
                </div>
                
                <div>
                    <div style="padding:20px 10px 5px 10px;float:left;"><font size="3"><strong>会员购物量(额)统计</strong></font></div>
                    
                    
                    <div style="padding:18px 10px 5px 10px; vertical-align:middle;">
                        从<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="width:50%;padding-left:10px;">
                    <table border="1" width="100%">
                        <tr align="center">
                        	<th width="10%">排行</th>
                            <th height="20px" width="30%">会员名</th>
                            <th width="20%">姓名</th>
                            <th width="20%" title="点击进行排序" style="cursor:pointer; color:blue;" name="sort1"><u>购物量▼</u></th>
                            <th width="20%" title="点击进行排序" style="cursor:pointer;" name="sort2"><u>购物额▼</u></th>
                        </tr>
                        <tr align="center" id="memberOrderTotal">
                        	<td>Loading...</td>
                            <td>Loading...</td>
                            <td>Loading...</td>
                            <td>Loading...</td>
                            <td>Loading...</td>
                        </tr>
                    </table>
                </div>
                <input type="hidden" id="sort" value="Order By Quantity Desc" />
                <br /><br />
            </div>

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