<!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_hunter.css" />
	<script src="{#$QISHI.site_template#}js/png24fix.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.js"></script>
	<script type="text/javascript" src="{#$QISHI.site_template#}js/jquery.radioui.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.user.selectlayer.js" type="text/javascript" charset="utf-8"></script>
	<script src="{#$QISHI.site_template#}js/tc.all.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.radiorelated.js"></script>
	<script src="{#$QISHI.site_template#}js/ajaxfileupload.js"></script>
	<script type="text/javascript">
	$(document).ready(function() {
		// 邮箱验证弹出框
		$(".Email").click(function() {
			popWin("EmailBox");
		});
		// 发送邮箱验证码
		$("#SendEmailCode").click(function() {
			var email = $("input[name=email]").val();
			$.post('{#$QISHI.site_dir#}plus/ajax_verify_email.php',{act: 'send_code',email:email},function(data){
				if(data=="success")
				{
					alert("验证码已发至您的邮箱");
				}	
				else
				{
					alert(data);
				}
			});
		});
		// 邮箱验证操作
		$("#EmailSubmit").click(function() {
			var email = $("input[name=email]").val();
			var verifycode = $("input[name=verifycode]").val();
			$.post('{#$QISHI.site_dir#}plus/ajax_verify_email.php', {act:"verify_code",email:email,verifycode:verifycode}, function(data) {
				if(data=="success")
				{
					alert("认证通过");
					$("#maskLayer").remove();
					$(".aui_outer").hide();
				}
				else
				{
					alert(data);
				}
			});
		});
		// 手机验证弹出框
		$(".Mobile").click(function() {
			popWin("MobileBox");
		});
		// 发送手机验证码 SendMobileCode
		$("#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")
				{
					alert("认证通过");
					$("#maskLayer").remove();
					$(".aui_outer").hide();
				}
				else
				{
					alert(data);
				}
			});
		});
		// 关闭弹出框
		$(".CloseBox").click(function() {
			$("#maskLayer").remove();
			$(".aui_outer").hide();
		});
	})
	</script>
</head>
<body>
	{#include file="member_hunter/header.htm"#}
	{#include file="member_hunter/hunter_info_nav.htm"#}
	<!-- 同步绑定 -->
	<div class="container">
		<div class="syn_binding">
			<div class="binding_item_box">
				<div class="any_binding clearfix">
					{#if $user.email_audit!=1#}
					<div class="a_bind_type">登录邮箱</div>
					<div class="bind_content">当前邮箱未验证：{#$user.email#}</div>
					<div class="opration link_blue"><a href="javascript:void(0)" class="o_a Email">绑定</a></div>
					{#else#}
					<div class="a_bind_type done">登录邮箱</div>
					<div class="bind_content">当前邮箱已验证：{#$user.email#} 您可以用该邮箱经行登录，找回密码等操作</div>
					<div class="opration link_blue"><a href="javascript:void(0)" class="o_a Email">修改</a></div>
					{#/if#}

				</div>
			</div>
			<div class="binding_item_box">
				<div class="any_binding clearfix">
					{#if $user.mobile_audit==1#}
					<div class="a_bind_type done">绑定手机</div>
					<div class="bind_content">当前手机已绑定：{#$user.mobile#}；绑定后可使用该手机登录账号或找回密码绑定后可使用该手机登录账号或找回密码</div>
					<div class="opration link_blue"><span>已验证</span><a href="javascript:void(0)" class="o_a Mobile">修改</a></div>
					{#else#}
					<div class="a_bind_type">绑定手机</div>
					<div class="bind_content">当前手机未验证：{#$user.mobile#}</div>
					<div class="opration link_blue"><a href="javascript:void(0)" class="o_a Mobile">验证</a></div>
					{#/if#}
				</div>
			</div>
			{#if $QISHI.qq_apiopen==1#}
			<div class="binding_item_box">
				<div class="any_binding clearfix">
					{#if $user.qq_openid!=""#}
					<div class="a_bind_type done">QQ绑定</div>
					<div class="bind_content">当前账号已绑定QQ</div>
					<div class="opration link_blue"><a href="?act=del_qq_binding" class="o_a">解绑</a></div>
					{#else#}
					<div class="a_bind_type ">QQ绑定</div>
					<div class="bind_content">当前帐号没有绑定QQ</div>
					<div class="opration link_blue"><a href="{#$QISHI.site_dir#}user/{#if $QISHI.qq_logintype=='1'#}connect_qq_client.php{#else#}connect_qq_server.php{#/if#}?act=binding" class="o_a">绑定</a></div>
					{#/if#}

				</div>
			</div>
			{#/if#}
			{#if $QISHI.taobao_apiopen==1#}
			<div class="binding_item_box">
				<div class="any_binding clearfix">
					{#if $user.taobao_access_token!=""#}
					<div class="a_bind_type done">淘宝绑定</div>
					<div class="bind_content">当前账号已绑定淘宝</div>
					<div class="opration link_blue"><a href="?act=del_sina_binding" class="o_a">解绑</a></div>
					{#else#}
					<div class="a_bind_type">淘宝绑定</div>
					<div class="bind_content">当前帐号没有绑定淘宝帐号</div>
					<div class="opration link_blue"><a href="{#$QISHI.site_dir#}user/connect_taobao.php" class="o_a">绑定</a></div>
					{#/if#}
				</div>
			</div>
			{#/if#}
			{#if $QISHI.sina_apiopen==1#}
			<div class="binding_item_box">
				<div class="any_binding clearfix">
					{#if $user.sina_access_token!=""#}
					<div class="a_bind_type done">新浪微博绑定</div>
					<div class="bind_content">当前账号已绑定新浪微博</div>
					<div class="opration link_blue"><a href="?act=del_taobao_binding" class="o_a">绑定</a></div>
					{#else#}
					<div class="a_bind_type">微博绑定</div>
					<div class="bind_content">当前账号未绑定新浪微博</div>
					<div class="opration link_blue"><a href="{#$QISHI.site_dir#}user/connect_sina.php" class="o_a">绑定</a></div>
					{#/if#}
				</div>
			</div>
			{#/if#}
		</div>
	</div>
	<!-- 同步绑定结束 -->
	<!-- 邮箱认证弹出框 -->
	<div class="aui_outer" style="display:none;" id="EmailBox">
		<form action="?act=auth_work_save" method="post" id="CompanyAuditForm">
		<table class="aui_border">
			<tbody>
				<tr><td class="aui_nw"></td><td class="aui_n"></td><td class="aui_ne"></td></tr>
				<tr>
					<td class="aui_w"></td>
					<td class="aui_c">
						<div class="aui_inner">
							<table class="aui_dialog">
								<tbody>
									<tr><td class="aui_header" colspan="2"><div class="aui_titleBar"><div class="aui_title" style="cursor: move;">邮箱认证</div><a href="javascript:;" class="aui_close">×</a></div></td></tr>
									<tr>
										<td class="aui_main" style="width: auto; height: auto; visibility: visible;">
											<div class="aui_content" style="padding: 0px;">
												<div style="width:500px" class="LocalDataMultiC">
													<div style="height:auto;" class="">
														<div class="floatContent">
															<div class="float_common_box">
																<div class="float_top_tip">系统将发送验证码到您的邮箱，填写验证码即可验证成功！</div>
																<table class="float_auth_table">
																	<tbody>
																		<tr height="40">
																			<td align="right">邮箱账号：</td>
																			<td>
																				<div class="float_control"><input type="text" class="input_text_float w185" name="email" value="{#$user.email#}"></div>
																			</td>
																			<td class="link_blue">&nbsp;<a href="javascript:void(0)" id="SendEmailCode">发送验证码</a></td>
																		</tr>
																		<tr height="40">
																			<td align="right">验证码：</td>
																			<td>
																				<div class="float_control">
																					<input type="text" class="input_text_float w185" name="verifycode">
																				</div>
																			</td>
																		</tr>
																	</tbody>
																</table>
															</div>
														</div>
													</div>
												</div>
											</div>
										</td>
									</tr>
									<tr><td class="aui_footer" colspan="2"><div class="aui_buttons" style=""><button class="aui-btn aui-btn-primary" id="EmailSubmit" type="button">确定</button><button class="aui-btn aui-btn-light CloseBox" type="button">取消</button></div></td></tr>
								</tbody>
							</table>
						</div>
					</td>
					<td class="aui_e"></td>
				</tr>
				<tr><td class="aui_sw"></td><td class="aui_s"></td><td class="aui_se" style="cursor: se-resize;"></td></tr>
			</tbody>
		</table>
		</form>
	</div>
	<!-- 邮箱认证弹出框 End -->
	<!-- 手机验证弹出框  -->
	<div class="aui_outer" style="display:none;" id="MobileBox">
		<table class="aui_border">
			<tbody>
				<tr><td class="aui_nw"></td><td class="aui_n"></td><td class="aui_ne"></td></tr>
				<tr>
					<td class="aui_w"></td>
					<td class="aui_c">
						<div class="aui_inner">
							<table class="aui_dialog">
								<tbody>
									<tr><td class="aui_header" colspan="2"><div class="aui_titleBar"><div class="aui_title" style="cursor: move;">手机认证</div><a href="javascript:;" class="aui_close">×</a></div></td></tr>
									<tr>
										<td class="aui_main" style="width: auto; height: auto; visibility: visible;">
											<div class="aui_content" style="padding: 0px;">
												<div style="width:500px" class="LocalDataMultiC">
													<div style="height:auto;" class="">
														<div class="floatContent">
															<div class="float_common_box">
																<div class="float_top_tip">系统将发送验证码到您的手机，填写验证码即可验证成功！</div>
																<table class="float_auth_table">
																	<tbody>
																		<tr height="40">
																			<td align="right">手机号：</td>
																			<td>
																				<div class="float_control"><input type="text" class="input_text_float w185" name="mobile" value="{#$user.mobile#}"></div>
																			</td>
																			<td class="link_blue">&nbsp;<a href="javascript:void(0)" id="SendMobileCode">发送验证码</a></td>
																		</tr>
																		<tr height="40">
																			<td align="right">验证码：</td>
																			<td>
																				<div class="float_control">
																					<input type="text" class="input_text_float w185" name="mobilecode" value="">
																				</div>
																			</td>
																		</tr>
																	</tbody>
																</table>
															</div>
														</div>
													</div>
												</div>
											</div>
										</td>
									</tr>
									<tr><td class="aui_footer" colspan="2"><div class="aui_buttons" style=""><button class="aui-btn aui-btn-primary" id="MobileSubmit" type="button">确定</button><button class="aui-btn aui-btn-light CloseBox" type="button">取消</button></div></td></tr>
								</tbody>
							</table>
						</div>
					</td>
					<td class="aui_e"></td>
				</tr>
				<tr><td class="aui_sw"></td><td class="aui_s"></td><td class="aui_se" style="cursor: se-resize;"></td></tr>
			</tbody>
		</table>
	</div>
	<!-- 手机验证弹出框 End -->


	<!-- 底部 -->
	{#include file="./footer.htm"#}
	<!-- 底部结束 -->
</body>
</html>