{lib(resumelist.php)}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=gbk" />
<title>职位搜索——{cfg:(sys,site_name)}</title>
<link rel="shortcut icon" href="favicon.ico" />
<meta name="keywords" content="{cfg:(sys,site_keywords)}">
<meta name="description" content="{cfg:(sys,site_description)}">
<link rel="stylesheet" type="text/css" href="img/css.css"/>
<script src="{$web_url}/plus/js/init.php?act=init_js"></script>
<script src="{$web_url}/images/js/common.js"></script>
<script src="{$web_url}/images/js/dialog.js"></script>
<script src="{$web_url}/images/js/ajax.js"></script>
<script src="{$web_url}/images/js/job.js"></script>
<script>
function me_change(msgx){
	if(msgx=="age"){
		obj1=document.frmSearch.search_age1;
		obj2=document.frmSearch.search_age2;
	}else if(msgx=="height"){
		obj1=document.frmSearch.search_height1;
		obj2=document.frmSearch.search_height2;
	}else{
		return;
	}
	obj2.options.length=0;
	lng_x=obj1.selectedIndex;
	lng_y=obj1.length-1;
	obj2.add(new Option("--不限--","0"));
	for(i=lng_x;i<=lng_y;i++){
		obj2.add(new Option(obj1[i].text,obj1[i].value));
	}
}
</script>
</head>
<body>
{include(header.html)}
<div class="css_main">
<div class="search_left">
	<div class="x_tit1">会员登录</div>
	<div class="x_box2"><script src="{$web_url}/index.php?appdir=label&app=login&isajax=1&rnd="+Math.random()></script></div>
	<div class="sp_h10">&nbsp;</div>
	<div class="x_tit1">人气推荐</div>
	<div class="x_box1" style="height:300px">
	<table class="x_table a_3">
		<tr><td class="x_td_tit">姓名</td><td class="x_td_tit">性别</td><td class="x_td_tit">年龄</td><td class="x_td_tit">学历</td></tr>
		{get_temp_resume('hr_resume',0,10,' order by resume_updatetime desc')}
		{foreach($sql_return['hr_resume'] as $item)}
		<tr class="x_row{$item['resume_id']}"><td style="font-weight:bold"><a href="{$item['url']}" target="_blank">{$item["resume_name"]}</a></td><td>{$item["resume_sex"]}</td><td>{$item["age"]}</td><td>{$item["degree"]}</td></tr>
		{/foreach}
	</table>
	</div>
</div>
<div class="sp_w20">&nbsp;</div>
<form name="frmSearch" method="post" action="index.php?app=resumelist">
<input type="hidden" name="search_jobcategory" value="{$arr_search['search_jobcategory']}">
<input type="hidden" name="search_area" value="{$arr_search['search_area']}">
<input type="hidden" name="page" value="">
<div class="search_right">
	<div class="x_box1">
		<div class="x_tit1"><li class="x_sel">简历搜索</li></div>
		<div class="x_box2">
			<li><span class="x_span2">职能类别：</span><span class="x_span1" onclick="me_winJobCategory('search_jobcategory','{$arr_search['search_jobcategory']}');" id="id_category">{$arr_search["jobcategorytxt"]}</span><span class="x_span2">　　　地区：</span><span class="x_span1" onclick="me_winArea('search_area');" id="id_area">{$arr_search["areatxt"]}</span></li>
			<li>职位性质：<select name="search_jobtype"><option value="">-不限-</option>{$arr_search["jobtype"]}</select>　　工作年限：<select name="search_experience"><option value="0">不限</option><option value="1" {if($arr_search["search_experience"]==1)}selected{/if}>一年以上</option><option value="2" {if($arr_search["search_experience"]==2)}selected{/if}>两年以上</option><option value="3" {if($arr_search["search_experience"]==3)}selected{/if}>三年以上</option><option value="5" {if($arr_search["search_experience"]==5)}selected{/if}>五年以上</option><option value="10" {if($arr_search["search_experience"]==10)}selected{/if}>十年以上</option><option value="15" {if($arr_search["search_experience"]==15)}selected{/if}>十五年以上</option></select>　　学历要求：<select name="search_degree"><option value="">不限</option>{$arr_search["degree"]}</select> <select name="search_degree_direction"><option value="">以上</option><option value="-1"{if(-1==$arr_search["search_degree_direction"])} selected{/if}>以下</option>
		<option value="1"{if(1==$arr_search["search_degree_direction"])} selected{/if}>相等</option></select></li>
			<li>年龄要求：<select name="search_age1" onchange="me_change('age');" style="width:80px"><option value="0">--不限--</option>
		<script>
		lng_age1="{$arr_search["search_age1"]}";
		if(lng_age1==""){
			lng_age1=0;
		}else{
			lng_age1=parseInt(lng_age1);
		}
		for(i=16;i<60;i++){
			str_sel="";
			if(i==lng_age1) str_sel=" selected";
			document.write("<option value='"+i+"'"+str_sel+">"+i+"</option>");
		}
		</script>
	</select>
	<select name="search_age2" style="width:80px"><option value="0">--不限--</option>
		<script>
		lng_age2="{$arr_search["search_age2"]}";
		if(lng_age2==""){
			lng_age2=0;
		}else{
			lng_age2=parseInt(lng_age2);
		}
		lng_age2_x=lng_age1;
		if(lng_age2_x<1) lng_age2_x=16;
		for(i=lng_age2_x;i<60;i++){
			str_sel="";
			if(i==lng_age2) str_sel=" selected";
			document.write("<option value='"+i+"'"+str_sel+">"+i+"</option>");
		}
		</script>
	</select> 　　身高要求：<select name="search_height1" onchange="me_change('height');" style="width:80px"><option value="0">--不限--</option>
		<script>
		lng_heght1="{$arr_search["search_height1"]}";
		if(lng_heght1==""){
			lng_heght1=0;
		}else{
			lng_heght1=parseInt(lng_heght1);
		}
		for(i=150;i<190;i++){
			str_sel="";
			if(i==lng_heght1) str_sel=" selected";
			document.write("<option value='"+i+"'"+str_sel+">"+i+"</option>");
		}
		</script>
	</select>
	<select name="search_height2" style="width:80px"><option value="0">--不限--</option>
		<script>
		lng_heght2="{$arr_search["search_height2"]}";
		if(lng_heght2==""){
			lng_heght2=0;
		}else{
			lng_heght2=parseInt(lng_heght2);
		}
		lng_height2_x=lng_heght1;
		if(lng_height2_x<1) lng_height2_x=150;
		for(i=lng_height2_x;i<190;i++){
			str_sel="";
			if(i==lng_heght2) str_sel=" selected";
			document.write("<option value='"+i+"'"+str_sel+">"+i+"</option>");
		}
		</script>
	</select>　　发布时间：<select name="search_pubtime"><option value="">-不限-</option><option value="1"{if($arr_search["search_pubtime"]==1)} selected{/if}>当天</option><option value="7"{if($arr_search["search_pubtime"]==7)} selected{/if}>1周内</option><option value="30"{if($arr_search["search_pubtime"]==30)} selected{/if}>1月内</option><option value="90"{if($arr_search["search_pubtime"]==90)} selected{/if}>3月内</option><option value="-1"{if($arr_search["search_pubtime"]==-1)} selected{/if}>本周</option><option value="-2"{if($arr_search["search_pubtime"]==-2)} selected{/if}>本月</option><option value="-3"{if($arr_search["search_pubtime"]==-3)} selected{/if}>今年</option><option value="-4"{if($arr_search["search_pubtime"]==-4)} selected{/if}>去年</option></select></li>
			<li>性别要求：<input type="radio" name="search_sex" value="" checked>不限 <input type="radio" name="search_sex" value="男" {if($arr_search["search_sex"]=='男')}checked{/if}>男 <input type="radio" name="search_sex" value="女" {if($arr_search["search_sex"]=='女')}checked{/if}>女　　婚姻状况：<input type="radio" name="search_marry" value="" checked>不限 <input type="radio" name="search_marry" value="未婚"{if($arr_search["search_marry"]=="未婚")} checked{/if}>未婚 <input type="radio" name="search_marry" value="已婚"{if($arr_search["search_marry"]=="已婚")} checked{/if}>已婚</li>
			<li>关 键 词：<input type="text" name="search_keyword" value="{$arr_search['search_keyword']}" size="50">　　毕业院校：<input type="text" name="search_school" value="{$arr_search['search_school']}" size="20"></li>
			<li>　　　　　<input type="submit" name="btn_ok" value="开始搜索" class="btn_search"></li>
		</div>
	</div>
	<div class="sp_h10">&nbsp;</div>
	<div class="x_box1">
		<div class="x_tit1"><li class="x_sel1">搜索结果</li></div>
			<table class="x_table a_3">
				<tr><td class="x_td_tit"></td><td class="x_td_tit">姓名</td><td class="x_td_tit">性别</td><td class="x_td_tit">年龄</td><td class="x_td_tit">学历</td><td class="x_td_tit">毕业院校</td><td class="x_td_tit">所学专业</td><td class="x_td_tit">求职意向</td><td class="x_td_tit">发布时间</td></tr>
				{foreach($arr_resume as $item)}
				<tr class="x_row{$item['rowid']}"><td><input type="checkbox" name="" value=""></td><td style="font-weight:bold"><a href="{$item['url']}" target="_blank">{$item["resume_name"]}</a></td><td>{$item["resume_sex"]}</td><td>{$item["age"]}</td><td>{$item["degree"]}</td><td>{$item["resume_school"]}</td><td>{$item["resume_major"]}</td><td>{$item["resume_jobname"]}</td><td>{$item["updatetime"]}</td></tr>
				{/foreach}
			</table>
	</div>
	<div class="pPage">
	{$page_split_page}
	</div>
</div>
</form>
</div>
{include(footer.html)}
</body>
</html>
{cache_to_php(resumelist,600)}