<%@ 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; 
}
%>
<%@include file='/common/headtop.jsp' %>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/member.css" />
<!-- ======================================投注记录==================================== -->
<link href="<%=request.getContextPath()%>/letoula/useraccount/css/date_input.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/letoula/css/top.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/letoula/css/user_c.css" rel="stylesheet" type="text/css" />


<script type='text/javascript'>
		var url = '<%=request.getContextPath()%>';
</script>
<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/public.js'></script>
<!-- ======================================投注记录==================================== -->
</head>
<body>
<%@include file='/common/topLine.jsp' %>
<%@include file='/common/nav.jsp' %>
<!-- ======================================投注记录==================================== -->
<script type='text/javascript'>
			var userid='<%=userAry[1] %>';
</script>


<div class="row mt10">
  <div class="memberL fleft">
      <ul>
       <li><em class="memberL_icon1"></em><a href="<%=request.getContextPath()%>/member/index.jsp">我的账户</a><u></u></li>
       <li class="on"><em class="memberL_icon2"></em><a href="<%=request.getContextPath()%>/member/tzjl.jsp">投注记录</a><u></u></li>
       <li><em class="memberL_icon3"></em><a href="<%=request.getContextPath()%>/member/costum.jsp">定制跟单</a><u></u></li>
       <li><em class="memberL_icon4"></em><a href="<%=request.getContextPath()%>/member/account_details.jsp">账户明细</a><u></u></li>
      </ul>
      <ol>
         <li><a href="<%=request.getContextPath()%>/member/prepayIntro.jsp">充　　值</a><em>|</em></li>
         <li><a href="<%=request.getContextPath()%>/member/prepayOntro.jsp">提　　款</a></li>
         <li><a href="userInfo.jsp" class="bgRed">个人资料</a><em>|</em></li>
         <li><a href="<%=request.getContextPath()%>/member/password_upd.jsp">账户安全</a></li>
      </ol>
      <div class="loginText">
         <span><b>账户安全</b><br />双重密码保护账户</span>
         <span><b>兑奖安全</b><br />百万大奖安全到账</span>
         <span><b>提款安全</b><br />迅速处理提款安全</span>
      </div>
  </div>
  <div class="memberR fright">
      <div class="tabMember">
         <ul>
        <li class="on" id="myon0" onclick="javascript:tabMember(0,'<%=request.getContextPath()%>/member/tzjl.jsp')">全部记录</li>
        <li id="myon1" onclick="javascript:tabMember(1,'<%=request.getContextPath()%>/member/tzjl_jj.jsp')">中奖记录</li>
   
         </ul>
      </div>
     <div style="display:block;" id="on0"> 
      <div class="memberSearch">

        
        <select id='lotName'>
			  				<option value='0'>全部彩种</option>
			  				<optgroup label='竞彩足球'>
			  					<option value='501'>胜平负</option>
			  					<option value='511'>让球胜平负</option>
			  					<option value='503'>总进球数</option>
			  					<option value='509'>混合过关</option>
			  					<option value='502'>比分</option>
			  					<option value='504'>半全场</option>
			  				</optgroup>
			  				<optgroup label='竞彩篮球'>
			  					<option value='505'>胜负</option>
			  					<option value='506'>让分胜负</option>
			  					<option value='507'>胜负差</option>
			  					<option value='508'>大小分</option>
			  					<option value='508'>混合过关</option>
			  				</optgroup>
			  				<optgroup label='传统足彩'>
			  					<option value='102'>胜负彩</option>
			  					<option value='103'>任选9场</option>
			  					<option value='106'>4场进球</option>
			  					<option value='107'>6场半全场</option>
			  				</optgroup>
			  				<optgroup label='北京单场'>
			  					<option value='301'>让球胜平负</option>
			  					<option value='302'>上下单双</option>
			  					<option value='303'>总进球数</option>
			  					<option value='304'>比分</option>
			  					<option value='305'>半全场</option>
			  				</optgroup>
			  				<optgroup label='猜冠军'>
			  					<option value='701'>猜冠军</option>
			  				</optgroup>
			  			</select>
			  			<select id='lotType'>
			  				<option value='0'>全部投注</option>
			  				<option value='1'>未结投注</option>
			  				<option value='2'>已结投注</option>
			  			</select>
			  			
			  			        
        起始时间：<input name="date" type="text" id="startDate" class="date_input"/>&nbsp;&nbsp;
        终止时间：<input name="date" type="text" id="endDate" class="date_input"/>&nbsp;&nbsp;
   <input name="" type="button" class="btnGrays" onclick='ShowBuyLotteryDate("1","6")' value="查询" />
    <input name="" type="button" class="btnGrays" onclick='ExportBuyLotteryDate()' value="导出" />
			  			
      </div>
      <table class="tableMember RightWidth_contenttab01" width="100%" border="0" cellspacing="0" cellpadding="0" id="user_buy_list">
        <thead>
        <tr>
          <th>彩种</th>
          <th>投注时间</th>
          <th>投注金额</th>
          <th>当前状态</th>
          <th>操作</th>
        </tr>
        </thead>
        <tbody>

        </tbody>
      </table>
      <p class='zh_content01'>
    					<b>时间段内总购买：<b class='font_red countMoney'>0</b>元     当前页汇总</b>购买：<b class='font_red nowMoney'>0</b>元  奖金：<b class='font_red countBrouns'>0</b>元
    				</p>
    				<p class='zh_content01' style='margin-top: 10px;'>
    					<span class='font_red'>注意：</span>我的购买最多可以查询两个月内的方案。
    				</p>
    				<div class='page'>
    		         <span class='f_an_page'></span>
       </div>
    </div>
    
    <div style="display:none;" id="on1"> 
  </div>
    <div style="display:none;" id="on2"> 22</div>
    
  </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/user/js/buy_l.js" charset="utf-8"></script>

<script type='text/javascript'>
  	 $($.date_input.initialize);
  	 KO.$('startDate').value = setting.loadDate(KO.U.d,'s');
	 KO.$('endDate').value   = setting.loadDate(KO.U.d,'z');
	 ShowBuyLotteryDate(KO.U.Pages,KO.U.Every);
  </script>


