<%@ page language="java" import="java.util.*,com.letousky.lottery.action.IdentityBindAction,com.letousky.lottery.action.LoginAction,com.letousky.lottery.action.ShowUserAction" 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 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'>
		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' %>
<%
String params[]  = new String[]{userAry[1]};
String userisBind = new IdentityBindAction().isBind(params);//身份
String bankisBind = new IdentityBindAction().isBankBind(params);//银行
String[] userInfo =  new ShowUserAction().userInfoShowNew(request);
%>				
<script type='text/javascript'>
			var userid='<%=userAry[1] %>';
</script>

<div class="row mt10">
  <%@include file='/member/memberLeft.jsp' %>
  <div class="memberR fright">
      <div class="userName">欢迎您，<%=userAry[2]%> &nbsp;&nbsp; <a href="<%=request.getContextPath()%>/member/userInfo.jsp" style="color:#ff4242" class="blueDark">账户资料</a></div>
      <div class="userInfo">
           可用余额：<b><%=userAry[8]%></b>元&nbsp;&nbsp;红包：<b><%=userAry[13]%></b>元&nbsp;&nbsp;冻结资金：<b><%=userAry[10]%></b>元
           <a href="<%=request.getContextPath()%>/member/prepayIntro.jsp" class="btnGrays">充值</a>
           <a href="<%=request.getContextPath()%>/member/prepayOntro.jsp" class="btnGrays">提现</a>
                             账户认证：
	              			<%if(!"0000".equals(userisBind)){%>
		    					<a href="<%=request.getContextPath()%>member/bankBind.jsp" class="iconVip_H">认证</a>
	    					<%}else{%>
	    						<a href="<%=request.getContextPath()%>member/bankBind.jsp"  class="iconVip_H" style="background-position: 0 -639px;">认证</a>
	   						<%}%>      
	    					<%
    							if(userInfo[9].equals("null")||userInfo[9].equals("") || userInfo[9]==null || userInfo[9]=="无"){
    								out.println("<a href='http://www.beikecai.com/member/mobilepro.jsp' class='iconPhone' style='background-position: -30px -639px;'>银行卡</a>");
    							}else{
    								out.println("<a href='http://www.beikecai.com/member/mobilepro.jsp'  class='iconPhone' style=' background-position: -30px -669px;'>银行卡</a>");
    							}
    						%>
	    					<%
    								if(userInfo[11].equals("null")|| userInfo[11].equals("") || userInfo[11]==null || userInfo[11].equals("无"))
    								{
    									out.println("<a href='http://www.beikecai.com/member/pwdProtect.jsp' class='iconEmail' style='width:46px;background-position: -62px -639px;'>邮箱</a>");
    								}else{
    									out.println("<a href='http://www.beikecai.com/member/pwdProtect.jsp'  class='iconEmail' style='width:46px;background-position: -62px -669px;'>邮箱</a>");
    								}
    							%>
							<br />
           <span class="fleft">账户安全：</span>
           <div class="percentB fleft"><em style="width:80%"></em></div>
           <span class="fleft red">　　&nbsp;建议手机认证，提高账户安全性</span><br />

      </div>
      <h6>我最近的投注记录</h6>
      	
			  			<input type="hidden"  name="date" id="startDate" class="date_input" /> 
  						<input type="hidden" name="date" id="endDate" class="date_input" />  
  						<input type='hidden' value='查询' onclick='ShowBuyLotteryDate("1","15")' class='btn_submit' />
      <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>
          		 
  </div>
</div>
  <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>
<%@include file='/common/footer.jsp' %>
  <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>

