<!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" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/datepicker.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.datepicker.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"});
			$('input.date-picker').datePicker();
			checkboxui();
			// 删除下载的简历
			$("#del_down_resume").click(function() {
				if(confirm("你确定要删除吗？")){
					$("#form_act").val("down_resume_del");
					$("#form1").submit();
				}
			});
			// 批量导出简历
			$("#excel_resume").click(function() {
				$("#form_act").val("export_resume");
				$("#form1").submit();
				$("#form_act").val("down_resume_list");
			});
		});
	</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">正在应聘</a></li>
			<li><a href="?act=down_resume_list" class="sec_menu_li hashover">主动下载</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=down_resume_list" method="get" name="form1" id="form1">
			<input type="hidden" name="act" id="form_act" value="down_resume_list">
			<!-- 搜索 -->
			<div id="searchbar" style="height:50px;">
				<div class="optionlist">
					<div class="l">编号</div>
					<input value="{#$smarty.get.id#}" name="id" id="id" class="text input-medium span3">
				</div>
				<div class="optionlist">
					<div class="l">姓名</div>
					<input value="{#$smarty.get.fullname#}" name="fullname" id="fullname" class="text input-medium span3">
				</div>
				<div class="optionlist nomr">
					<div class="l">下载日期</div>
					<span class="relative">
						<input value="{#$smarty.get.starttime#}" name="starttime" id="starttime" class="text input-medium span3 date-picker">
					</span>
				</div>
				<div class="optionlist">
					<div class="l" style="padding-left:5px;">到</div>
					<span class="relative">
						<input value="{#$smarty.get.endtime#}" name="endtime" id="endtime" class="text input-medium span3 date-picker">
					</span>
				</div>
				<div class="optionlist" style="margin-left:10px;">
					<input type="submit" class="btn_search" value="查询">
				</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" autocomplete="off">
			        		</th>
				            <th width="60">简历编号</th>
				            <th width="50">姓名</th>
				            <th width="30">性别</th>
				            <th width="30">年龄</th>
				            <th width="30">学历</th>
				            <th width="50">工作经验</th>
				            <th width="90">目前所在地</th>
				            <th width="120">目前状态</th>
				            <th width="80">下载日期</th>
				            <th width="110">操作</th>
			        	</tr>
			    	</thead>
			    	<tbody>
			    		{#if $list#}
						{#foreach from=$list item=li#}
			    		<tr>
				            <td>
				            	<input type="checkbox" name="y_id[]" value="{#$li.resume_id#}" class="checkbox" style="margin-top:4px;" autocomplete="off">
				            </td>
				            <td><a target="_blank" href="{#$li.resume_url#}">JL{#$li.resume_id#}</a></td>
				            <td><span title="{#$li.fullname#}">{#$li.fullname_#}</span></td>
				            <td>{#$li.sex_cn#}</td>
				            <td>{#$li.age#}</td>
				            <td title="{#$li.education_cn#}">{#$li.education_cn#}</td>
				            <td title="{#$li.experience_cn#}">{#$li.experience_cn#}</td>
				            <td title="{#$li.residence_cn#}">{#$li.residence_cn_#}</td>
				            <td title="{#$li.current_cn#}">{#$li.current_cn_#}</td>
				       	    <td>{#$li.down_addtime|date_format:"%Y-%m-%d"#}</td>
				            <td><a href="?act=export_resume&y_id={#$li.resume_id#}">导出</a>&nbsp;&nbsp;<a href="?act=down_resume_del&y_id={#$li.did#}" onclick="return confirm('将要删除，是否继续?');">删除</a></td>
			        	</tr>
			        	{#/foreach#}
			        	{#else#}
			        	<tr>
			        		<td colspan=11>没有查询到此信息</td>
			        	</tr>
						{#/if#}
			    	</tbody>
			    	<tfoot>
						{#if $list#}
			    		<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_down_resume">删除</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>
			<!-- 信息列表 End-->
			</form>
		</div>
	</div><!-- 猎头简历正在应聘结束 -->
	<!-- 底部 -->
	{#include file="./footer.htm"#}
	<!-- 底部结束 -->
</body>
</html>