<%@ 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/hmfaDetails.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">
 		var userName="<%=session.getAttribute("uName")%>";
 		if(userName=="null"){
 			window.location.href="<%=request.getContextPath()%>/LetouBack/login.jsp";
 		}
 		function cancel(_this){
 			$(_this).hide(400);
 		}
		$(function(){
			$('#startDate,#endDate').datepick();
			 var d = new Date();
			 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>
			</tr>
			<tr>
				<td style="font:12px Arial;">状态:</td>
				<td>
					<select id="checkStatus">
						<option value="1">已分配</option>
						<option value="0">未分配</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><input type="button" onClick="hmfaList(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_header2'>方案编号</td>
					<td align='center' class='tab_header2'>发起人</td>
					<td align='center' class='tab_header2'>彩种</td>
					<td align='center' class='tab_header2'>过关方式</td>
					<td align='center' class='tab_header2'>投注金额</td>
					<td align='center' class='tab_header2'>倍数</td>
					<td align='center' class='tab_header2'>投注时间</td>
					<td align='center' class='tab_header2'>操作</td>
				</tr>
			</thead>
			<tbody class="context">
			</tbody>
		</table>
		<table id="num_tab"  cellpadding="0" cellspacing="0">
			<tr>
				<td style="font-size:18px;">总记录数:</td>
				<td style="color:red;font-size:18px;" id='num_id'></td>
				<td><font style="margin-left:10;font-size:18px;">不出票金额:</font></td>
				<td style="color:red;font-size:18px;" id='notPrintBets'></td>
				<td><font style="margin-left:10;font-size:18px;">出票金额:</font></td>
				<td style="color:red;font-size:18px;" id='printBets'></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>
