<%@ page language="java" import="java.util.*,com.letousky.lottery.delegate.WinsFlat" pageEncoding="UTF-8"%>
<%
	String id=request.getParameter("id");
	String time=request.getParameter("time");
	String[] parmas = new String[]{"301","-1"};
	List list=new WinsFlat().wins_dc(parmas);
	Object[] obj = list.toArray();
	String[] b_l = (String[])obj[0];
	String cg = b_l[7];
	if("".equals(cg) || cg == null){
		cg = "0";
	}else{
		cg = "1";
	}
	int issue = Integer.parseInt(b_l[68]);
%>
	<%@include file='/common/headtop.jsp' %>
	<link href="<%=request.getContextPath()%>/css/list.css" rel="stylesheet" type="text/css" />
	<link href="<%=request.getContextPath()%>/letoula/kaijiang/kaijiang.css" rel="stylesheet" type="text/css" />
	<link href="<%=request.getContextPath()%>/letoula/useraccount/css/date_input.css" rel="stylesheet" type="text/css" />
  </head>
  <script type='text/javascript'>
		var beginTime="<%=time%>";
		function click(id){
			var url="results.jsp?id="+id+"&time="+beginTime+"";
			location.href=url;
		}
  </script>
  <body>
  	<%@include file='/common/topLine.jsp' %>
	<%@include file='/common/nav.jsp' %>
    <div id='homeMain'>
    	<div class="listTT listTT_icon3">
	     <h1>北京单场<span>返奖率高达65%</span></h1>
	     <div class="fright">
	          <h6>注：竞彩开奖截止日期选择范围，指比赛的实际截止时间</h6>
	          <ul class="tabB">
	              	<li><a href="<%=request.getContextPath()%>/letoula/kaijiang/jckaijiang.jsp">竞足赛果</a></li>
       				<li><a href="<%=request.getContextPath()%>/letoula/kaijiang/lqkaijiang.jsp">竞篮赛果</a></li>
       				<li class="on"><a href="<%=request.getContextPath()%>/letoula/kaijiang/dckaijiang.jsp">北单赛果</a></li>
       				<li><a href="<%=request.getContextPath()%>/zucai2/102">足彩赛果</a></li>
	          </ul>
	     </div>
		</div>
    	<div class='Clear'></div>
    	<div class='clearfix databox'>
    		<div class='float_l'>
    			<b>期数：</b>
    				<select id='issue_sel' onchange='showAuxiliary("1","30")'>
    					<%
    						for(int l = 1; l <= 10; l++){
    						
    							if("0".equals(cg) && l==1){
    								out.print("<option value='"+issue+"' selected='selected'>第"+issue+"期</option>");
    							}else{
    								out.print("<option value='"+issue+"'>第"+issue+"期</option>");
    							}
    							issue = issue - 1; 
    						}
    					%>
    				</select>
    			
    		</div>
    		<span class='float_r redtxt'>      注：北单开奖，默认显示当前期</span>
    	</div><!-- databox -->
    	<div class='Clear'></div>
    	<table width='100%' align='center' class='tableborder tableborder02' border='0' cellspacing='0' cellpadding='0'>
    		<thead>
    			<tr align='center'><th rowspan='2' colspan='2'>赛事</th>
    				<th rowspan='2'>截止时间</th>
    				<th rowspan='2'>主队(让球)</th>
    				<th rowspan='2'>全场比分</th>
    				<th rowspan='2'>客队</th>
    				<th colspan='2'>让球胜平负</th>
    				<th colspan='2'>总进球数</th>
    				<th colspan='2'>上下单双</th>
    				<th colspan='2'>比分</th>
    				<th colspan='2'>半全场</th>
    			</tr>
    			<tr align='center'>
    				<th class="td1">彩果</th>
    				<th class="td1">开奖SP值</th>
    				<th class="td1">彩果</th>
    				<th class="td1">开奖SP值</th>
    				<th class="td1">彩果</th>
    				<th class="td1">开奖SP值</th>
    				<th class="td1">彩果</th>
    				<th class="td1">开奖SP值</th>
    				<th class="td1">彩果</th>
    				<th class="td1">开奖SP值</th>
    			</tr>
    		</thead>
    		<tbody>
    			
    		</tbody>
    	</table>
    	<div class='loding'><img alt='loding' src='<%=request.getContextPath()%>/letoula/images/loding.gif' /></div>
    	<div class='tixing'></div>
    </div>
    <%@include file='/common/footer.jsp' %>
<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/plugin/date_input.js'></script>
 <script type='text/javascript' src='<%=request.getContextPath()%>/letoula/kaijiang/js/dckaijiang.js'></script>