<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{#$title#}</title>
	<meta name="author" content="骑士CMS" />
	<meta name="copyright" content="74cms.com" />
	<link rel="shortcut icon" href="{#$QISHI.site_dir#}favicon.ico" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/user_common.css" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/user_personal.css" />
	<script src="{#$QISHI.site_template#}js/png24fix.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.js"></script>
	<script>
		$(document).ready(function() {
			$(".security_item:last").css({"border-bottom":"0"});
			var RightHeight = $(".a_s_right").height();
			$(".a_s_left .a_s_nav").height(RightHeight-2);
			// 发送手机验证码 
			$("#SendMobileCode").click(function() {
				var mobile = $("input[name=mobile]").val();
				$.post('{#$QISHI.site_dir#}plus/ajax_verify_mobile.php',{act: 'send_code',mobile:mobile},function(data){
					if(data=="success")
					{
						alert("验证码已发至您的手机");
					}	
					else
					{
						alert(data);
					}
				});
			});
			// 手机验证操作 MobileSubmit
			$("#MobileSubmit").click(function() {
				var mobile = $("input[name=mobile]").val();
				var verifycode = $("input[name=mobilecode]").val();
				$.post('{#$QISHI.site_dir#}plus/ajax_verify_mobile.php', {act:"verify_code",mobile:mobile,verifycode:verifycode}, function(data) {
					if(data=="success")
					{
						window.location.href="personal_info.php?act=edit_user_mobile";
					}
					else
					{
						alert(data);
					}
				});
			});
		});
	</script>
</head>
<body>
{#include file="member_personal/header.htm"#}
	<!-- 账号安全页面 -->
	<div class="container">
		<div class="account_security clearfix">
			{#include file="member_personal/personal_info_nav.htm"#}
			<div class="a_s_right">
				<div class="a_s_main">
					 <div class="account_s_title clearfix"><h2>账号安全</h2></div>
					 <div class="account_s_box">
						<div class="last_login">上次登录：{#$member.last_login_time|date_format:"%Y-%m-%d"#}</div>
						<div class="security_box">
							<div class="security_item">
								<div class="security_info_show clearfix">
									<div class="security_info_type staus done">登录密码</div>
									<div class="security_tip password">互联网账号存在被盗风险，建议您定期更改密码以保护账户安全。</div>
									<div class="change link_blue"><a href="?act=edit_password" class="change_btn" id="edit_password">修改</a></div>
								</div>
							</div>
							<div class="security_item">
								<div class="security_info_show clearfix">
									<div class=" {#if $member.email_audit=='0'#}security_info_type staus not_done{#else#}security_info_type staus done{#/if#}">邮箱认证</div>
									<div class="security_tip">{#if $member.email_audit=='1'#}您验证的邮箱： <span>{#$member.email#}</span>{#else#}您还没有设置邮箱认证{#/if#}</div>
									<div class="change link_blue"><a href="?act=user_email" class="change_btn">{#if $member.email_audit=='1'#}修改{#else#}设置{#/if#}</a></div>
								</div>
							</div>
							<div class="security_item">
								<div class="security_info_show clearfix">
									<div class="{#if $member.mobile_audit=='0'#}security_info_type staus not_done{#else#}security_info_type staus done{#/if#}">绑定手机</div>
								</div>
								<!-- 第一步 -->
								<div class="security_change_box">
									<div class="security_step_bar clearfix">
										<div class="s_step step1">验证身份</div>
										<div class="s_step step2">修改手机</div>
										<div class="s_step step3">完成</div>
									</div>
									<div class="security_change_form">
										<div class="security_change_item clearfix">
											<div class="security_change_type">原手机号：</div>
											<div class="security_change_con">
												<span class="number">{#$member.mobile#}</span>
											</div>
										</div>
										<div class="security_change_item clearfix">
											<div class="security_change_type">验证码：</div>
											<div class="security_change_con link_blue">
												<input type="text" class="input_text_170" /><a href="javascript:void(0)" id="SendMobileCode" class="ver_code">获取验证码</a><span class="form_error_span">验证码不正确</span>
											</div>
										</div>
										<div class="security_change_item clearfix">
											<div class="security_change_type">&nbsp;</div>
											<div class="security_change_con">
												<input type="button" id="MobileSubmit" value="确定" class="but60lan" />
												<a href="?act=security" class="a_s_cancel">取消</a>
											</div>
										</div>
									</div>
								</div>
								<!-- 第一步结束 -->
							</div>
						</div>
					 </div>
				</div>
			</div>
		</div>
	</div>
	{#include file="./footer.htm"#}
</body>
</html>