﻿<%@ page language="java" import="java.util.*,java.text.*,com.letousky.lottery.delegate.WinsFlat,com.letousky.lottery.action.AuxiliaryData,com.letousky.lottery.util.InsiderCenterFormat" pageEncoding="UTF-8"%>
<%
//String rootUrl=request.getContextPath();
String[] parmas=new String[]{"501","0","1"};
List list=new WinsFlat().wins(parmas);
Object[] obj=list.toArray();
InsiderCenterFormat  format  =  new InsiderCenterFormat();
String[] pm = null;
List winsItem = new AuxiliaryData().winsSel(pm);
Object[] ws = winsItem.toArray();

String[] parmas_leij = null;
String[] leiJiZhongJiang = new AuxiliaryData().buyWinningLJZ(parmas_leij); 
String money = String.valueOf((int)Double.parseDouble(leiJiZhongJiang[0]) + 90000000);
int lgs = 10 - money.length();
for(int j=0;j<lgs;j++){
	money = "0"+money; 
}
String id=request.getParameter("id");
String time=request.getParameter("time");
%>
<%@include file='/common/headtop.jsp' %>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/member.css" />
<link href="<%=request.getContextPath()%>/letoula/css/top.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/list.css" rel="stylesheet" type="text/css" />
<script type='text/javascript'>
		var url = '<%=request.getContextPath()%>';
		//开始时间
		var beginTime="<%=time%>"; 
		var myEveryPage="10";
</script>
</head>
<body>
<%@include file='/letoula/top.jsp' %>
<%@include file='/common/nav.jsp' %>
<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/jquery.alertWindow.min.js'></script>
<div id='bd'>aa</div>
  <script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/list2.js'></script>
<a href="<%=request.getContextPath()%>/letoula/kaijiang/passsta2.jsp" class="hongren">竞彩达人</a>
<div class="tabWhite_Gray">
     <ul id="tab">
     <input type="hidden" name="date" id="startDate" class="date_input" />
     <input type="hidden" class='ybtn79' value='开始查询' onclick='selToTime("1","10")'; />
     <input type="hidden" name="gameid" id="gameid" value=""/><!-- 左国斌 -->
      <li class="on"><a href="#" onclick="selToTime1('1','10');">竞彩足球</a></li>
      <li><a href="#" onclick="selToTime2('1','10');selToTime2('1','10');selToTime2('1','10');">竞彩篮球</a></li>

    </ul>
    <div>
		  <div id="tabInfo">
		    	<div class="buyInfo" style="display:block">
			    	<table width='100%' align='center' class='tableborder tableborder03' border='0' cellspacing='0' cellpadding='0'>
			    		<tbody>
			    			<tr>
			    				<td><ul></ul></td>
			    			</tr>
			    		</tbody>
			    	</table>
		    	</div>
		    	
		    	 <div class="buyInfo" style="display:none;">
			    	<table width='100%' align='center' class='tableborder tableborder04' border='0' cellspacing='0' cellpadding='0'>
			    		<tbody>
			    			<tr>
			    				<td><ul></ul></td>
			    			</tr>
			    		</tbody>
			    	</table>
		    	</div>
		   </div>   
    </div>
</div>
    	<script type="text/javascript">
    		var tabs=document.getElementById("tab").getElementsByTagName("li");
    		var divs=document.getElementById("tabInfo").getElementsByTagName("div");
    		for(var i=0;i<tabs.length;i++){
    			tabs[i].onclick=function(){change(this);}
    			}
    		function change(obj){
				for(var i=0;i<tabs.length;i++)
    			   {
    			if(tabs[i]==obj){
    			   tabs[i].className="on";
    			   divs[i].style.display="block";
    			   }
    			else{
    			tabs[i].className="";
    			 divs[i].style.display="none";
    				 }
    				}
    			}
    	</script>
    <div class="row listGray tableGray">
    	 <div class='toBuyRight'>
   
    	 	<div class='searchdd'>
    	 		<span class='sarchleft'>
    	 			<select id='selGame' class='sarchsel'>
    	 				<option value="1000">玩法类型</option>
    	 				<optgroup label='竞彩足球'>
    	 					<option value='501'>胜平负</option>
    	 					<option value='511'>让球胜平负</option>
    	 					<option value='502'>比分</option>
    	 					<option value='503'>总进球</option>
    	 					<option value='504'>半全场</option>
    	 					<option value='509'>足球混合</option>
    	 				</optgroup>
    	 				<optgroup label='竞彩篮球'>
    	 					<option value='505'>胜负</option>
    	 					<option value='506'>让分胜负</option>
    	 					<option value='507'>胜分差</option>
    	 					<option value='508'>大小分</option>
    	 					<option value='510'>篮球混合</option>
    	 				</optgroup>
    	 				<optgroup label='传统足彩'>
    	 					<option value='102'>胜负彩</option>
    	 					<option value='103'>任选九场</option>
    	 					<option value='106'>六场半全场</option>
    	 					<option value='107'>四场进球</option>
    	 				</optgroup>
    	 				<optgroup label='北京单场'>
    	 					<option value='301'>胜平负</option>
    	 					<option value='304'>比分</option>
    	 					<option value='302'>上下单双</option>
    	 					<option value='303'>总进球</option>
    	 					<option value='305'>半全场</option>
    	 				</optgroup>
    	 			</select>
    	 			<select id='dstatus' class='sarchsel'>
    	 				<option value="all">方案状态</option>
    	 				<option value="complete">已满员</option>
    	 				<option value="nocomplete">未满员</option>
    	 			</select>
    	 			<select id='progress' class='sarchsel'>
    	 				<option value="all">方案进度</option>
    	 				<option value="50">50%以下</option>
    	 				<option value="50_90">50%-90%</option>
    	 				<option value="90">90%以上</option>
    	 			</select>
    	 			<select id='countMoeny' class='sarchsel'>
    	 				<option value="all">方案金额</option>
    	 				<option value="100">100元以下</option>
    	 				<option value="100_500">100-500元</option>
    	 				<option value="501_1000">500-1000元</option>
    	 				<option value="1000">1000元以上</option>
    	 			</select>
    	 			<input type='button' class='sarbutton' onclick="showData('1','10','igl','desc')" value='筛 选' />
    	 		</span>
    	 		<span class='sarchright'>
    	 			<input type='text' class='sartext' onfocus='create_class.onblurAndonkeyUp(this,"查找合买人","onfocus")' onblur='create_class.onblurAndonkeyUp(this,"查找合买人","onblur")' value='查找合买人' />
    	 			<input type='button' class='sarbutton' onclick="showData('1','10','igl','desc')" value='搜 索' />
    	 		</span>
    	 	</div><!-- sarchdiv -->

    	  <table cellspacing='0' cellpadding='0' class='tableborder tableborder02' width='100%'>
    	 	<colgroup>
						<col width="26" />
						<col width="107" />
						<col width="89" />
						<col width="75" />
						<col width="66" />
						<col width="73" />
						<col width="48" />
						<col width="62" />
						<col width="47" />
						<col width="89" />
						<col width="66" />
						<col width="40" />
					</colgroup>
					<thead>
						<tr class='hmthead'>
							<th>序号</th>
							<th>方案内容</th>
							<th>发起人</th>
							<th>战绩</th>
							<th>彩种</th>
							<th>总金额</th>
							<th>提成</th>
							<th>每份金额</th>
							<th>进度</th>
							<th>认购份数</th>
							<th colspan='2'>操作</th>
						</tr>
					</thead>
					<tbody id='hmtbody'>
    					
    				</tbody>
    	 </table>
    	 <div class='page'>
    				<span class='f_an_page'>
    					
    				</span>
    			</div>
    	 </div>
</div>
    	<div class='loding'><img alt='loding' src='<%=request.getContextPath()%>/letoula/images/loding.gif' /></div> 		
    	<form action='list_Details.jsp' target="_self" method='get'  id='listform' style='display:none;'>
    		<input type='text' id='userName' name='userName' value='0' />
    		<input type='text' id='muliptile' name='muliptiles' value='1' />
    		<input type='text' id='Copis' name='Copis' value='0' />
    		<input type='text' id='copisPrice' name='copisPrice' value='0' />
    		<input type='text' id='bdCopies' name='bdCopies' value='0' />
    		<input type='text' id='progress' name='progress' value='0' />
    		<input type='text' id='tzway' name='tzway' value='0' />
    		<input type='text' id='moneyFw' name='moneyFw' value='0' />
    		<input type='text' id='csm' name='csm' value='0' />
    		<input type='text' id='starTime' name='starTime' value='0' />
    		<input type='text' id='endTime' name='endTime' value='0' />
    		<input type='text' id='id' name='id' value='0' />
    		<input type='text' id='Trading' name='Trading' value='0' />
    		<input type='text' id='sycopies' name='sycopies' value='0' />
    		<input type='text' id='rgCopis' name='rgCopis' value='0' />
    		<input type='text' id='isopen' name='isopen' 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="over_t('blk2','h')" value='确   定' />
             </div>
         </div>
    </div>
</div> 
<%@include file='/common/footer.jsp' %>
<script type='text/javascript'>
	KO.$('startDate').value = create_class.loadDate(new Date(),'s');
</script>
 <script type='text/javascript' src='<%=request.getContextPath()%>/letoula/kaijiang/js/passsta.js'></script>