<%@ 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/lckjManage.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>
			<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='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>
				<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>
				<td align="right">大小差奖金</td>
				<td colspan="3"><input type="text" readOnly="readOnly" id='letdcMoney'/></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>
			<li style="margin-left:340px;">
				<input type="button" value="关闭" onClick="javascript:closeWindow('kjDetail')" style="padding-top:2px;"/>
			</li>
		</ul>
	</div>
	<div class='lckj_detail' id='kjSet'>
		<ul>
			<li class='lctext_f'>开奖设置</li>
		</ul>
		<table class='projectDetail' cellspacing="0" cellpadding="0" >
			<tr height="30">
				<td align="right">胜负:</td>
				<td>
					<select id='sf'>
						<option value="-1">请选择</option>
						<option value="3">3</option>
						<option value="0">0</option>
					</select>
				</td>
				<td align="right">让分胜负:</td>
				<td>
					<select id='rf_sf'>
						<option value="-1">请选择</option>
						<option value="3">3</option>
						<option value="0">0</option>
					</select>
				</td>
				<td align="right">胜分差:</td>
				<td>
					<select id='sfc'>
						<option value="-1">请选择</option>
						<option value="01">1:5</option>
						<option value="02">6:10</option>
						<option value="03">11:15</option>
						<option value="04">16:20</option>
						<option value="05">21:25</option>
						<option value="06">26+</option>
					</select>
				</td>
				<td align="right">大小分:</td>
				<td>
					<input type="text" id='dsf'/>
				</td>
			</tr>
			<tr height="30">
				<td align="right">胜负奖金:</td>
				<td>
					<input type="text"  id='sf_award'/>
				</td>
				<td align="right">让分胜负奖金:</td>
				<td>
					<input type="text" id='rfsf_award'/>
				</td>
				<td align="right">胜分差奖金:</td>
				<td >
					<input type="text" id='sfc_award'/>
				</td>
				<td align="right">大小分奖金:</td>
				<td >
					<input type="text" id='dsf_award'/>
				</td>
			</tr>
			<tr height="30">
				<td align="right">胜负过关</td>
				<td>
					<input type="text"id='sf_gg'/>
				</td>
				<td align="right">让分胜负过关</td>
				<td>
					<input type="text" id='rfsf_gg'/>
				</td>
				<td align="right">胜分差过关</td>
				<td  >
					<input type="text"id='sfc_gg'/>
				</td>
				<td align="right">大小分过关</td>
				<td >
					<input type="text"id='dxf_gg'/>
				</td>
			</tr>
		</table>
		<ul>
			<li style="margin-left:230px;">
				<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>
