<%@ page language="java" import="java.util.*,com.letousky.lottery.action.IdentityBindAction,com.letousky.exception.LotteryException" pageEncoding="UTF-8"%>
<% 
	String[] userAry=(String[])session.getAttribute("userAry");
	String uId = userAry[1];
	String[] param = new String[]{uId};
	String isBind = new IdentityBindAction().isBind(param);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>彩票中国--我的账户--会员中心</title>
    
	<meta http-equiv="pragma" content="no-cache"/>

	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
	<meta http-equiv="description" content="This is my page"/>
	<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/plugin/library.js'></script>
	<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" />
	<link href="<%=request.getContextPath()%>/letoula/useraccount/css/pwdProtect.css" rel="stylesheet" type="text/css" />
  </head>
  
  <body>
  	<div class='buy_record'>
  		身份绑定
  	</div>
  	<%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">0755-4007778310</font>
	  		</div>
	  	</div>
  <%}%>
  </body>
  </html>