<!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() {
			// 实名认证弹出框
			$("#card_audit").click(function() {
				popWin("card_audit_box");
			});
			// .CardImgChoose 触发 input file
			$(".CardImgChoose").click(function(){
				$("#resume_uploader").click();
			});
			// CardImgName 赋值
			$("#resume_uploader").change(function() {
				var name = $(this).val();
				$("#CardImgName").val(name);
			});
			// #CardImgSubmit 上传实名认证图片
			$("#CardImgSubmit").click(function(){
			 	$.ajaxFileUpload({
		            url: "?act=auth_name_card_save",
		            secureuri: false,
		            fileElementId: "resume_uploader",
		            dataType: "text",
		            success: function(data, status){
		              switch(data){
		                case "-1":alert("上传图片失败：上传目录不存在!");return false;break;
		                case "-2":alert("上传图片失败：上传目录无法写入!");return false;break;
		                case "-3":alert("上传图片失败：你选择的文件无法上传！");return false;break;
		                case "-4":alert("上传图片失败：文件大小超过限制");return false;break;
		                case "-5":alert("上传图片失败：文件类型错误！");return false;break;
		                case "-6":alert("上传图片失败：文件上传出错！");return false;break;
		                default:break;
		              }
		              $("img.middleFace").attr("src", "{#$QISHI.site_dir#}data/hunter/card_img/"+data);
		              $("input[name=card_img]").val(data);
		            },
		            error: function(data, status, e){
		              alert(data);
		            }
	          	});
			});
			// 提交认证信息
			$("#CardAuditSubmit").click(function() {
				$("#CardAuditForm").submit();
			});
			// 关闭弹出框
			$(".CloseBox").click(function() {
				$("#maskLayer").remove();
				$(".aui_outer").hide();
			});
			/* 从业认证 */
			$("#company_audit").click(function() {
				popWin("company_audit_box");
			});
			$("#CompanyAuditSubmit").click(function() {
				$("#CompanyAuditForm").submit();
			});
			/* 照片认证 */
			$("#avatars_audit").click(function() {
				popWin("avatars_audit_box");
			});
			// PhotoImgChoose 触发 input file
			$(".PhotoImgChoose").click(function(){
				$("#Photo_uploader").click();
			});
			// PhotoImgName 赋值
			$("#Photo_uploader").change(function() {
				var name = $(this).val();
				$("#PhotoImgName").val(name);
			});
			// #PhotoImgSubmit 上传照片
			$("#PhotoImgSubmit").click(function(){
			 	$.ajaxFileUpload({
		            url: "?act=auth_photo_save",
		            secureuri: false,
		            fileElementId: "Photo_uploader",
		            dataType: "text",
		            success: function(data, status){
		              switch(data){
		                case "-1":alert("上传图片失败：上传目录不存在!");return false;break;
		                case "-2":alert("上传图片失败：上传目录无法写入!");return false;break;
		                case "-3":alert("上传图片失败：你选择的文件无法上传！");return false;break;
		                case "-4":alert("上传图片失败：文件大小超过限制");return false;break;
		                case "-5":alert("上传图片失败：文件类型错误！");return false;break;
		                case "-6":alert("上传图片失败：文件上传出错！");return false;break;
		                default:break;
		              }
		              $("img.middleFace1").attr("src", "{#$QISHI.site_dir#}data/hunter/photo_img/"+data);		              
		              $("input[name=avatars]").val(data);
		            },
		            error: function(data, status, e){
		              alert(data);
		            }
	          	});
			});
			// PhotoAuditSubmit
			$("#PhotoAuditSubmit").click(function() {
				$("#AvatarsAuditForm").submit();
			});
		});
	</script>
</head>
<body>
	{#include file="member_hunter/header.htm"#}
	{#include file="member_hunter/hunter_info_nav.htm"#}
	<!-- 二级菜单结束 -->
	<!-- 猎头认证信息 -->
	<div class="container">
		<div class="hunter_auth_info">
			<div class="hunter_auth_state">非常感谢您注册骑士猎头会员，您目前的状态是：<span class="member_green">正式会员</span> 。（猎头认证ID：LT{#$hunter_info.id#} ）</div>
			<div class="hunter_auth_level clearfix">
				<div class="h_a_level">猎头等级：</div>
				<div class="level_hunter">
					<span class="hunter_level_icon level{#$hunter_info.level_meal#}" title="{#$hunter_info.level#}"></span>
				</div>
				<div class="next_level">
					{#if $next_level=="all"#}恭喜您，您已经是最高等级了！{#else#}距下一级还有{#$next_level#}经验。{#/if#}
				</div>
			</div>
			<div class="pointer_left link_blue">
				<span>积分剩余：<em>{#$points#}</em> 分</span>
				<a href="?act=my_points">[积分详情]</a>
				<a href="?act=points_recharge">[立即充值]</a>
			</div>
		</div>
		<div class="auth_type clearfix">
			<div class="auth_type_item">
				<div class="a_t_item_box">
					<div class="auth_type_title r_name">实名认证</div>
					<div class="auth_type_con link_blue">
					{#if $hunter_info.card_audit == 1#}
						恭喜您，认证通过
					{#elseif $hunter_info.card_audit == 2#}
						<span>提交待审核，<a href="javascript:;" id="card_audit">修改资料</a></span>
					{#elseif $hunter_info.card_audit == 3#}
						<span>审核未通过，<a href="javascript:;" id="card_audit">修改资料</a></span>
					{#else#}
						尚未提交，<a href="javascript:;" id="card_audit">完善资料</a>
					{#/if#} 
					</div>
				</div>	
			</div>
			<div class="auth_type_item">
				<div class="a_t_item_box">
					<div class="auth_type_title job_auth">从业认证</div>
					<div class="auth_type_con link_blue">
					{#if $hunter_info.belongcompany_audit == 1#}
						恭喜您，认证通过
					{#elseif $hunter_info.belongcompany_audit == 2#}
						<span>提交待审核，<a href="javascript:;" id="company_audit">修改资料</a></span>
					{#elseif $hunter_info.belongcompany_audit == 3#}
						<span>审核未通过，<a href="javascript:;" id="company_audit">修改资料</a></span>
					{#else#}
						尚未提交，<a href="javascript:;" id="company_audit">完善资料</a>
					{#/if#} 
					</div>
				</div>	
			</div>
			<div class="auth_type_item">
				<div class="a_t_item_box last">
					<div class="auth_type_title photo_auth">照片认证</div>
					<div class="auth_type_con link_blue">
					{#if $hunter_info.avatars_audit == 1#}
						恭喜您，认证通过
					{#elseif $hunter_info.avatars_audit == 2#}
						<span>提交待审核，<a href="javascript:;" id="avatars_audit">修改资料</a></span>
					{#elseif $hunter_info.avatars_audit == 3#}
						<span>审核未通过，<a href="javascript:;" id="avatars_audit">修改资料</a></span>
					{#else#}
						尚未提交，<a href="javascript:;" id="avatars_audit">完善资料</a>
					{#/if#} 
					</div>
				</div>	
			</div>
		</div>
		<div class="auth_info_tips">
			<div class="auth_why">为什么要进行猎头会员认证？</div>
			<p>为了保护职业经理人的隐私信息，建立职业经理人与猎头顾问的诚信平台，我们会对每一位猎头用户都会进行严格的身份审核。审核时间一般需要1-3个工作日。同时，使用真实的姓名、头像照片等，是对自我品牌的曝光，也便于候选人更好的记住您。</p>
			<p>我们郑重承诺，没有得到您的同意，我们决不泄露您的任何个人信息给第三方！</p>
		</div>
	</div>
	<!-- 猎头认证信息结束 -->
	<!-- 实名认证弹出框 -->
	<div class="aui_outer" style="display:none;" id="card_audit_box">
		<form action="?act=auth_name_update" method="post" id="CardAuditForm">
		<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="rel_name_auth clearfix">
																	<div class="rna_left" style="width:308px">
																		<table>
																			<tbody>
																				<tr height="40">
																					<td>真实姓名：</td>
																					<td>
																						<div class="float_control">
																							<input type="text" class="input_text_float w215" name="fullname" value="{#$hunter_info.fullname#}">
																							<!-- <span class="float_error">请输入真实姓名<i class="error_arrow"></i></span> -->
																						</div>
																					</td>
																				</tr>
																				<tr height="40">
																					<td>身份证号：</td>
																					<td>
																						<div class="float_control">
																							<input type="text" class="input_text_float w215" name="card" value="{#$hunter_info.card#}">
																							<!-- <span class="float_error">请输入身份证号<i class="error_arrow"></i></span> -->
																						</div>
																					</td>
																				</tr>
																				<tr height="40">
																				<form action="?act=auth_name_card_save" enctype="multipart/form-data" method="post" id="CardImgForm">
																					<td>证件上传：</td>
																					<td>
																						<div class="upload">
																							<div class="upload_input"><input type="text" value="" class="CardImgChoose" id="CardImgName"/></div>
																							<input type="button" value="选择" class="f_choose_btn CardImgChoose"/>
																						</div>
																						<input type="button" value="上传" class="f_upload_btn" id="CardImgSubmit"/>
																						<input type="file" id="resume_uploader" style="display: none;" name="CardImg"/>
																					</td>
																				</form>
																				</tr>
																			</tbody>
																		</table>
																		<!-- <div class="float_btn_guoup">
																			<input type="button" value="提交" class="float_but55lan">&nbsp;&nbsp;&nbsp;
																			<input type="button" value="取消" class="float_but55hui">
																		</div> -->
																	</div>
																	<div class="rna_right">
																		<!-- <p>证件预览</p> -->
																		<div class="idcard_box">
																			{#if $hunter_info.card_img#}
																			<img src="{#$QISHI.site_dir#}data/hunter/card_img/{#$hunter_info.card_img#}" width="143" height="133" alt="" class="middleFace"/>
																			{#else#}
																			<img src="{#$QISHI.site_template#}images/idcard.gif" width="143" height="133" alt="" class="middleFace"/>
																			{#/if#}
																			<input type="hidden" name="card_img" value="{#$hunter_info.card_img#}"/>
																		</div>
																	</div>
																</div>
															</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="CardAuditSubmit" 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="company_audit_box">
		<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="rel_name_auth clearfix">
																	<div class="rna_left">
																		<table>
																			<tbody>
																				
																				<tr height="40">
																					<td>公司名称：</td>
																					<td>
																						<div class="float_control">
																							<input type="text" class="input_text_float w215" name="belongcompany" value="{#$hunter_info.belongcompany#}">
																							<!-- <span class="float_error">请输入真实姓名<i class="error_arrow"></i></span> -->
																						</div>
																					</td>
																				</tr>
																				<tr height="40">
																					<td>公司电话：</td>
																					<td>
																						<div class="float_control">
																							<input type="text" class="input_text_float w215" name="companytelephone" value="{#$hunter_info.companytelephone#}">
																							<!-- <span class="float_error">请输入身份证号<i class="error_arrow"></i></span> -->
																						</div>
																					</td>
																				</tr>
																			</tbody>
																		</table>
																	</div>
																</div>
															</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="CompanyAuditSubmit" 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="avatars_audit_box">
		<form action="?act=avatars_update" method="post" id="AvatarsAuditForm">
		<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:520px" class="LocalDataMultiC">
													<div style="height:auto;" class="">
														<div class="floatContent">
															<div class="float_common_box">
																<div class="rel_photo_auth clearfix">
																	<div class="rpa_left">
																		<p>请上传真实头像</p>
																		<div class="pic_upload_box">
																			<div class="pic_upload_content">
																				<div class="puc_title">上传职业商务大头照可快速通过审核，如：</div>
																				<div class="bad_exmplate clearfix">
																					<div class="bad_pic_show">
																						<img src="{#$QISHI.site_template#}images/bad_pic01.gif" width="50" height="60" alt="" />
																						<span class="good">√</span>标准
																					</div>
																					<div class="bad_pic_show">
																						<img src="{#$QISHI.site_template#}images/bad_pic02.gif" width="50" height="60" alt="" />
																						<span class="bad">x</span>不合格
																					</div>
																					<div class="bad_pic_show">
																						<img src="{#$QISHI.site_template#}images/bad_pic03.gif" width="50" height="60" alt="" />
																						<span class="bad">x</span>不合格
																					</div>
																				</div>
																				<div>
																						<div class="upload">
																							<div class="upload_input"><input type="text" value="" class="PhotoImgChoose" id="PhotoImgName"/></div>
																							<input type="button" value="选择" class="f_choose_btn PhotoImgChoose"/>
																						</div>
																						<input type="button" value="上传" class="f_upload_btn" id="PhotoImgSubmit"/>
																						<input type="file" id="Photo_uploader" style="display: none;" name="PhotoImg"/>
																						<input type="hidden" name="avatars" value="{#$hunter_info.avatars#}"/>
																				</div>
																				<div class="geshi">支持JPG、JPEG、PNG、GIF格式 <br /> 且大小不要超过2M</div>
																			</div>
																		</div>
																	</div>
																	<div class="rpa_right">
																		<p>当前头像</p>
																		<div class="f_avater_box clearfix">
																			{#if $hunter_info.avatars#}
																			<div class="float_avater">
																				<div class="a_border ract100">
																					<img src="{#$QISHI.site_dir#}data/hunter/photo_img/{#$hunter_info.avatars#}" width="100" height="100" alt="" class="middleFace1"/>
																				</div>
																				100*100
																			</div>
																			<div class="float_avater">
																				<div class="a_border ract80">
																					<img src="{#$QISHI.site_dir#}data/hunter/photo_img/{#$hunter_info.avatars#}" width="80" height="80" alt="" class="middleFace1" />
																				</div>
																				80*80
																			</div>
																			<div class="float_avater">
																				<div class="a_border ract50">
																					<img src="{#$QISHI.site_dir#}data/hunter/photo_img/{#$hunter_info.avatars#}" width="50" height="50" alt="" class="middleFace1"/>
																				</div>
																				50*50
																			</div>
																			{#else#}
																			<div class="float_avater">
																				<div class="a_border ract100">
																					<img src="{#$QISHI.site_template#}images/float_avater.gif" width="100" height="100" alt="" class="middleFace1"/>
																				</div>
																				100*100
																			</div>
																			<div class="float_avater">
																				<div class="a_border ract80">
																					<img src="{#$QISHI.site_template#}images/float_avater.gif" width="80" height="80" alt="" class="middleFace1" />
																				</div>
																				80*80
																			</div>
																			<div class="float_avater">
																				<div class="a_border ract50">
																					<img src="{#$QISHI.site_template#}images/float_avater.gif" width="50" height="50" alt="" class="middleFace1"/>
																				</div>
																				50*50
																			</div>
																			{#/if#}
																		</div>
																	</div>
																</div>
															</div>
															<script>
																$(document).ready(function() {
																	$(".f_avater_box .float_avater:last").css({
																		"margin-right":"0",
																		"margin-top":"30px"
																	});
																	$(".bad_exmplate .bad_pic_show:last").css({"margin-right":"0"});
																});
															</script>
														</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="PhotoAuditSubmit" 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 -->
	<!-- 底部 -->
	{#include file="./footer.htm"#}
	<!-- 底部结束 -->
</body>
</html>