<%@ page language="java" import="java.util.*,java.text.*,com.letousky.lottery.delegate.WinsFlat,
com.letousky.lottery.action.AuxiliaryData,
com.letousky.lottery.util.InsiderCenterFormat,
com.letousky.lottery.action.IdentityBindAction,
com.letousky.lottery.action.ShowUserAction" pageEncoding="UTF-8"%>
<%@include file='/common/headtop.jsp' %>
<%
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; 
}

%>
<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' 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 params[]  = new String[]{userAry[1]};
    		String userisBind = new IdentityBindAction().isBind(params);
			String bankisBind = new IdentityBindAction().isBankBind(params);
    		String[] userInfo =  new ShowUserAction().userInfoShowNew(request);
    		String realName=new WinsFlat().findRealNameByUserId(request,response,userAry[1]);
    		if(realName==null){
    			realName="";
    		}
%>
<%@include file='/common/nav.jsp' %>
<!-- ======================================投注记录==================================== -->
<script type='text/javascript'>
			var userid='<%=userAry[1] %>';
			var nikeName = '<%=userAry[2]%>';
</script>


<div class="row mt10">
  <%@include file='/member/memberLeft.jsp' %>
         
        	    		<div id='contentRight'>
    			<div class='RightWidth_title'>个人资料</div>
    			<div class='RightWidth_content'>
    				<table class='RightWidth_contenttab01' align='center' border='0' cellspacing='1' cellpadding='0'>
    					<tr><td colspan='3' class='Rtab02a'>基本信息</td></tr>
    					<tr><td rowspan='5' width='60'><img src='<%=request.getContextPath()%>/letoula/user/img/grxx.gif' width='45' height='45' border='0' /></td><td class='Rtab07' width='80'>会员名</td><td class='Rtab01'><%=userInfo[1]%></td></tr>
    					<tr><td class='Rtab07' width='80'>注册时间</td><td class='Rtab01'><%=ide.GETTIME_YEAR_MOTH_DAY_DATE(userAry[3])%></td></tr>
    					<tr><td class='Rtab07' width='80'>邮箱</td><td class='Rtab01'>
    							<%
    								if(userInfo[11].equals("null")|| userInfo[11].equals("") || userInfo[11]==null || userInfo[11].equals("无"))
    								{
    									out.println("<a href='#'>暂未绑定邮箱</a>");
    								}else{
    									out.println(userInfo[11].substring(0,3)+"*****"+userInfo[11].substring(userInfo[11].indexOf("@"),userInfo[11].length()));
    								}
    							%>
    						</td>
    					</tr>
    					<tr><td class='Rtab07' width='80'>手机号：</td><td class='Rtab01'>
    						<%
    							if(userInfo[9].equals("null")||userInfo[9].equals("") || userInfo[9]==null || userInfo[9].equals("无")){
    								out.println("<a href='#'>暂未绑定手机号</a>");
    							}else{
    								out.println(userInfo[9].substring(0,3)+"*****"+userInfo[9].substring(8,11));
    							}
    						%>
    					</td>
    					</tr>
    					<tr><td class='Rtab07' width='80'>其他信息</td><td class='Rtab01'><a style="width:50px; height:22px; line-height:22px; text-align:center; background:#ff4242; color:#fff; display:block;" href="UserOther.jsp">修改</a></td></tr>
    				</table>
    				<table class='RightWidth_contenttab01' align='center' border='0' cellspacing='1' cellpadding='0'>
    					<tr><td colspan='3' class='Rtab02a'>实名信息</td></tr>
    					<%if(!"0000".equals(userisBind)&& !"".equals(realName)){%>
	    					<tr><td rowspan='4' width='60'><img src='<%=request.getContextPath()%>/letoula/user/img/smxx.gif' width='45' height='45' border='0' /></td><td class='Rtab07' width='80'>真实姓名</td><td class='Rtab01'><%=realName.substring(0,1)+"**"%></td></tr>
	    					<tr><td class='Rtab07' width='80'>身份证号：</td><td class='Rtab01'><%=userInfo[8].substring(0,3)+"************"+userInfo[8].substring(userInfo[8].length()-3,userInfo[8].length())%></td></tr>
    					<%}else{%>
    						<tr><td colspan='3'><a href="<%=request.getContextPath()%>/member/identityBind.jsp">立即去身份绑定</a></td></tr>
    					<%}%>
    				</table>
    				<table class='RightWidth_contenttab01' align='center' border='0' cellspacing='1' cellpadding='0'>
    					<tr><td colspan='3' class='Rtab02a'>提款信息</td></tr>
    					<%if(!"0000".equals(userisBind)&& !"无".equals(userInfo[3])){%>
	    					<tr><td class='Rtab07' width='150'>银行/第三方账户：</td><td class='Rtab01'><%=userInfo[2]%></td></tr>
	    					<tr><td class='Rtab07' width='150'>真实姓名：</td><td class='Rtab01'><%=userInfo[4].substring(0,1)+"**"%></td></tr>
	    					<tr><td class='Rtab07' width='150'>银行卡号/第三方账户名：</td><td class='Rtab01'><%=userInfo[3].substring(0,3)+"************"+userInfo[3].substring(userInfo[3].length()-3,userInfo[3].length())%></td></tr>
    					<%}else{%>
    						<tr><td colspan='3'><a href="<%=request.getContextPath()%>/member/bankBind.jsp">立即去银行卡绑定</a></td></tr>
    					<%}%>
    				</table>
    			</div>
    		</div> 	      		
 </div>
 <div class="tips_m" style="width:375px; " id="blk2">
    <div class="tips_b">
         <div class="tips_box">
         	<div class="tips_title">
                 <h2>温馨提示</h2>
                 <span class="closes"><a href="javascript:create_class.seaDetails('blk2','h')" id="close1">关闭</a></span>
             </div>
             <p style='text-align:center;'>
             	<b class='def'></b>
             	<strong class='eroorMsg'></strong>
             </p>
             <p style='text-align:center;'><input type='button' class='btn_Dora_b' id='yclass_alert_ok' onclick=create_class.seaDetails('blk2','h') value='关 闭' /></p>
            
         </div>
    </div>
</div>
<%@include file='/common/footer.jsp' %>


