<!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">
	<meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE,chrome=1 ;" />
	<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_company.css" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/datepicker.css" />
	<script type="text/javascript" src="{#$QISHI.site_template#}js/png24fix.js"></script>
	<script type="text/javascript" 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.datepicker.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">
		$(document).ready(function() {   
			// 下拉
			dropdownform("#job_menu", "#job_name", "#job_id", "#job_cn"); // 职位状态
			$('input.date-picker').datePicker();
			checkboxui();
			$(".export").click(function(){
				$("#form_act").val("export_resume");
				$("#form1").submit();
				$("#form_act").val("interview_list");

			});
			$(".del").click(function(){
				if(confirm("你确定要删除吗？")){
					$("#form_act").val("interview_del");
					$("#form1").submit();
				}
			});
		});
	</script>
</head>
<body>
	<!-- 顶部 -->
	{#include file="member_company/header.htm"#}
	<!-- 顶部结束 -->
	<!-- 二级导航 -->
	<div class="secondary_menu clear">
		<ul>
			<li><a class="sec_menu_li" href="?act=apply_jobs">正在应聘</a></li>
			<li><a class="sec_menu_li" href="?act=recommend_resume_list">推荐简历</a></li>
			<li><a class="sec_menu_li" href="?act=down_resume_list">主动下载</a></li>
			<li><a class="sec_menu_li" href="?act=favorites_list">我的收藏</a></li>
			<li><a class="sec_menu_li hashover" href="?act=interview_list">面试邀请</a></li>
		</ul>
	</div>
	<!-- 二级导航 End-->
	<!-- 搜索 -->
	<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="{#$smarty.get.job_id#}">
				<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" class="checkbox" style="display: none;margin-top:4px;" name="y_id[]" value="{#$list.resume_id#}"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 style="margin-left:10px" class="operat" href="?act=export_resume&y_id={#$list.resume_id#}">导出</a><a class="operat" href="?act=interview_del&y_id={#$list.did#}" onclick="return confirm('将要删除，是否继续?');">删除</a></td>
			        	</tr>
			        	{#else#}
			    		<tr>
				            <td>
				            	<input type="checkbox" class="checkbox" style="display: none;margin-top:4px;" autocomplete="off">
				            </td>
				       	    <td colspan="8">被邀请人[{#$list.resume_name#}] 的简历可能已被删除，您可以删除本条信息.</td>
			        	    <td><a class="operat" href="?act=interview_del&y_id={#$li.did#}">删除</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">
			            <a href="javascript:;" class="btn btn-light btn-small export">导出</a>
		            </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>
	<!-- 信息列表 End-->
	<!-- 底部 -->
	{#include file="./footer.htm"#}
	<!-- 底部结束 -->
</body>
</html>