<!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.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 type="text/javascript" src="{#$QISHI.site_template#}js/jquery.datepicker.js"></script>
	<script>
		$(document).ready(function() {
			$(".hunter_resumes_table .hunter_resume_item:even").css({"background-color":"#F5F5F5"});
			$('input.date-picker').datePicker();
			// 下拉
			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("#nowcity_menu", "#nowcity_name", "#nowcity_id", "#nowcity_cn"); // 目前所在地
			checkboxui();
			// 删除面试邀请
			$("#interview_del").click(function() {
				if(confirm("你确定要删除吗？")){
					$("#form_act").val("interview_del");
					$("#form1").submit();
				}
			});
			// 批量导出简历
			$("#excel_resume").click(function() {
				$("#form_act").val("export_resume");
				$("#form1").submit();
				$("#form_act").val("interview_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">主动下载</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  hashover">面试邀请</a></li>
		</ul>
	</div><!-- 二级菜单结束 -->
	<!-- 猎头面试邀请 -->
	<!-- 搜索 -->
	<form action="?act=interview_list" method="get" name="form1" id="form1">
	<input type="hidden" name="act" id="form_act" value="interview_list">
	<div class="searchbar" style="height:50px;">
		<div class="optionlist">
			<div class="l">面试职位</div>
			<span class="optionlist">
				<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;">{#$smarty.get.job_cn|default:'全部职位'#}</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 item=li#}
					<li><a dataid="{#$li.id#}" href="javascript:;" title="{#$li.jobs_name#}">{#$li.jobs_name#}</a></li>
					{#/foreach#}
				</ul>
				<input type="hidden" name="job_id" id="job_id" value="">
				<input type="hidden" name="job_cn" id="job_cn" value=""/>
			</span>
		</div>
		<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">
			<div class="l">面试时间</div>
			<span class="relative">
				<input value="{#$smarty.get.date_interview#}" name="date_interview" id="date_interview" 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" style="display:none;" autocomplete="off">
	        		</th>
		            <th width="60">简历编号</th>
		            <th width="30">性别</th>
		            <th width="30">年龄</th>
		            <th width="30">学历</th>
		            <th width="50">工作经验</th>
		            <th width="90">目前所在地</th>
		            <th width="130">面试职位</th>
		            <th width="80">邀请时间</th>
		            <th width="120">操作</th>
	        	</tr>
	    	</thead>
	    	<tbody>
	    	{#if $resume#}
    		{#foreach from=$resume item=list#}
			{#if $list.sex_cn#}
	    		<tr>
		              <td>
		             		<input type="checkbox" name="y_id[]" value="{#$list.resume_id#}" class="checkbox" style="display: none;margin-top:4px;" autocomplete="off">
		              </td>
		              <td><a target="_blank" href="{#$list.resume_url#}">JL{#$list.resume_id#}</a></td>
		              <td>{#$list.sex_cn#}</td>
		              <td>{#$list.age#}</td>
		              <td title="{#$list.education_cn#}">{#$list.education_cn#}</td>
		              <td title="{#$list.experience_cn#}">{#$list.experience_cn#}</td>
		              <td title="{#$list.residence_cn#}">{#$list.residence_cn_#}</td>
		              <td title="{#$list.jobs_name#}"><a style="margin-left:10px"  href="{#$list.jobs_url#}">{#$list.jobs_name_#}</a><i class="icon-16 icon-job-junior"></i></td>
		       	<td>{#$list.interview_addtime|date_format:"%Y-%m-%d"#}</td>
		              <td>
		              	<a href="?act=export_resume&y_id={#$list.resume_id#}">导出</a>&nbsp;&nbsp;
		              	<a href="?act=interview_del&y_id={#$list.did#}">删除</a>
		             	</td>
	        	</tr>
	        	{#else#}
	    		<tr>
		              <td>
		            		<input type="checkbox" class="checkbox" style="display: none;margin-top:4px;" autocomplete="off" name="d_id[]" value="{#$list.did#}">
		              </td>
		       	<td colspan="8">被邀请人[{#$list.resume_name#}] 的简历可能已被删除，您可以删除本条信息.</td>
	        	              <td><a class="operat" href="?act=interview_del&y_id={#$list.did#}" onclick="return confirm('你确定要删除吗？');">删除</a></td>
	        	</tr>
	        	{#/if#}
	        	{#/foreach#}
        	{#else#}
        	<tr>
        		<td colspan=10>没有查询到此信息</td>
        	</tr>
        	{#/if#}
	    	</tbody>
	    	<tfoot>
				{#if $resume#}
	    		<tr style="border:none;">
	    			<td><input type="checkbox" class="checkbox" style="display: none;margin-top:4px;" autocomplete="off"></td>
	    			<td class="text-left table-actions" colspan="3">
			              <input type="button" value="导出" class="but_auto_white" id="excel_resume" />
		           		</td>
		             		<td class="pagerbar-actions-inline" colspan="6">
		             			{#if  $page#}
          					<!-- 分页 -->
					<div class="page h_page clearfix">
						{#$page#}
					</div>
					<!-- 分页结束 -->
					{#/if#}
  				</td>
	    		</tr>
	    		{#/if#}
	    	</tfoot>
		</table>
	</div>
	</form>
	<!-- 猎头面试邀请结束 -->
	<!-- 底部 -->
	{#include file="./footer.htm"#}
	<!-- 底部结束 -->
</body>
</html>