<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>竞彩乐后台管理系统</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="<%=request.getContextPath()%>/LetouBack/js/jqy.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/LetouBack/js/marketAccount.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/LetouBack/js/jquery.datepick.js"></script>
	<link href="<%=request.getContextPath()%>/LetouBack/css/jquery.datepick.css" rel="stylesheet" type="text/css">
	<link href="<%=request.getContextPath()%>/LetouBack/css/fzczManage.css" rel="stylesheet" type="text/css">
	<link href="<%=request.getContextPath()%>/LetouBack/css/public.css" rel="stylesheet" type="text/css">
	<link href="<%=request.getContextPath()%>/LetouBack/css/spfManage.css" rel="stylesheet" type="text/css">
	<script type="text/javascript">
		$(function(){
			$('#startDate,#endDate').datepick();
			 var d = new Date();
			 d.setDate(d.getDate()-1);
			 var year = d.getFullYear();
			 var month = d.getMonth()+1;
			 var day = d.getDate();
			 if(month<10){
				month="0"+month;
			 }
			 if(day<10){
				day="0"+day;
			 }
			$('#startDate').val(year+"-"+month+"-"+day);
			$('#endDate').val(year+"-"+month+"-"+day);
 		});
 	</script>
  </head>
  
  <body onLoad="load()">
	<div class='header'>
		<ul>
			<li class='header_jt'></li>
			<li class='header_text'>销售统计</li>
		</ul>
	</div>
	<div>
		<table>
			<tr>
				<td style="font:12px Arial;">日期:</td>
				<td>
					<input type="text" size='8' name="date" id="startDate" class="date_input" />
					<input type="text" size='8' name="date" id="endDate" class="date_input" />
				</td>
				<td><input type="button" onClick="marketAccountList(1);" value="查询" style="padding-top:2px;"/></td>
			</tr>
		</table>
	</div>
	<div id="data" style="clear:both;">
		<table class='center_context_tab' width="100%" cellspacing="0" cellpadding="0">
			<thead>
				<tr>
					<td align='center' class='tab_header'>统计日期</td>
					<td align='center' class='tab_header'>投注</td>
					<td align='center' class='tab_header'>返奖</td>
					<td align='center' class='tab_header'>网银充值</td>
					<td align='center' class='tab_header'>辅助充值</td>
					<td align='center' class='tab_header'>投注返点</td>
					<td align='center' class='tab_header'>上线返点</td>
					<td align='center' class='tab_header'>提现</td>
					<td align='center' class='tab_header'>方案提成</td>
					<td align='center' class='tab_header'>活动奖金</td>
					<td align='center' class='tab_header'>用户余额</td>
				</tr>
			</thead>
			<tbody class="context">
				
			</tbody>
		</table>
		<table id="num_tab"  cellpadding="0" cellspacing="0">
			<tr>
				<td align="left">总记录数: <font color="red" id="count"></font></td>
				<td align="left">总投注: <font color="red" id="betSum"></font></td>
				<td align="left">总返奖: <font color="red" id="awardSum"></font></td>
				<td align="left">总网银充值: <font color="red" id="bankChargeSum"></font></td>
				<td align="left">总辅助充值: <font color="red" id="handChargeSum"></font></td>
				<td align="left">总投注返点: <font color="red" id="betRebateSum"></font></td>
				<td align="left">总上线返点: <font color="red" id="onLineRebateSum"></font></td>
				<td align="left">总提现: <font color="red" id="carrySum"></font></td>
				<td align="left">总方案提成: <font color="red" id="schemeRebateSum"></font></td>
				<td align="left">总活动奖金: <font color="red" id="activitySum"></font></td>
				<!--<td align="left">总用户余额: <font color="red" id="userMoneySum"></font></td>-->
			</tr>
		</table>
		<table id="page_tab" cellpadding="0" cellspacing="0">
			<tr>
				<td align="left" id='pageNum'></td>
				<td align="left" ><a id='begin' href="javascript:void(0)" onclick="checkPage(this)">第一页<a></td>
				<td align="left" ><a id='back'  href="javascript:void(0)" onclick="checkPage(this)">上一页<a></td>
				<td align="left" ><a id='next'  href="javascript:void(0)" onclick="checkPage(this)">下一页<a></td>
				<td align="left" ><a id='aa'  href="javascript:void(0)" onclick="checkPage(this)">后一页<a></td>
			</tr>
		</table>
	</div>
  </body>
</html>
