<!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_personal.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 src="{#$QISHI.site_template#}js/jquery.dropdown.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.dialog.js" type='text/javascript' ></script>
	<script type="text/javascript" src="{#$QISHI.site_template#}js/jquery.datepicker.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.entrust_hunter.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.checkboxui.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.checkboxrelated.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.artDialog.js"></script>
	<script>
		$(document).ready(function() {
			$('input.date-picker').datePicker();
			// 下拉
			dropdownform("#entrusthunter_menu", "#entrusthunter_name", "#hunter_id", "#hunter_id_cn"); // 委托猎头
			// 美化多选框
			$('.hunter_server_table :checkbox').CheckboxUI();
			//个人投递给猎头 
			 personal_hunter_check();  
			 personal_hunter_cancel("{#$QISHI.site_dir#}");

		});
	</script>
</head>
<body>
	{#include file="member_personal/header.htm"#}
	<!-- 二级菜单 -->
	<div class="secondary_menu clearfix">
		<ul>
			<li><a  href="{#$QISHI.site_dir#}hunter/hunter-list.php" class="sec_menu_li">搜索猎头</a></li>
			<li><a href="{#$QISHI.site_dir#}user/personal/personal_hunter_service.php?act=hunter_service" class="sec_menu_li hashover">合作猎头</a></li>
			<li><a class="sec_menu_li" href="{#$QISHI.site_dir#}user/personal/personal_hunter_service.php?act=entrust_me_hunter">收到的申请</a></li>
			<li><a class="sec_menu_li" href="{#$QISHI.site_dir#}user/personal/personal_hunter_service.php?act=my_entrust_hunter">发出的申请</a></li>
			<li><a class="sec_menu_li" href="{#$QISHI.site_dir#}user/personal/personal_hunter_service.php?act=recommend_list">推荐列表</a></li>
		</ul>
	</div>
	<!-- 二级菜单结束 -->
	<div class="container">
		<div class="hunter_server_box">
			<form  method="get" name="form1">
				<input name="act" value="hunter_service" type="hidden"/>
				<!-- 搜索 -->
				<div class="searchbar" style="height:50px;">
					<div class="optionlist">
						<div class="l">委托猎头</div>
						<span class="optionlist">
							<span id="entrusthunter_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 $hunter_list==''#}全部猎头{#else#}{#$smarty.get.hunter_id_cn#}{#/if#}</span>
								<em class="selectui-drop" style="height: 30px; margin-top: -1px;" id="entrusthunter_menu"></em>
							</span>
							<ul class="droplist">
								<li><a id="all" dataid="all" title="全部猎头" href="javascript:;">全部猎头</a></li>
								{#foreach from=$hunter_list item=list#}
								<li><a id="{#$list.hunter_uid#}" dataid="{#$list.hunter_uid#}" title="{#$list.hunter_name#}" href="javascript:;">{#$list.hunter_name#}</a></li>
								{#/foreach#}
							</ul>
							<input type="hidden" name="hunter_id" id="hunter_id" value="{#$smarty.get.hunter_id#}"/>
							<input type="hidden" name="hunter_id_cn" id="hunter_id_cn" value="{#$smarty.get.hunter_id_cn#}"/>
						</span>
					</div>
					<div class="optionlist nomr">
						<div class="l">合作日期</div>
						<span class="relative">
							<input value="{#$smarty.get.star_time#}" name="star_time" id="star_time" 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.end_time#}" name="end_time" id="end_time" class="text input-medium span3 date-picker">
						</span>
					</div>
					<div class="optionlist" style="margin-left:10px;">
						<input type="hidden" name="jobtype" value="{#$smarty.get.jobtype#}"/>
						<input type="submit" id="Butquery" class="btn_search" value="查询">
					</div>
					<div class="clear"></div>
				</div>
				<!-- 搜索 End-->
			</form>
			<form  id="form2" name="form2" method="get">
				<input name="act" value="del_jobs_apply" type="hidden"/>
				<div class="hunter_server_table">
					<table cellspancing="0" id="hunter_result_list"> 
						<tbody>
							<tr class="hunter_server_title">
								<th class="hunter_server_left" width="60" align="left">猎头编号</th>
								<th width="95">姓名</th>
								<th width="140">等级</th>
								<th width="100">最近一次登录</th>
								<th width="80">从业年限</th>
								<th width="169">运作中职位</th>
								<th width="90">推荐职位</th>
								<th width="100">委托时间</th>
								<th width="122">委托类型</th>
							</tr>
					
							{#if $service_list#} 
							{#foreach from=$service_list item=li#}
							<tr class="hunter_server_item link_blue" height="54">
								<td class="hunter_server_left" width="120">LT{#$li.hunter_id#} </td>
								<td width="95" align="center"><a href="{#"QS_hunter_show,id:"|cat:$li.hunter_id|qishi_url#}">{#$li.hunter_name#}</a></td>
								<td width="140">
									<div class="hunter_level" title="经验：{#$li.hunter_level#}">
										<span class="hunter_level_icon level{#$li.hunter_level_meal#}"></span>
									</div>
								</td>
								<td width="130" align="center">{#$li.hunter_last_login_time|date_format:"%Y-%m-%d"#}</td>
								<td width="91" align="center">{#$li.hunter_work#}</td>
								<td width="169" align="center">{#$li.jobs_num#}</td>
								<td width="90" align="center"><a href="?act=recommend_list&id={#$li.resume_id#}" class="good_resume">{#$li.recommend_jobs_num#}</a></td>
								<td width="121" align="center">{#$li.addtime|date_format:"%Y-%m-%d"#}</td>
								<td width="60" align="center">{#if $li.is_apply=='0'#}个人主动委托{#elseif $li.is_apply=='1'#}猎头主动申请{#/if#}</td>
							</tr>
							{#/foreach#}
							 
							{#else#}
							
							<tr>
								<td colspan=9><div style="padding:10px; text-align:center;">没有猎头推荐记录</div></td>
							</tr>
							{#/if#}
						</tbody>
					</table>
					<div class="hunter_server_bottom clearfix">
						{#if $service_list#}
							<!-- 分页 -->
							{#if $page#}
							<div class="page clearfix">
								<div class="page_number">
									{#$page#}
								</div>
							</div>
							<!-- 分页结束 -->
							{#/if#}
						{#/if#}
					</div>
				</div>
			</form>
		</div>
	</div>
	<!-- 底部 -->
	{#include file="./footer.htm"#}	
	<!-- 底部结束 -->
</body>
</html>