<%@ page language="java" import="java.util.*,com.letousky.lottery.action.IdentityBindAction,com.letousky.exception.LotteryException" pageEncoding="UTF-8"%>
<%@include file='/common/headtop.jsp' %>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/member.css" />

	<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/useraccount/js/identityBind.js'></script>
	<link href="<%=request.getContextPath()%>/letoula/useraccount/css/userDate.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>
</head>
<body>
<%@include file='/common/topLine.jsp' %>
<%
String uId = userAry[1];
String[] param = new String[]{uId};
String isBind = new IdentityBindAction().isBind(param);
%>
<%@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/password_upd.jsp')">修改密码</li>
           <li id="myon1" onclick="javascript:tabMember(1,'<%=request.getContextPath()%>/member/pwdProtect.jsp')">密码保护</li>
           <li class="on" id="myon2" onclick="javascript:tabMember(2,'<%=request.getContextPath()%>/member/identityBind.jsp')">身份绑定</li>
           <li 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"> 
      	<!--================================加入内容============================== -->
   		<%if("0000".equals(isBind)){%>
	  	<div class='basic'>
	  		<div class='s_leval'>
	  			<span class='span_img'></span>
	  			<span class='span_text'>您还没有身份绑定、请填写以下资料进行身份绑定</span></br>
	  			<span style='margin-left:40px;'>为什么要绑定身份证？<span style="font:12px Arial;color:#ff0000;">绑定身份证能够保证您的资金安全。提现所使用的银行卡，必须是使用绑定的身份证开设的。不可更改，请认真填写</span></span>
	  		</div>
			<div style="margin-left:150px;font:16px Arial;">
	  			<table>
					<tr>
						<td align="right"><font color="#FF0000">*</font>真实姓名:</td>
						<td><input type="text" id='name'/></td>
	  				</tr>
	  				<tr height="40">
	  					<td align="right"><font color="#FF0000">*</font>身份证号码:</td>
	  					<td>
	  						<input  type="text" id='identityNum'/>
						</td>
					</tr>
					<tr height="40">
	  					<td align="right"><font color="#FF0000">*</font>确认身份证号码:</td>
	  					<td>
	  						<input type="text" id='confirmIdentityNum'/>
						</td>
					</tr>
	  				<tr>
	  					<td></td>
	  					<td align='left'><a href="#" class='bind_btt' onClick="javascript:identityBind()">确认绑定</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 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>
