<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="java.util.*,java.text.SimpleDateFormat,com.letousky.lottery.action.AuxiliaryData,com.letousky.lottery.util.InsiderCenterFormat" pageEncoding="UTF-8"%>
<%    
	String gameid=request.getParameter("gameid"); 
	String issue=request.getParameter("issue");
	List list=new AuxiliaryData().getZucaiIssue(new String[]{gameid});
	Object[] obj = list.toArray();
	String[] currentArr = (String[])obj[0];//左国斌
	if(issue==null){issue=currentArr[0];}
	int curt = Integer.parseInt(currentArr[0]);
	int ise = Integer.parseInt(issue);
	String oldIsuue = issue;
	if(ise>=curt){
		oldIsuue = String.valueOf(curt - 1);
	}
	int oie = Integer.parseInt(oldIsuue);
	String[] WinArr = new AuxiliaryData().getZucaiKaiJiang(new String[]{gameid,oldIsuue});
	String[] WinObj = WinArr[5].split("\\,");
	request.setAttribute("list",list);
	request.setAttribute("currentArr",currentArr);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <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="竞彩,足彩,nba彩票,nba竞彩,彩票中国,jcle,即时比分,jingcai,竞彩赛果,竞彩奖金,竞彩足球,竞彩篮球,竞彩玩法介绍,竞彩网上投注,竞彩线上投注,体育竞彩店,竞彩足球,竞彩篮球,传统足球"/>
	<meta http-equiv="description" content="买竞彩就上贝壳彩票,中国最专业权威的竞彩网上委托投注网站,国内首家竞彩投注社区,提供竞彩,竞彩足球,竞彩篮球,竞彩推荐,竞彩投注,传统足彩,足彩,足球彩票,体育彩票等服务."/>
	<link href="<%=request.getContextPath()%>/letoula/css/ball.css" rel="stylesheet" type="text/css" />
	<link href="<%=request.getContextPath()%>/css/list.css" rel="stylesheet" type="text/css" />
	<script src="<%=request.getContextPath()%>/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/menu.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/common.js"></script>
	 <link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css" />
	<script type='text/javascript'>
		var javaAgras = {
			issue:'<%=issue%>',
			currIssue:'<%=currentArr[0]%>',
			gameid:'<%=gameid%>'
		};
	</script>
  </head>
  <body>
      <%@include file='../../letoula/top.jsp' %>  
<%@ include file="/common/nav.jsp"%>
	<div class="listTT listTT_icon4">
	     <h1>足球胜负彩<span>返奖率高达65%</span></h1>
	     <div class="fright">
	          <h6>销售截止：复试为赛前<em class="red">10</em>分钟，单式为赛前<em class="red">20</em>分钟</h6>
	          <ul class="tabB">
	              <li <c:if test="${param.gameid=='102' }">class="on"</c:if> ><a href="<%=request.getContextPath()%>/zucai2/102">胜负彩</a></li>
		       	  <li <c:if test="${param.gameid=='103' }">class="on"</c:if> ><a href="<%=request.getContextPath()%>/zucai2/103">任选九</a></li>
		       	  <li <c:if test="${param.gameid=='106' }">class="on"</c:if> ><a href="<%=request.getContextPath()%>/zucai2/106">进球彩</a></li>
		       	  <li <c:if test="${param.gameid=='107' }">class="on"</c:if> ><a href="<%=request.getContextPath()%>/zucai2/107">六场半全</a></li>
	          </ul>
	     </div>
	</div>
    <div id='homeMain'>
    	<div class='container_wrapper zucaitop clear'>
    		<div class='float_l dqrm'>
    			<div class='dqrm_hostroy' id='topLotteryNo'>
    				<select name='SelectLotteryNo' class='float_l qhxz' id='SelectLotteryNo' onchange="if(!isNaN(parseInt(this.value))) location='<%=request.getContextPath()%>/zc/<%=gameid%>_'+parseInt(this.value)+'';">
    					<%
    						int tempissue = curt;
    						for(int s=20;s>0;s--){
    							tempissue = tempissue-1;
    							if(s==20){
    								out.println("<option value='"+tempissue+"'>历史期</option>");
    							}
    							out.println("<option value='"+tempissue+"'>"+tempissue+"</option>");
    						}
    					%>
    				</select>
    			</div>
    			<%
    				String dsstoptime = null, fsstoptime = null;
    				for(int i=0;i<obj.length;i++){
    					String[] isuueAr = (String[])obj[i];
    					String sed = "";
    					if(isuueAr[0].equals(issue)){
    						sed = "selected";
    						dsstoptime = ide.timeFormat(isuueAr[1]);
    						fsstoptime = ide.timeFormat(isuueAr[2]);
    					}
    					out.print("<a href='"+request.getContextPath()+"/zc/"+gameid+"_"+isuueAr[0]+"' class='jsQihaoTab "+sed+"' style='position: relative;'>"+isuueAr[0]+"期</a>");
    				}
    			%>
    		</div>
    		<div class='ball_nav' style='width:auto;display:none;'>
    			<ul>
    				<li><a href="<%=request.getContextPath()%>/letoula/trade/uploadBetting.jsp?gameid=<%=gameid%>" target='_blank' class='xlbtnS xlbtnA'>单式上传</a></li>
    			</ul>
    		</div>
    		<div class='overTime'>
    			停售:<em>单式 <%=dsstoptime%></em><em>复式 <%=fsstoptime%></em>
    		</div>
    		
    	</div>
    	<div class='Clear'></div>
    	<div class='container_wrapper zucaitop2'>
    		<span class='float_l qihao_infor'><%=oldIsuue%>期开奖信息:</span>
    		<div class='float_l history_info'>
    			<span>销售额:<em class='font_red' id='SaleInfoSale'><%=WinObj[0]%></em>元</span>
    			<%
    				String[] winOne = WinObj[1].split("\\|");
    				for(int l=0;l<winOne.length;l++)
    				{
    					String[] winTwo = winOne[l].split("\\~");
    					out.println("<span>"+winTwo[0]+":<em class='font_red' id='SaleInfoFirstHitNum'>"+winTwo[1]+"</em>注<em class='font_red' id='SaleInfoFirstWager'>"+winTwo[2]+"</em>元</span>");
    				}
    			%>
    			
    		</div>
    		<div class='float_l sqgc'>
    			滚存到下期:<em><%=WinObj[2]%></em>元
    		</div>
    	</div>
    	<div class='encountertitle'>
    		<div id="marketTitle">
    			<%if(ise>=curt){%>
		    		<%if(gameid.equals("102")){%>
			    		<table width='998' class='Zc_Tab_title' cellspacing='0' cellpadding='0'>
			    			<tr>
			    				<td align='center' width='33' style="border:none"></td>
			    				<td width='65' >场次赛事</td>
			    				<td width='120'>比赛时间</td>
			    				<td align='center' width="480" >
			    					<div class='tztitlebg1'>
			    						<div style="border:none;">
			    							<em style='left: 12px; position: absolute;'>排名</em>
			    							<div class='zdtbox'><b id='allhome'>主队胜[3]</b></div>
			    						</div>
			    						<div class='pbg' ><b id='allhome'>平局[1]</b></div>
			    						<div>
			    							<b id='allaway'>客队胜[0]</b>
			    							<em style='right: 3px; position: absolute;'>排名</em>
			    						</div>
			    					</div>
			    				</td>
                                <td align="center" width="120">
                                                                                     数据
                                </td>
			    				<td align='center' width='180'>平均欧指</td>
			    			</tr>
			    		</table>
		    		<%}else if(gameid.equals("103")){%>
		    			<table width='998' class='Zc_Tab_title' cellspacing='0' cellpadding='0'>
			    			<tr>
			    				<td align='center' width='33'></td>
			    				<td width='65'>场次赛事</td>
			    				<td width='120'>比赛时间</td>
			    				<td align='center' width="480">
			    					<div class='tztitlebg1'>
			    						<div style="border:none">
			    							<em style='left: 12px; position: absolute;'>排名</em>
			    							<div class='zdtbox'><b id='allhome'>主队胜[3]</b></div>
			    						</div>
			    						<div class='pbg'><b id='allhome'>平局[1]</b></div>
			    						<div>
			    							<b id='allaway'>客队胜[0]</b>
			    							<em style='right: 3px; position: absolute;'>排名</em>
			    						</div>
			    					</div>
			    				</td>
                                <td align="center" width="120">
                                数据
                                </td>
			    				<td align='center' width='180'>平均欧指</td>
			    			</tr>
			    		</table>
			    	<%}else if(gameid.equals("106")){%>
			    		<table width='998' class='Zc_Tab_title' cellspacing='0' cellpadding='0'>
			    			<tr>
			    				<td align='center' width='33'></td>
			    				<td width='65'></td>
			    				<td width='120'>比赛时间</td>
			    				<td width="251"><b class='tl_zd'>主队</b><b class='tl_vs'>VS</b><b class='tl_kd'>客队</b></td>
			    				<td width="49"></td>
			    				<td align='center' width="300">
			    					<div class='tztitlebg2'>
				    					<div>
				    						<u class='alltdbetobj' id='allZero'>0球</u>
				    						<u class='alltdbetobj' id='allOne'>1球</u>
				    						<u class='alltdbetobj' id='allTwo'>2球</u>
				    						<u class='alltdbetobj' id='allThree'>3+球</u>
				    					</div>
			    					</div>
			    				</td>
			    				<td align='center' width='180'>平均欧指</td>
			    			</tr>
			    		</table>
			    	<%}else if(gameid.equals("107")){%>
			    		<table width='998' class='Zc_Tab_title' cellspacing='0' cellpadding='0'>
			    			<tr>
			    				<td align='center' width='33'></td>
			    				<td width='65'></td>
			    				<td width='120'>比赛时间</td>
			    				<td width="251"><b class='tl_zd'>主队</b><b class='tl_vs'>VS</b><b class='tl_kd'>客队</b></td>
			    				<td width="49"></td>
			    				<td align='center' width="300">
			    					<div class='tztitlebg2'>
				    					<div>
				    						<u class='bqcalltdbetobj' id='allZero'>主队胜[3]</u>
				    						<u class='bqcalltdbetobj' id='allOne'>平局[1]</u>
				    						<u class='bqcalltdbetobj' id='allTwo'>客队胜[0]</u>
				    					</div>
			    					</div>
			    				</td>
			    				<td align='center' width='180'>平均欧指</td>
			    			</tr>
			    		</table>
		    		<%}%>
	    		<%}else{%>
	    			<%if(gameid.equals("102")){%>
			    		<table width='998' class='Zc_Tab_title' cellspacing='0' cellpadding='0'>
			    			<tr>
			    				<td align='center' width='33'></td>
			    				<td width='65'></td>
			    				<td width='120'>比赛时间</td>
			    				<td align='center' width="500">
			    					<div class='tztitlebg1'>
			    						<div style="border:none">
			    							<em style='left: 3px; position: absolute;'>排名</em>
			    							<div class='zdtbox'><b id='allhome'>主队胜[3]</b></div>
			    						</div>
			    						<div class='pbg'><b id='allhome'>平局[1]</b></div>
			    						<div>
			    							<b id='allaway'>客队胜[0]</b>
			    							<em style='right: 3px; position: absolute;'>排名</em>
			    						</div>
			    					</div>
			    				</td>
			    				<td width="50">比分</td>
			    				<td width="50">彩果</td>
			    				<td align='center' width='180'>平均欧指</td>
			    			</tr>
			    		</table>
		    		<%}else if(gameid.equals("103")){%>
		    			<table width='998' class='Zc_Tab_title' cellspacing='0' cellpadding='0'>
			    			<tr>
			    				<td align='center' width='33'></td>
			    				<td width='65'></td>
			    				<td width='120'>比赛时间</td>
			    				<td align='center' width="500">
			    					<div class='tztitlebg1'>
			    						<div style="border:none">
			    							<em style='left: 3px; position: absolute;'>排名</em>
			    							<div class='zdtbox'><b id='allhome'>主队胜[3]</b></div>
			    						</div>
			    						<div class='pbg'><b id='allhome'>平局[1]</b></div>
			    						<div>
			    							<b id='allaway'>客队胜[0]</b>
			    							<em style='right: 3px; position: absolute;'>排名</em>
			    						</div>
			    					</div>
			    				</td>
			    				<td width="50">比分</td>
			    				<td width="50">彩果</td>
			    				<td align='center' width='180'>平均欧指</td>
			    			</tr>
			    		</table>
			    	<%}else if(gameid.equals("106")){%>
			    		<table width='998' class='Zc_Tab_title' cellspacing='0' cellpadding='0'>
			    			<tr>
			    				<td align='center' width='33'></td>
			    				<td width='65'></td>
			    				<td width='120'>比赛时间</td>
			    				<td width="251"><b class='tl_zd'>主队</b><b class='tl_vs'>VS</b><b class='tl_kd'>客队</b></td>
			    				<td width="49"></td>
			    				<td align='center' width="200">
			    					<div class='tztitlebg2'>
				    					<div>
				    						<u class='alltdbetobj' id='allZero'>0球</u>
				    						<u class='alltdbetobj' id='allOne'>1球</u>
				    						<u class='alltdbetobj' id='allTwo'>2球</u>
				    						<u class='alltdbetobj' id='allThree'>3+球</u>
				    					</div>
			    					</div>
			    				</td>
			    				<td width="50">比分</td>
			    				<td width="50">彩果</td>
			    				<td align='center' width='180'>平均欧指</td>
			    			</tr>
			    		</table>
			    	<%}else if(gameid.equals("107")){%>
			    		<table width='998' class='Zc_Tab_title' cellspacing='0' cellpadding='0'>
			    			<tr>
			    				<td align='center' width='33'></td>
			    				<td width='65'></td>
			    				<td width='120'>比赛时间</td>
			    				<td width="251"><b class='tl_zd'>主队</b><b class='tl_vs'>VS</b><b class='tl_kd'>客队</b></td>
			    				<td width="49"></td>
			    				<td align='center' width="200">
			    					<div class='tztitlebg2'>
				    					<div>
				    						<u class='bqcalltdbetobj' id='allZero'>主队胜[3]</u>
				    						<u class='bqcalltdbetobj' id='allOne'>平局[1]</u>
				    						<u class='bqcalltdbetobj' id='allTwo'>客队胜[0]</u>
				    					</div>
			    					</div>
			    				</td>
			    				<td width="50">比分</td>
			    				<td width="50">彩果</td>
			    				<td align='center' width='180'>平均欧指</td>
			    			</tr>
			    		</table>
		    		<%}%>
	    		<%}%>
    		</div>
    		<div class='encounterMain'>
    		</div>
    	</div><!-- encountertitle -->
    </div>
    <%if(currentArr[0].equals(issue)){%>
    <div class="betbottom">
	    <div class="BettingRegion">
	    		<div id="box_show">
		    		<div class="buy_content" style="width:998px; margin:auto;">
		    			<div class="buy_list">
		    				<span class="marsk"></span>
		    				<div class="listMain">
		    						<table cellspacing='0' width="100%" cellpadding='0' class='TZ_tab_title'>
		    								<tr><th class="btl9">场次</th><th class="btl9">主队</th><th class="btl9">客队</th><th class="btlxz">选单(<font class='wfwz'></font>)</th><th><span onclick="javascript:bet_config.delOption(this)" class="delAll" data-del="all">全删</span></th></tr>
		    							</table>
		    						<div class="yesSubmit">
		    							<table cellspacing='0' width="97%" cellpadding='0' class='TZ_tab'>
		    								
		    							</table>
		    						</div>
		    						<p class='P_ListMain'> <em class='plmn'>您的方案属于 <span class='wfwz kind'></span> 玩法</em><a href=javascript:create_class.A_hide_D('buy_list','buylistcon_lik','buylistcon','listMain') class="hide_down">隐藏</a></p>
		    				</div>
		    				<span class="buylistcon">
		    					<span class='buyTx' style='margin-top:10px;'>已选<i class="the_selected">0</i>场<s class="buylist_icon"></s></span>
		    				</span>
		    			</div>
		    			<div class="buy_main">
		    				<div class="psssMode">
		    					投注倍数： <i onclick="bet_config.rise_reduce_control('d')" class="mxMultiple"  id="minMultiple">-</i>
		    					<input type="text" value="1" onkeyup="bet_config.mltOnkeyUp(this)" id="multipleTx"/>
		    					<i onclick="bet_config.rise_reduce_control('r')" class="mxMultiple"  id="maxMultiple">+</i>
		    					注数:<em id="zhushu">0</em>      金额：<em id="betMoney">0</em>元
		    				</div>
		    			</div>
		    			<div class="buy_plug">
		    				<%if(gameid.equals("501")  || gameid.equals("511") || gameid.equals("513") || gameid.equals("514")){%>
		    					<a href="javascript:bet_config.submitInformation('yh')">奖金优化</a>
		    				<%}%>
		    			</div>
		    			<div class="buy_submit">
		    				<a href="javascript:bet_config.submitInformation('m')" id='nowsub' class='nowtz'>立即投注</a>
		    			</div>
		    		</div>
	    		</div>
	    	</div> <!-- BettingRegion -->
    	</div>
    	<%}%> 
    <form action='<%=request.getContextPath()%>/PutForwordAction.do?action=putforword' method='POST'  id='myform' target="_blank" style='display:none;'>
    		<input type='text' id='jzTime' class='jzTime' name='jzTime' value='0' />
    		<input type='text' id='muliptile' class='muliptile' name='muliptile' value='1' />
    		<input type='text' id='tzNumber' class='tzNumber' name='tzNumber' value='0' />
    		<input type='text' id='McN' class='McN' name='McN' value='0' />
    		<input type='text' id='zhushu' class='zhushu' name='zhushu' value='0' />
    		<input type='text' id='price' class='price' name='price' value='0' />
    		<input type='text' id='inf' class='inf' name='inf' value='0' />
    		<input type='text' id='gType' class='gType' name='gType' value='0' />
    		<input type='text' id='gameCode' class='gameCode' name='gameCode' value='<%=gameid%>' />
    		<input type='text' id='ZQMcN' class='ZQMcN' name='ZQMcN' value='0' />
    		<input type='text' id='moneyFw' class='moneyFw' name='moneyFw' value='0' />
    		<input type='text' id='spzValue' class='spzValue' name='spzValue' value='0' />
    		<input type='text' id='issue' class='issue' name='issue' value='<%=issue%>' />
    	</form>
    	 <form action='prizereview.jsp' method='POST'  id='prizereview' target="_blank" style='display:none;'>
    		<input type='text' id='jzTime' class='jzTime' name='jzTime' value='0' />
    		<input type='text' id='muliptile' class='muliptile' name='muliptile' value='1' />
    		<input type='text' id='tzNumber' class='tzNumber' name='tzNumber' value='0' />
    		<input type='text' id='McN' class='McN' name='McN' value='0' />
    		<input type='text' id='zhushu' class='zhushu' name='zhushu' value='0' />
    		<input type='text' id='price' class='price' name='price' value='0' />
    		<input type='text' id='inf' class='inf' name='inf' value='0' />
    		<input type='text' id='gType' class='gType' name='gType' value='0' />
    		<input type='text' id='gameCode' class='gameCode' name='gameCode' value='<%=gameid%>' />
    		<input type='text' id='ZQMcN' class='ZQMcN' name='ZQMcN' value='0' />
    		<input type='text' id='moneyFw' class='moneyFw' name='moneyFw' value='0' />
    		<input type='text' id='spzValue' class='spzValue' name='spzValue' value='0' />
    		<input type='text' id='issue' class='issue' name='issue' value='unknow' />
    		<input type='text' id='tempstr' class='tempstr' name='tempstr' value='0' />
            
            
            
            <input type='text' id='tempstr' class='tempstr' name='tempstr' value='0' />
    	</form>
<!--提示层-->
<div class="tips_m" style="width:500px; " id="blk2">
    <div class="tips_b">
         <div class="tips_box">
         	<div class="tips_title">
                 <h2>温馨提示</h2>
             </div>
             <div class='alert_c'>
             	<div class='state error'>
             		<span class='eroorMsg'>您好，请选择过关方式！</span>
             	</div>
             </div>
             <div class='tips_sbt'>
             	<input type='button' class='btn_Dora_b' id='yclass_alert_ok' onclick=create_class.seaDetails('blk2','h') value='确   定' />
             </div>
         </div>
    </div>
</div>
<div id='bd'>aa</div>
<%@include file='/common/footer.jsp' %>
 <script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/setting.js'></script>
 <script type='text/javascript'>
 	 document.write("<script src='<%=request.getContextPath()%>/letoula/zucai/js2/"+all_config['<%=gameid%>'].src+"' type='text/javascript'><\/script>");
 </script>
