<!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" />
	<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.checkboxui.js"></script>
	<script type="text/javascript" src="{#$QISHI.site_template#}js/jquery.checkboxrelated.js"></script>
	<script type="text/javascript">
		$(document).ready(function() {
			// 下拉
			dropdownform("#jobs_menu", "#jobs_name", "#job_id", "#job_cn"); // 职位
			dropdownform("#hunter_menu", "#hunter_name", "#hunter_id", "#hunter_cn"); // 推荐人
			checkboxui();
			$(".export").click(function(){
				$("#form_act").val("export_resume");
				$("#form1").submit();
				$("#form_act").val("recommend_resume_list");
			});
			// 表格操作下拉
			$(".letter_dorp_link").on("click",function(e){
				var thisMain = $(this).parent().find($(".letter_drop_main"));
				thisMain.toggle();
				$(document).one("click",function(){
					thisMain.hide();
				});
				e.stopPropagation();
			})
			$(".letter_drop_main").on("click",function(e){
				e.stopPropagation();
			});
		});
	</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 hashover" 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" href="?act=interview_list">面试邀请</a></li>
		</ul>
	</div>
	<!-- 二级导航 End-->
	<!-- 搜索 -->
	<form action="" method="get" name="form1" id="form1">
	<input type="hidden" name="act" id="form_act" value="recommend_resume_list">
	<div class="searchbar" style="height:50px;">
		<div class="optionlist" style="z-index:2">
			<div class="l">职位</div>
			<span class="optionlist">
				<span id="jobs_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="jobs_menu"></em>
				</span>
				<ul class="droplist">
					<li><a dataid="0" class="selected" href="javascript:;" title="全部职位">全部职位</a></li>
					{#foreach from=$jobs item=jobsarr#}
					<li><a dataid="{#$jobsarr.id#}" href="javascript:;" title="{#$jobsarr.jobs_name#}">{#$jobsarr.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>
			<span class="optionlist">
				<span id="hunter_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="hunter_menu"></em>
				</span>
				<ul class="droplist">
					<li><a dataid="0" class="selected" href="javascript:;" title="全部">全部</a></li>
					{#foreach from=$recommend_person_arr item=person#}
					<li><a dataid="{#$person.uid#}" href="javascript:;" title="{#$person.fullname#}">{#$person.fullname#}</a></li>
					{#/foreach#}
				</ul>
				<input type="hidden" name="hunter_id" id="hunter_id" value="{#$smarty.get.hunter_id#}">
				<input type="hidden" name="hunter_cn" id="hunter_cn" value=""/>
			</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="80">简历编号</th>
		            <th width="30">性别</th>
		            <th width="30">年龄</th>
		            <th width="30">学历</th>
		            <th width="60">工作经验</th>
		            <th width="130">推荐职位</th>
		            <th width="50">推荐人</th>
		            <th width="80">入职赏金</th>
		            <th width="80">推荐时间</th>
		            <th width="80">推荐反馈</th>
	        	</tr>
	    	</thead>
	    	<tbody>
				{#if $resume#}
				{#foreach from=$resume item=list#}
					{#if $list.sex_cn#}
					<tr>
						<td>
							<input type="checkbox" class="checkbox" name="y_id[]" value="{#$list.resume_id#}" 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.jobs_name_#}"><a style="margin-left:10px" title="{#$list.jobs_name#}" href="{#$list.jobs_url#}">{#$list.jobs_name#}</a><i class="icon-16 icon-job-junior"></i></td>
						<td title="{#$list.hunter_name_#}">{#$list.hunter_name#}</td>
						<td title="">{#$list.reward#}元</td>
						<td>{#$list.recommend_addtime|date_format:"%Y-%m-%d"#}</td>
						<td>
							<div class="letter_drop">
		            		<span class="letter_dorp_link">操作</span>
		            		<div class="letter_drop_main" style="left:-35px;">
		            			<ul>
		            				<li><a href="?act=recommend_agree&did={#$list.did#}&state=1" style="width:auto;">邀请面试</a></li>
		            				<li><a href="?act=recommend_agree&did={#$list.did#}&state=2" style="width:auto;">邀请入职</a></li>
		            				<li><a href="?act=recommend_agree&did={#$list.did#}&state=3" style="width:auto;">拒绝</a></li>
		            			</ul>
		            		</div>
		            		</div>
						</td>
					</tr>
					{#else#}
					<tr>
						<td>
						<input type="checkbox" class="checkbox" style="display: none;margin-top:4px;" autocomplete="off">
						</td>
						<td colspan="10">被推荐人[{#$list.resume_name#}] 的简历可能已被删除，您可以删除本条信息.</td>
					</tr>
					{#/if#}
				{#/foreach#}
				{#else#}
				<tr>
				<td colspan="11">没有查询到此信息 !</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="7">
		            		{#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>