<%@ page language="java" import="java.util.*,com.letousky.lottery.action.ShowUserAction,com.letousky.exception.LotteryException" pageEncoding="UTF-8"%>
<%
String[] userInfo =  new ShowUserAction().userInfoShowNew(request);
%>
<%@include file='../common/headtop.jsp' %>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/member.css" />
<link href="<%=request.getContextPath()%>/letoula/user/css/account.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/letoula/css/register.css" rel="stylesheet" type="text/css" />
<!--script type='text/javascript' src='<%=request.getContextPath() %>/letoula/user/regupd.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/css/register.css" rel="stylesheet" type="text/css" />
<script type='text/javascript'>
		var url = '<%=request.getContextPath()%>';
</script>
<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/public.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/member/regupd.js'></script>
<!-- ======================================投注记录==================================== -->
</head>
<body>
<%@include file='/common/topLine.jsp' %>
<%@include file='/common/nav.jsp' %>
<!-- ======================================投注记录==================================== -->
<script type='text/javascript'>
			var userid='<%=userAry[1] %>';
//验证密码
  var pass='<%=session.getAttribute("password")%>';
  function checkPass()
  {
	// alert("jinlaile ");
	var inputPass=$("#passWord").val();
	if(inputPass==null || inputPass=="null" || inputPass==""){
		alert("请输入密码！");
		return false;
	}
	else{
		if(inputPass!=pass){
			alert("密码错误！");
			return false;
		}
	}
	return true;
  }

 function vali(obj){
	 if(!checkPass() || !checkColid(obj)){
		 return false;
	 }
	 else{
		 return true;
	 }
 }
</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 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" class="on" onclick="javascript:tabMember(4,'<%=request.getContextPath()%>/member/mobilepro.jsp')">手机绑定</li>
         </ul>
      </div>
       <div style="display:block;" id="on4"> 
      		<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:220px;">
      					<div class='box'>
    						<label class='label' for='tlePhone'>手机号码：</label>
    						<input type='text' name='tlePhone' tabIndex="3" class="input_box" id="tlePhone" autocomplete="off" maxLength="11" onblur="checktelPhone()"/>
    						<div class='info'>
    							<p class='info_normal info2' id='tlePhone_tip'>请填写常用手机号,方便您核实提款,保障资金安全。</p>
    							<p class='info_err info_w3' id='tlePhone_err'></p>
    							<span class='info_ok' id='tlePhone_ok'></span>
    						</div>
    					</div>
    					
    					<div class='box'>
    						<label class='label' for='passWord'>当前密码：</label>
    						<input type="password" name='passWord' tabIndex="3" class="input_box" id="passWord" autocomplete="off" maxLength="11" onblur="checkPass();" />
    					</div>
    					
    					<div class='box'>
    						<label class='label' for='tlePhone' style="line-height:24px;">手机验证码:</label>
    						<input type='text' name='colid' tabIndex="3" class="input_box2" id="colid" maxLength="11"/>
    						<span style="float:left; padding-left:10px;">
    							<input type="button" id="btn2" value="获取验证码" onclick="return vali(this);">		
    						</span>
    					</div>
    					<div class='box' style="padding-left:20px;">
    						<input type="button" id="btn3" value="确认绑定" onclick="return mobileBind222()">
    						<!--<a href="#" class='bind_btt' onClick="javascript:mobileBind()">确认绑定</a>
    					--></div>
    			  	</div>
	  			</div>
      </div>
      <div style="display:none;" id="on0">  </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>
