<%@ 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" />
<!-- ======================================投注记录==================================== -->
<SCRIPT type=text/javascript src="<%=request.getContextPath()%>/js/jquery.min.js"></SCRIPT>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/css/reset.css" />
<link href="<%=request.getContextPath()%>/letoula/user/css/account.css" rel="stylesheet" type="text/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' src='<%=request.getContextPath()%>/letoula/js/plugin/library.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/plugin/date_input.js'></script>

<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">
  <%@include file='/member/memberLeft.jsp' %>
  <div class="memberR fright">
      <div class="tabMember">
         <ul>
           <li id="myon0" onclick="javascript:tabMember(0,'<%=request.getContextPath()%>/member/account_details.jsp')">全部明细</li>
           <li id="myon1" onclick="javascript:tabMember(1,'<%=request.getContextPath()%>/member/chongzi_details.jsp')">充值记录</li>
           <li class="on" id="myon2" onclick="javascript:tabMember(2,'<%=request.getContextPath()%>/member/mybet_details.jsp')">投注支出</li>
           <li id="myon3" onclick="javascript:tabMember(3,'<%=request.getContextPath()%>/member/tzjl_jj.jsp')">我的奖金</li>
           <li id="myon4" onclick="javascript:tabMember(4,'<%=request.getContextPath()%>/member/tikuan_details.jsp')">提款记录</li>
         </ul>
      </div>
     <div style="display:block;" id="on0"> 
      <div class="memberSearch">
		
			  	<input type='hidden' id='trnType' value='3' />		        
        起始时间：<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="查询" />

			  			
      </div>
      	<!--================================加入内容============================== -->
   		<div class='RightWidth_content'>
    				<div class='zh_content01'>
  						<b>账户汇总</b>现金账户：<b class='font_red'><%=Double.parseDouble(userAry[10])+Double.parseDouble(userAry[8])%></b>元  可用现金：<b class='font_red'><%=userAry[8]%></b>元  冻结现金：<b class='font_red'><%=userAry[10]%></b>元
    				</div>
    				<table class='RightWidth_contenttab01' align='center' id='user_buy_list' border='0' cellspacing='0' cellpadding='0'>
    					<colgroup><col width="138" /><col width="115" /><col width="115"/><col width="120"/><col width="134"/><col/></colgroup>
  						<thead><tr><th>交易时间</th><th>支出</th><th>收入</th><th>交易类型</th><th>订单号</th><th>备注</th></tr>
				  		</thead>
				  		<tbody>
				  		</tbody>
    				</table>
    				<div class='page'>
    	
    		<span class='f_an_page'>
    					
    		</span>
    	</div>
    			</div>
    		<!--================================加入内容============================== -->
    		 </div>
    
    <div style="display:none;" id="on1">  </div>
    <div style="display:none;" id="on2">  </div>
    <div style="display:none;" id="on3">  </div>
    <div style="display:none;" id="on4">  </div>
    <div style="display:none;" id="on5">  </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/ac_d_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>

