<%@ 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/statis.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/spfManage.css" rel="stylesheet" type="text/css">
 	<script type="text/javascript">
 		//var userName="<%=session.getAttribute("uName")%>";
 		//if(userName=="null"){
 			//window.location.href="<%=request.getContextPath()%>/LetouBack/login.jsp";
 		//}
 		//文本框获取焦点事件
 		function _onFocus(_this){
 			if($(_this).val()=='请输入用户名'){
 				$(_this).val('');
 			}
 		}
 		//文本框失去焦点事件
 		function _onBlur(_this){
 			if($(_this).val()==''){
 				$(_this).val('请输入用户名');
 			}
 		}
 		$(function(){
 			$('#startDate,#endDate').datepick();
 			var date = new Date();
 			var year =  date.getFullYear();
 			var month =  date.getMonth()+1;
 			if(month<10){
 				month="0"+month
 			}
 			var today = date.getDate()-1;
 			var tomorrow = date.getDate();
 			if(today<10){
 				today="0"+today;
 			}
 			if(tomorrow<10){
 				tomorrow="0"+tomorrow;
 			}
 			$('#startDate').val(year+"-"+month+"-"+today);
 			$('#endDate').val(year+"-"+month+"-"+tomorrow);
 		});
 		
 	</script>
  </head>
  
  <body onload='load()'>
	<div class='header'>
		<ul>
			<li class='header_jt'></li>
			<li class='header_text'>财务统计</li>
		</ul>
	</div>
	<div>
		<ul style="float:left;list-style:none;margin-top: 10px;margin-left: 10px;">
			<li style="float:left;line-height:22px;">
			<input type="text" style="color:#999999;" onFocus="javaScript:_onFocus(this)" onBlur="javaScript:_onBlur(this)" id='uName' value="请输入用户名"/>
			</li>
			
			<li style="float:left;">起始日期<input type="text" size='8' name="date" id="startDate" class="date_input" style="width: 185px;" /></li>
			<li style="float:left;">终止日期<input type="text" size='8' name="date" id="endDate" class="date_input" style="width: 185px;" /> </li>
			<li style="float:left"><input type="button" onClick="javascript:load()" style="padding-top:2px;" value="搜索"/></li>
		</ul>
		
	</div >
	<div 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>
				</tr>
			</thead>
			<tbody class="account">
				
			</tbody>
		</table>
		--><!--<table id="num_tab"  cellpadding="0" cellspacing="0">
			<tr>
				<td align="left" width="68">总数：</td>
				<td align="left" id='num_id'></td>
			</tr>
		</table>-->
		<span style="margin-left: 10px;">财务总体数据统计：</span>
		<table cellpadding="0" cellspacing="0" class='center_context_tab' style="margin-left: 10px;" width="60%">
			<!--<tr>
				<td align="left" id='pageNum'></td>
				<td align="left" ><a id='begin' href="javascript:void(0)" onclick="javascript:checkPage(this)">第一页<a></td>
				<td align="left" ><a id='back'  href="javascript:void(0)" onclick="javascript:checkPage(this)">上一页<a></td>
				<td align="left" ><a id='next'  href="javascript:void(0)" onclick="javascript:checkPage(this)">下一页<a></td>
				<td align="left" ><a id='last'  href="javascript:void(0)" onclick="javascript:checkPage(this)">后一页<a></td>
			</tr>-->
			<tr>
				<td align='right' class='tab_content' >总网银充值：</td>
				<td align="center" id='wycz' class='tab_content' >&nbsp;</td>
				<td align='right' class='tab_content' >总辅助充值：</td>
				<td align="center" id='fzcz' class='tab_content' >&nbsp;</td>
				<td align='right' class='tab_content' >总提现金额：</td>
				<td align="center" id='txMoney' class='tab_content'>&nbsp;</td>
			</tr>
			<tr>
				<td align='right' class='tab_content'>总已结算投注金额：</td>
				<td align="center" id='yjsMoney' class='tab_content' >&nbsp;</td>
				<td align='right' class='tab_content' >总未结算投注金额：</td>
				<td align="center" id='wjsMoney' class='tab_content' >&nbsp;</td>
				<td align='right' class='tab_content' >总中奖金额：</td>
				<td align="center" id='zjMoney' class='tab_content' >&nbsp;</td>
			</tr>
			<tr>
				<td align='right' class='tab_content'  >总用户账户余额：</td>
				<td align="center" id='balance' class='tab_content' colspan='5'>&nbsp;</td>
			</tr>
		</table>
		<span style="color: red">提示:总已结算投注金额:是出票成功后的投注总金额(出票成功2,准备搅奖5,已搅奖3)[后面的数字是状态代号]</span></br>
		<span style="color: red">提示:总未结算投注金额:是未出票或出票正在出票的投注总金额(未出票0,出票中1)[后面的数字是状态代号]</span>
	</div>

  </body>
</html>


