<%@ 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/chipinTemp.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" id="userNickName"/></td>
			</tr>
			<tr>
				<td style="font:12px Arial;">按序列号:</td>
				<td><input type="text" id="serialNo" style="width: 185px;"/></td>
			</tr>
			<tr>
				<td style="font:12px Arial;">按最后打印时间:</td>
				<td>
					<input type="text" size='8' name="date" id="startDate" class="date_input" style="width: 80px"/>
					<input type="text" size='8' name="date" id="endDate" class="date_input" style="width: 80px" />
				</td>
			</tr>
			<tr>
				<td style="font:12px Arial;">按商业编号:</td>
				<td><input type="text" id="tempId"/></td>
				<td colspan="2"><input type="button" onClick="chipinTempList(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>
				</tr>
			</thead>
			<tbody class="context">
				
			</tbody>
		</table>
		<table id="page_tab" cellpadding="0" cellspacing="0">
			<tr>
				<td align="left" id='pageNum'></td>
				<td align="left" >当前页码：<span id="currentPage"></span>&nbsp;</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>
