<%@ 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/kjManage.js"></script>
	<link href="<%=request.getContextPath()%>/LetouBack/css/vsManage.css" rel="stylesheet" type="text/css">
	<link href="<%=request.getContextPath()%>/LetouBack/css/kjManage.css" rel="stylesheet" type="text/css">
	
	<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">
	
	
 	<script type="text/javascript">
 		var userName="<%=session.getAttribute("uName")%>";
 		//if(userName=="null"){
 		//	window.location.href="<%=request.getContextPath()%>/LetouBack/login.jsp";
 		//}
 		$(function(){
 			$('#startDate,#endDate').datepick();
 		});
 	</script>
  </head>
  
  <body>
	<div class='header'>
		<ul>
			<li class='header_jt'></li>
			<li class='header_text'>开奖设置</li>
		</ul>
	</div>
	<div>
		<table>
			<td style="font:12px Arial;">开始时间:</td>
			<td ><input type="text" readOnly="readOnly" id='startDate' /></td>
			<td style="font:12px Arial;">截止时间:</td>
			<td><input type="text" readOnly="readOnly" id='endDate' /></td>
			<td><input type="button" onClick="javascript:search()" value="搜索" style="padding-top:2px;"/></td>
		</table>
	</div>
	<div>
		<table class='center_context_tab' width="100%" cellspacing="0" cellpadding="0">
			<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>
		</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>
		<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="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>
		</table>
	</div>
	<div class='kj_detail' id='kjDetail' style='display:none;'>
		<ul style="list-style:none;">
			<li class='text_f'>开奖详情</li>
		</ul>
		<table class='projectDetail' cellspacing="0" cellpadding="0" >
			<tr height="30">
				<td align="right">主队半场比分:</td>
				<td><input type="text" readOnly="readOnly" id='homeTeamBCScore'/></td>
				<td align="right">客队半场比分:</td>
				<td><input type="text" readOnly="readOnly" id='awayTeamBCScore'/></td>
				<td align="right">主队全场比分:</td>
				<td><input type="text" readOnly="readOnly" id='homeTeamQCScore'/></td>
				<td align="right">客队全场比分:</td>
				<td><input type="text" readOnly="readOnly" id='awayTeamQCScore'/></td>
			</tr>
			<tr height="30">
				<td align="right">让球胜平负单关赛果:</td>
				<td><input type="text" readOnly="readOnly" id='letdgResult'/></td>
				<td align="right">让球胜平负过关赛果:</td>
				<td><input type="text"/ readOnly="readOnly" id='letggResult'></td>
				<td align="right">让球胜平负单场浮动奖金额:</td>
				<td colspan="3"><input type="text" readOnly="readOnly" id='letdcMoney'/></td>
			</tr>
			<tr height="30">
				<td align="right">比分单关赛果:</td>
				<td ><input type="text" readOnly="readOnly" id='scoredgResult'/></td>
				<td align="right">比分过关赛果:</td>
				<td><input type="text" readOnly="readOnly" id='scoreggResult'/></td>
				<td align="right">比分单场浮动奖金额:</td>
				<td colspan="3"><input type="text" readOnly="readOnly" id='scoredcMoney'/></td>
			</tr>
			<tr>
				<td align="right">总进球单关赛果:</td>
				<td ><input type="text" readOnly="readOnly" id='zjqdgResult'/></td>
				<td align="right">总进球数过关赛果:</td>
				<td><input type="text" readOnly="readOnly" id='zjqggResult'/></td>
				<td align="right">总进球单场浮动奖金额:</td>
				<td colspan="3"><input type="text" readOnly="readOnly" id='zjqdcMoney'/></td>
			</tr>
			<tr height="30">
				<td align="right">半全场单关赛果:</td>
				<td><input type="text" readOnly="readOnly" id='bqcdgResult'/></td>
				<td align="right">半全场过关赛果:</td>
				<td ><input type="text" readOnly="readOnly" id='bqcggResult'/></td>
				<td align="right">半全场单场浮动奖金额:</td>
				<td colspan="3"><input type="text" readOnly="readOnly" id='bqcdcMoney'/></td>
			</tr>
		</table>
		<ul style="list-style:none;">
			<li style="margin-left:340px;">
				<input type="button" value="关闭" onClick="javascript:closeWindow('kjDetail')" style="padding-top:2px;"/>
			</li>
		</ul>
	</div>
	<div class='kj_detail' id='kjSet'>
		<ul style="list-style:none;">
			<li class='text_f'>开奖设置</li>
		</ul>
		<table class='projectDetail' cellspacing="0" cellpadding="0" >
			<tr height="30">
				<td align="right">主队半场比分:</td>
				<td>
					<select id='s_homeTeamBCScore'>
						<option value="-1">请选择</option>
						<option value="胜其它">胜其它</option>
						<option value="1:0">1:0</option>
						<option value="2:0">2:0</option>
						<option value="2:1">2:1</option>
						<option value="3:0">3:0</option>
						<option value="3:1">3:1</option>
						<option value="3:2">3:2</option>
						<option value="4:0">4:0</option>
						<option value="4:1">4:1</option>
						<option value="4:2">4:2</option>
						<option value="5:0">5:0</option>
						<option value="5:1">5:1</option>
						<option value="5:2">5:2</option>
						<option value="平其它">平其它</option>
						<option value="0:0">0:0</option>
						<option value="1:1">1:1</option>
						<option value="2:2">2:2</option>
						<option value="3:3">3:3</option>
						<option value="负其它">负其它</option>
						<option value="0:1">0:1</option>
						<option value="0:2">0:2</option>
						<option value="1:2">1:2</option>
						<option value="0:3">0:3</option>
						<option value="1:3">1:3</option>
						<option value="2:3">2:3</option>
						<option value="0:4">0:4</option>
						<option value="1:4">1:4</option>
						<option value="2:4">2:4</option>
						<option value="0:5">0:5</option>
						<option value="1:5">1:5</option>
						<option value="2:5">2:5</option>
					</select>
				</td>
				<td align="right">客队半场比分:</td>
				<td>
					<select id='s_awayTeamBCScore'>
						<option value="-1">请选择</option>
						<option value="胜其它">胜其它</option>
						<option value="1:0">1:0</option>
						<option value="2:0">2:0</option>
						<option value="2:1">2:1</option>
						<option value="3:0">3:0</option>
						<option value="3:1">3:1</option>
						<option value="3:2">3:2</option>
						<option value="4:0">4:0</option>
						<option value="4:1">4:1</option>
						<option value="4:2">4:2</option>
						<option value="5:0">5:0</option>
						<option value="5:1">5:1</option>
						<option value="5:2">5:2</option>
						<option value="平其它">平其它</option>
						<option value="0:0">0:0</option>
						<option value="1:1">1:1</option>
						<option value="2:2">2:2</option>
						<option value="3:3">3:3</option>
						<option value="负其它">负其它</option>
						<option value="0:1">0:1</option>
						<option value="0:2">0:2</option>
						<option value="1:2">1:2</option>
						<option value="0:3">0:3</option>
						<option value="1:3">1:3</option>
						<option value="2:3">2:3</option>
						<option value="0:4">0:4</option>
						<option value="1:4">1:4</option>
						<option value="2:4">2:4</option>
						<option value="0:5">0:5</option>
						<option value="1:5">1:5</option>
						<option value="2:5">2:5</option>
					</select>
				</td>
				<td align="right">主队全场比分:</td>
				<td>
					<select id='s_homeTeamQCScore'>
						<option value="-1">请选择</option>
						<option value="胜其它">胜其它</option>
						<option value="1:0">1:0</option>
						<option value="2:0">2:0</option>
						<option value="2:1">2:1</option>
						<option value="3:0">3:0</option>
						<option value="3:1">3:1</option>
						<option value="3:2">3:2</option>
						<option value="4:0">4:0</option>
						<option value="4:1">4:1</option>
						<option value="4:2">4:2</option>
						<option value="5:0">5:0</option>
						<option value="5:1">5:1</option>
						<option value="5:2">5:2</option>
						<option value="平其它">平其它</option>
						<option value="0:0">0:0</option>
						<option value="1:1">1:1</option>
						<option value="2:2">2:2</option>
						<option value="3:3">3:3</option>
						<option value="负其它">负其它</option>
						<option value="0:1">0:1</option>
						<option value="0:2">0:2</option>
						<option value="1:2">1:2</option>
						<option value="0:3">0:3</option>
						<option value="1:3">1:3</option>
						<option value="2:3">2:3</option>
						<option value="0:4">0:4</option>
						<option value="1:4">1:4</option>
						<option value="2:4">2:4</option>
						<option value="0:5">0:5</option>
						<option value="1:5">1:5</option>
						<option value="2:5">2:5</option>
					</select>
				</td>
				<td align="right">客队全场比分:</td>
				<td>
					<select id='s_awayTeamQCScore'>
						<option value="-1">请选择</option>
						<option value="胜其它">胜其它</option>
						<option value="1:0">1:0</option>
						<option value="2:0">2:0</option>
						<option value="2:1">2:1</option>
						<option value="3:0">3:0</option>
						<option value="3:1">3:1</option>
						<option value="3:2">3:2</option>
						<option value="4:0">4:0</option>
						<option value="4:1">4:1</option>
						<option value="4:2">4:2</option>
						<option value="5:0">5:0</option>
						<option value="5:1">5:1</option>
						<option value="5:2">5:2</option>
						<option value="平其它">平其它</option>
						<option value="0:0">0:0</option>
						<option value="1:1">1:1</option>
						<option value="2:2">2:2</option>
						<option value="3:3">3:3</option>
						<option value="负其它">负其它</option>
						<option value="0:1">0:1</option>
						<option value="0:2">0:2</option>
						<option value="1:2">1:2</option>
						<option value="0:3">0:3</option>
						<option value="1:3">1:3</option>
						<option value="2:3">2:3</option>
						<option value="0:4">0:4</option>
						<option value="1:4">1:4</option>
						<option value="2:4">2:4</option>
						<option value="0:5">0:5</option>
						<option value="1:5">1:5</option>
						<option value="2:5">2:5</option>
					</select>
				</td>
			</tr>
			<tr height="30">
				<td align="right">让球胜平负单关赛果:</td>
				<td>
					<select id='s_letdgResult' style="width:65px;">
						<option value="-1">请选择</option>
						<option value="胜">胜</option>
						<option value="平">平</option>
						<option value="负">负</option>
					</select>
				</td>
				<td align="right">让球胜平负过关赛果:</td>
				<td>
					<select id='s_letggResult' style="width:65px;">
						<option value="-1">请选择</option>
						<option value="胜">胜</option>
						<option value="平">平</option>
						<option value="负">负</option>
					</select>
				</td>
				<td align="right">让球胜平负单场浮动奖金额:</td>
				<td colspan="3"><input type="text" id='s_letdcMoney'/></td>
			</tr>
			<tr height="30">
				<td align="right">比分单关赛果:</td>
				<td>
					<select id='s_scoredgResult'>
						<option value="-1">请选择</option>
						<option value="胜其它">胜其它</option>
						<option value="1:0">1:0</option>
						<option value="2:0">2:0</option>
						<option value="2:1">2:1</option>
						<option value="3:0">3:0</option>
						<option value="3:1">3:1</option>
						<option value="3:2">3:2</option>
						<option value="4:0">4:0</option>
						<option value="4:1">4:1</option>
						<option value="4:2">4:2</option>
						<option value="5:0">5:0</option>
						<option value="5:1">5:1</option>
						<option value="5:2">5:2</option>
						<option value="平其它">平其它</option>
						<option value="0:0">0:0</option>
						<option value="1:1">1:1</option>
						<option value="2:2">2:2</option>
						<option value="3:3">3:3</option>
						<option value="负其它">负其它</option>
						<option value="0:1">0:1</option>
						<option value="0:2">0:2</option>
						<option value="1:2">1:2</option>
						<option value="0:3">0:3</option>
						<option value="1:3">1:3</option>
						<option value="2:3">2:3</option>
						<option value="0:4">0:4</option>
						<option value="1:4">1:4</option>
						<option value="2:4">2:4</option>
						<option value="0:5">0:5</option>
						<option value="1:5">1:5</option>
						<option value="2:5">2:5</option>
					</select>
				</td>
				<td align="right">比分过关赛果:</td>
				<td>
					<select id='s_scoreggResult'>
						<option value="-1">请选择</option>
						<option value="胜其它">胜其它</option>
						<option value="1:0">1:0</option>
						<option value="2:0">2:0</option>
						<option value="2:1">2:1</option>
						<option value="3:0">3:0</option>
						<option value="3:1">3:1</option>
						<option value="3:2">3:2</option>
						<option value="4:0">4:0</option>
						<option value="4:1">4:1</option>
						<option value="4:2">4:2</option>
						<option value="5:0">5:0</option>
						<option value="5:1">5:1</option>
						<option value="5:2">5:2</option>
						<option value="平其它">平其它</option>
						<option value="0:0">0:0</option>
						<option value="1:1">1:1</option>
						<option value="2:2">2:2</option>
						<option value="3:3">3:3</option>
						<option value="负其它">负其它</option>
						<option value="0:1">0:1</option>
						<option value="0:2">0:2</option>
						<option value="1:2">1:2</option>
						<option value="0:3">0:3</option>
						<option value="1:3">1:3</option>
						<option value="2:3">2:3</option>
						<option value="0:4">0:4</option>
						<option value="1:4">1:4</option>
						<option value="2:4">2:4</option>
						<option value="0:5">0:5</option>
						<option value="1:5">1:5</option>
						<option value="2:5">2:5</option>
					</select>
				</td>
				<td align="right">比分单场浮动奖金额:</td>
				<td colspan="3"><input type="text"id='s_scoredcMoney'/></td>
			</tr>
			<tr>
				<td align="right">总进球单关赛果:</td>
				<td>
					<select id='s_zjqdgResult' style="width:65px;">
						<option value="-1">请选择</option>
						<option value="0">0</option>
						<option value="1">1</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
						<option value="5">5</option>
						<option value="6">6</option>
						<option value="7">7</option>
					</select>
				</td>
				<td align="right">总进球数过关赛果:</td>
				<td>
					<select id='s_zjqggResult' style="width:65px;">
						<option value="-1">请选择</option>
						<option value="0">0</option>
						<option value="1">1</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
						<option value="5">5</option>
						<option value="6">6</option>
						<option value="7">7</option>
					</select>
				</td>
				<td align="right">总进球单场浮动奖金额:</td>
				<td colspan="3"><input type="text" id='s_zjqdcMoney'/></td>
			</tr>
			<tr height="30">
				<td align="right">半全场单关赛果:</td>
				<td>
					<select id='s_bqcdgResult'>
						<option value="-1">请选择</option>
						<option value="胜胜">胜胜</option>
						<option value="胜平">胜平</option>
						<option value="胜负">胜负</option>
						<option value="平胜">平胜</option>
						<option value="平平">平平</option>
						<option value="平负">平负</option>
						<option value="负胜">负胜</option>
						<option value="负平">负平</option>
						<option value="负负">负负</option>
					</select>
				</td>
				<td align="right">半全场过关赛果:</td>
				<td>
					<select id='s_bqcggResult'>
						<option value="-1">请选择</option>
						<option value="胜胜">胜胜</option>
						<option value="胜平">胜平</option>
						<option value="胜负">胜负</option>
						<option value="平胜">平胜</option>
						<option value="平平">平平</option>
						<option value="平负">平负</option>
						<option value="负胜">负胜</option>
						<option value="负平">负平</option>
						<option value="负负">负负</option>
					</select>
				</td>
				<td align="right">半全场单场浮动奖金额:</td>
				<td colspan="3"><input type="text" id='s_bqcdcMoney'/></td>
			</tr>
		</table>
		<ul style="list-style:none;">
			<li style="margin-left:310px;">
				<input type="button" value="确定" onClick="javascript:confrimKaiJiang()" style="padding-top:2px;"/>
				<input type="button" value="取消" onClick="javascript:closeWindow('kjSet')" style="padding-top:2px;"/>
			</li>
		</ul>
	</div>
  </body>
</html>
