<!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.dropdown.js"></script>
	<script type="text/javascript" src="{#$QISHI.site_template#}js/jquery.checkboxui.js"></script>
	<script type="text/javascript" src="{#$QISHI.site_template#}js/jquery.checkboxrelated.js"></script>
	<script>
		$(document).ready(function() {
			$(".hunter_resumes_table .hunter_resume_item:even").css({"background-color":"#F5F5F5"});
			// 下拉
			dropdownform("#job_menu", "#job_name", "#job_id", "#job_cn"); // 职位
			dropdownform("#sex_menu", "#sex_name", "#sex_id", "#sex_cn"); // 性别
			dropdownform("#education_menu", "#education_name", "#education_id", "#education_cn"); // 学历
			dropdownform("#experience_menu", "#experience_name", "#experience_id", "#experience_cn"); // 经验
			dropdownform("#current_menu", "#current_name", "#current", "#current_cn"); // 求职状态
			checkboxui();
			// 删除正在应聘简历
			$("#del_apply_jobs").click(function() {
				if(confirm("你确定要删除吗？")){
				$("#form_act").val("apply_jobs_del");
				$("#form1").submit();
				}
			});
			// 批量导出简历
			$("#excel_resume").click(function() {
				$("#form_act").val("export_resume");
				$("#form1").submit();
				$("#form_act").val("apply_jobs");
			});
		});
	</script>
</head>
<body>
	<!-- 顶部 -->
	{#include file="member_hunter/header.htm"#}
	<!-- 顶部结束 -->
	<!-- 二级菜单 -->
	<div class="secondary_menu clearfix">
		<ul>
			<li><a href="?act=apply_jobs" class="sec_menu_li hashover">正在应聘</a></li>
			<li><a href="?act=down_resume_list" class="sec_menu_li">主动下载</a></li>
			<li><a href="?act=my_attention" class="sec_menu_li">浏览过的简历</a></li>
			<li><a href="?act=favorites_list" class="sec_menu_li">我的人才库</a></li>
			<li><a href="?act=interview_list" class="sec_menu_li ">面试邀请</a></li>
		</ul>
	</div><!-- 二级菜单结束 -->
	<!-- 猎头简历正在应聘 -->
	<div class="container">
		<div class="hunter_resumes">
			<!-- 搜索 -->
			<form action="?act=apply_jobs" method="get" name="form1" id="form1">
			<input type="hidden" name="act" id="form_act" value="apply_jobs">
			<div id="searchbar">
				<div class="optionlist" style="z-index:2">
					<div class="l">职位</div>
					<span>
						<span id="job_name" data-name="industries" class="LocalDataUIC simulation-text LocalDataUIC-simulation-text" style="font-size: 12px; height: 20px; width: 101px;" id="city_result_show">
							<span class="items" style="left: 6px; height: 20px;">{#if $smarty.get.job_cn!=''#}{#$smarty.get.job_cn#}{#else#}全部职位{#/if#}</span>
							<em class="selectui-drop" style="height: 30px; margin-top: -1px;" id="job_menu"></em>
						</span>
						<ul class="droplist">
							<li><a dataid="0" class="selected" href="javascript:;" title="全部职位">全部职位</a></li>
							{#foreach from=$jobs_arr item=li#}
							<li><a dataid="{#$li.jobs_id#}" href="javascript:;" title="{#$li.jobs_name#}">{#$li.jobs_name#}</a></li>
							{#/foreach#}
						</ul>
						<input type="hidden" value="{#if $smarty.get.job_id!=''#}{#$smarty.get.job_id#}{#else#}0{#/if#}" name="job_id" id="job_id" />
						<input type="hidden" value="{#if $smarty.get.job_cn!=''#}{#$smarty.get.job_cn#}{#else#}{#/if#}" name="job_cn" id="job_cn" />
					</span>
				</div>
				<div class="optionlist">
					<div class="l">姓名</div>
					<input value="{#$smarty.get.name#}" name="name" id="name" class="text input-medium span3">
				</div>
				<div class="optionlist" style="z-index:2">
					<div class="l">性别</div>
					<span>
						<span id="sex_name" data-name="industries" class="LocalDataUIC simulation-text LocalDataUIC-simulation-text" style="font-size: 12px; height: 20px; width: 101px;" id="city_result_show">
							<span class="items" style="left: 6px; height: 20px;">{#if $smarty.get.sex_cn!=''#}{#$smarty.get.sex_cn#}{#else#}不限{#/if#}</span>
							<em class="selectui-drop" style="height: 30px; margin-top: -1px;" id="sex_menu"></em>
						</span>
						<ul class="droplist">
							<li><a dataid="" href="javascript:;" title="不限">不限</a></li>
							<li><a dataid="1" href="javascript:;" title="男">男</a></li>
							<li><a dataid="2" href="javascript:;" title="女">女</a></li>
						</ul>
						<input type="hidden" value="{#$smarty.get.sex_id#}" name="sex_id" id="sex_id" />
						<input type="hidden" value="" name="sex_cn" id="sex_cn" />
					</span>
				</div>
				<div class="optionlist nomr">
					<div class="l">年龄</div>
					<input value="{#$smarty.get.age_start#}" name="age_start" id="age_start" class="text input-medium span1">
				</div>
				<div class="optionlist">
					<div class="l">至</div>
					<input value="{#$smarty.get.age_end#}" name="age_end" id="age_end" class="text input-medium span1">
				</div>
				<div class="clear"></div>
				<div class="optionlist" style="z-index:1">
					<div class="l">学历</div>
					<span>
						<span id="education_name" data-name="industries" class="LocalDataUIC simulation-text LocalDataUIC-simulation-text" style="font-size: 12px; height: 20px; width: 101px;" id="city_result_show">
							<span class="items" style="left: 6px; height: 20px;">{#if $smarty.get.education_cn!=''#}{#$smarty.get.education_cn#}{#else#}不限{#/if#}</span>
							<em class="selectui-drop" style="height: 30px; margin-top: -1px;" id="education_menu"></em>
						</span>
						<ul class="droplist">
							<li><a dataid="0" class="selected" href="javascript:;" title="不限">不限</a></li>
							{#qishi_get_classify set="类型:QS_education,列表名:c_edu"#}{#foreach from=$c_edu item=list#}
							<li><a dataid="{#$list.id#}" href="javascript:;" title="{#$list.categoryname#}">{#$list.categoryname#}</a></li>
							{#/foreach#}
						</ul>
						<input type="hidden" value="{#$smarty.get.education_id#}" name="education_id" id="education_id" />
						<input type="hidden" value="" name="education_cn" id="education_cn" />
					</span>
				</div>
				<div class="optionlist">
					<div class="l">经验</div>
					<span>
						<span id="experience_name" data-name="industries" class="LocalDataUIC simulation-text LocalDataUIC-simulation-text" style="font-size: 12px; height: 20px; width: 101px;" id="city_result_show">
							<span class="items" style="left: 6px; height: 20px;">{#if $smarty.get.experience_cn!=''#}{#$smarty.get.experience_cn#}{#else#}不限{#/if#}</span>
							<em class="selectui-drop" style="height: 30px; margin-top: -1px;" id="experience_menu"></em>
						</span>
						<ul class="droplist">
							<li><a dataid="0" class="selected" href="javascript:;" title="不限">不限</a></li>
							{#qishi_get_classify set="类型:QS_experience,列表名:c_experience"#}{#foreach from=$c_experience item=list#}
							<li><a dataid="{#$list.id#}" href="javascript:;" title="{#$list.categoryname#}">{#$list.categoryname#}</a></li>
							{#/foreach#}
						</ul>
						<input type="hidden" value="{#$smarty.get.experience_id#}" name="experience_id" id="experience_id" />
						<input type="hidden" value="" name="experience_cn" id="experience_cn" />
					</span>
				</div>
				<div class="optionlist">
					<div class="l">求职状态</div>
					<span>
						<span id="current_name" data-name="industries" class="LocalDataUIC simulation-text LocalDataUIC-simulation-text" style="font-size: 12px; height: 20px; width: 101px;" id="city_result_show">
							<span class="items" style="left: 6px; height: 20px;">请选择状态</span>
							<em class="selectui-drop" style="height: 30px; margin-top: -1px;" id="current_menu"></em>
						</span>
						<ul class="droplist">
							{#qishi_get_classify  set="类型:QS_current,列表名:c_current"#}
							{#foreach from=$c_current item=list#}
							<li><a id="{#$list.id#}" dataid="{#$list.id#}" title="{#$list.categoryname#}" href="javascript:;">{#$list.categoryname#}</a></li>
							{#/foreach#}
						</ul>
						<input type="hidden" name="current" id="current" value="{#$smarty.get.current#}">
						<input type="hidden" value="{#$smarty.get.current_cn#}" name="current_cn" id="current_cn" />
					</span>
				</div>
				<div class="optionlist" style="margin-left:10px;">
					<input type="submit" class="btn_search" value="查询">
				</div>
				<div class="optionlist clebox" id="test">
					<div class="cleimg"></div>
					<div class="cleopt"><a href="?act=apply_jobs">清空条件</a></div>
				</div>	
				<div class="clear"></div>
			</div>
			<!-- 搜索 End-->
			<div class="data-list">
				<table class="table table-text-center table-hover table-striped">
					<thead>
			        	<tr>
			        		<th width="20">
			        			<input type="checkbox" class="checkbox" style="display:none;" autocomplete="off">
			        		</th>
				            <th width="70">姓名</th>
				            <th width="30">性别</th>
				            <th width="60">年龄</th>
				            <th width="50">学历</th>
				            <th width="70">工作经验</th>
				            <th width="110">目前所在地</th>
				            <th width="170">应聘职位</th>
				            <th width="100">应聘时间</th>
				            <th width="140">操作</th>
			        	</tr>
			    	</thead>			    	
			    	<tbody id="testtab">
			    		{#if $jobs_apply#}
						{#foreach from=$jobs_apply item=li#}
						<tr>
					            	<td>
					            		<input type="checkbox" name="y_id[]" class="checkbox" value="{#$li.resume_id#}" style="display: none;margin-top:4px;" autocomplete="off">
						</td>
					          	<td>
					          		<a target="_blank" href="{#$li.resume_url#}" title="{#$li.fullname#}">{#$li.fullname_#}</a>
					          	</td>
					            	<td>{#$li.sex_cn#}</td>
					            	<td>{#$li.age#}</td>
					            	<td title="">{#$li.education_cn#}</td>
					            	<td title="">{#$li.experience_cn#}</td>
					            	<td title="">{#$li.residence_cn_#}</td>
					            	<td title="">
					            		<a style="margin-left:10px" title="{#$li.jobs_name#}" target="_blank" href="{#$li.jobs_url#}">{#$li.jobs_name_#}</a><i class="icon-16 icon-job-junior"></i>
					            	</td>
					       	<td>{#$li.apply_addtime|date_format:"%Y-%m-%d"#}</td>
						<td><a href="?act=export_resume&y_id={#$li.resume_id#}">导出</a>
						            	 <a href="?act=apply_jobs_del&y_id={#$li.did#}" onclick="return confirm('你确定要删除吗？');">删除</a>
						</td>
				        		</tr>
						{#/foreach#}
					{#else#}
						<tr>
							<td colspan=10>没有查询到此信息 !</td>
						</tr>
					{#/if#}
			    	</tbody>
			    	<tfoot>
			    		{#if $jobs_apply#}
			    		<tr>
			    			<td><input type="checkbox" class="checkbox" style="display: none;margin-top:4px;" autocomplete="off"></td>
			    			<td class="text-left table-actions" colspan="3">
					            <a href="javascript:;" class="btn btn-light btn-small export" id="excel_resume">导出</a>
					            <!-- <a href="javascript:;" class="btn btn-light btn-small link-batchview del" id="del_apply_jobs">删除</a> -->
				            </td>
				            <td class="pagerbar-actions-inline" colspan="7">
				            		{#if $page#}
		          					<!-- 分页 -->
							<div class="page h_page clearfix">
									{#$page#}
							</div>
							<!-- 分页结束 -->
							{#/if#}
		      			</td>
			    		</tr>
					{#/if#}
			    	</tfoot>
				</table>
			</div>
			</form>
		</div>
	</div><!-- 猎头简历正在应聘结束 -->
	<!-- 底部 -->
	{#include file="./footer.htm"#}
	<!-- 底部结束 -->
</body>
</html>