<%@ page language="java" import="java.util.*,com.letousky.lottery.action.IdentityBindAction,com.letousky.exception.LotteryException,com.letousky.lottery.action.AuxiliaryData" 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/header.jsp' %>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/member.css" />

	<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/useraccount/js/bankBind.js'></script>
	<link href="<%=request.getContextPath()%>/letoula/useraccount/css/userDate.css" rel="stylesheet" type="text/css" />
	<link href="<%=request.getContextPath()%>/letoula/useraccount/css/pwdProtect.css" rel="stylesheet" type="text/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' 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>
<!-- ======================================投注记录==================================== -->

<body>
<%@include file='/common/topLine.jsp' %>
<div class="bgGray">
<%@include file='/common/nav.jsp' %>
</div>
<% 
	String uId = userAry[1];
	String[] param = new String[]{uId};
	String isBind = new IdentityBindAction().isBankBind(param);
%>
<script type='text/javascript'>
			var userid='<%=userAry[1] %>';
</script>
<!-- ======================================投注记录==================================== -->

<div class="row mt10">
   <div class="memberL fleft">
      <ul>
       <li class="on"><em class="memberL_icon1"></em><a href="<%=request.getContextPath()%>/member/index.jsp">我的账户</a><u></u></li>
       <li><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"  class="bgRed">提　　款</a></li>
         <li><a href="<%=request.getContextPath()%>/member/userInfo.jsp">个人资料</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 id="myon0" onclick="javascript:tabMember(0,'<%=request.getContextPath()%>/member/password_upd.jsp')">修改密码</li>
           <li id="myon1" onclick="javascript:tabMember(1,'<%=request.getContextPath()%>/member/pwdProtect.jsp')">密码保护</li>
           <li id="myon2" onclick="javascript:tabMember(2,'<%=request.getContextPath()%>/member/identityBind.jsp')">身份绑定</li>
           <li class="on" id="myon3" onclick="javascript:tabMember(3,'<%=request.getContextPath()%>/member/bankBind.jsp')">银行卡绑定</li>
           <li id="myon4" onclick="javascript:tabMember(4,'<%=request.getContextPath()%>/member/mobilepro.jsp')">手机绑定</li>
         </ul>
      </div>
     <div style="display:block;" id="on0"> 
      	<!--================================加入内容============================== -->
   		<div id='contentRight'>
    		  	<%if(isBind.equals("0000")){%>
	  	<div class='basic'>
	  		<div class='s_leval'>
	  			<span class='span_img'></span>
	  			<span class='span_text'>您还没有银行卡绑定、您需要绑定银行卡后才能提款！<font color="#FF5500;">注:您绑定的银行卡信息需与身份绑定的信息一致</font></span>
	  		</div>
			<div style="margin-left:150px;font:16px Arial;">
	  			<table>
					<tr>
						<td align="right" style="font:14px Arial;color:#333;">开卡银行名称:</td>
						<td>
							<select id='bank'>
								  <option value="0">请选择银行</option>
						  		  <option value="招商银行">招商银行</option>
						  		  <option value="工商银行">工商银行</option>
						  		  <option value="中国建设银行">中国建设银行</option>
						  		  <option value="中国邮政">中国邮政</option>
						  		  <option value="招商银行">招商银行</option>
						  		  <option value="中国银行">中国银行</option>
						  		  <option value="交通银行">交通银行</option>
						  		  <option value="中信银行">中信银行</option>
						  		  <option value="兴业银行">兴业银行</option>
						  		  <option value="光大银行">光大银行</option>
						  		  <option value="华夏银行">华夏银行</option>
						  		  <option value="中国民生银行">中国民生银行</option>
						  		  <option value="中国农业银行">中国农业银行</option>
						  		  <option value="农村信用合作社">农村信用合作社</option>
						  		  <option value="农村商业银行">农村商业银行</option>
						  		  <option value="农村合作银行">农村合作银行</option>
						  		  <option value="城市商业银行">城市商业银行</option>
						  		  <option value="城市信用合作社">城市信用合作社</option>
						  		  <option value="国家开发银行">国家开发银行</option>
						  		  <option value="中国进出口银行">中国进出口银行</option>
						  		  <option value="恒丰银行">恒丰银行</option>
						  		  <option value="平安银行">平安银行</option>
						  		  <option value="渤海银行">渤海银行</option>
						  		  <option value="广东发展银行">广东发展银行</option>
						  		  <option value="深圳发展银行">深圳发展银行</option>
						  		  <option value="广州市商业银行">广州市商业银行</option>
						  		  <option value="珠海南通银行">珠海南通银行</option>
						  		  <option value="北京银行">北京银行</option>
						  		  <option value="天津银行">天津银行</option>
						  		  <option value="上海浦东发展银行">上海浦东发展银行</option>
						  		  <option value="上海银行">上海银行</option>
						  		  <option value="浙商银行">浙商银行</option>
						  		  <option value="浙江商业银行">浙江商业银行</option>
						  		  <option value="宁波国际银行">宁波国际银行</option>
						  		  <option value="宁波银行">宁波银行</option>
						  		  <option value="温州银行">温州银行</option>
						  		  <option value="南京银行">南京银行</option>
						  		  <option value="常熟农村商业银行">常熟农村商业银行</option>
						  		  <option value="福建亚洲银行">福建亚洲银行</option>
						  		  <option value="福建兴业银行">福建兴业银行</option>
						  		  <option value="徽商银行">徽商银行</option>
						  		  <option value="厦门国际银行">厦门国际银行</option>
						  		  <option value="青岛市商业银行">青岛市商业银行</option>
						  		  <option value="济南市商业银行">济南市商业银行</option>
						  		  <option value="重庆银行">重庆银行</option>
						  		  <option value="成都市商业银行">成都市商业银行</option>
						  		  <option value="哈尔滨银行">哈尔滨银行</option>
						  		  <option value="包头市商业银行">包头市商业银行</option>
						  		  <option value="南昌市商业银行">南昌市商业银行</option>
						  		  <option value="贵阳商业银行">贵阳商业银行</option>
						  		  <option value="兰州市商业银行">兰州市商业银行</option> 
							</select>
						</td>
	  				</tr>
					<tr height="40">
	  					<td align="right" style="font:14px Arial;color:#333;">银行账户名:</td>
	  					<td>
	  						<input type="text" id='bankName' onblur="trim(this);"/> 
						</td>
					</tr>
					<tr height="40">
	  					<td align="right">银行卡号:</td>
	  					<td>
	  						<input type="text" id='bankCard' onblur="trim(this);"/>
						</td>
					</tr>
	  				<tr>
	  					<td></td>
	  					<td align='left'><a href="#" class='bind_btt' onClick="javascript:bankBind()">确认绑定</a></td>
	  				</tr>
	  			</table>
	  		</div>
	  	</div>
	  	
  	<%}else{%>
	  	<div class='basic'>
	  		<div class='s_leval'>
	  			<span class='span_img'></span>
	  			<span class='span_text'>身份绑定</span>
	  		</div>
	  		<div style="font:bold 14px Arial;margin:50px 0 0 150px;height:200px;">
	  			您的银行卡已绑定、如需更改请拨打服务热线<font color="#ff0000">0571-87209043</font>
	  		</div>
	  	</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>
</div>
<%@include file='/common/footer.jsp' %>

<script type="text/javascript" src="<%=request.getContextPath()%>/letoula/user/js/ac_d_l.js" charset="utf-8"></script>

  <script type='text/javascript' src='' id='updPswd'></script>
