{lib(job.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/form.js"></script>
<script src="{$web_url}/images/js/ajax.js"></script>
<script src="{$web_url}/images/js/job.js"></script>
</head>
<body>
{include(header.html)}
<div class="sp_h10">&nbsp;</div>
<div class="cssx_left1">
	{include(job_left.html)}
</div>
<div class="cssx_right">
<form name="frmMain" method="post" action="?app=job">
<input type="hidden" name="id" value="">
<input type="hidden" name="act" value="">
<input type="hidden" name="state" value="{$get_state}">
	<div class="cssx_path"><span style="float:left"><img src="../img/pic_3.jpg"></span><span style="float:left;padding:2px 0px 0px 15px">招聘管理 -> 管理职位</span></div>
	<table class="hrTable">
	<tr class='hrTabRow'><td class='hrTabTitCol'></td><td class='hrTabTitCol'>职位名称</td><td class='hrTabTitCol'>发布日期</td><td class='hrTabTitCol'>截止日期</td><td class='hrTabTitCol'>状态</td><td class='hrTabTitCol'>操作</td></tr>
	{foreach($arr_job as $item)}
	<tr class='hrTabRow'><td class='hrTabCol'><input type='checkbox' name='jobids[]' value="{$item['job_id']}" onclick="admin_row_sel(this.checked,{$item['job_id']});"></td><td class='hrTabCol'>{$item["job_name"]}</td><td class='hrTabCol'>{$item["addtime"]}</td><td class='hrTabCol'>{$item["validdate"]}</td><td class='hrTabCol'{if($item["job_state"]<1)} style="color:#ff0000"{/if}>{$item["state"]}</td><td class='hrTabCol' onmousedown="frmSet('id','{$item['job_id']}')">
	{if($item["job_state"]==0)}
	<font color="#ff0000">等待审核</font>
	{else}
	<a href="{$web_url}/index.php?app=jobview&id={$item['job_id']}" target="_blank">查看</a> <a href="?app=job_edit&id={$item['job_id']}">修改</a> 
	{if($item["job_state"]==-2)}<a href="javascript:frmExecute('pause_cancel');">继续</a>{else}<a href="javascript:frmExecute('pause');">暂停</a>{/if} <a href="javascript:frmExecute('del');">删除</a>
	{/if}
	</td></tr>
	{/foreach}
	</table>
	<div class="hrAct">
		&nbsp;&nbsp;<input type='checkbox' name='jobidall' value='1' onclick="checkbox_selall(this.form,'jobidall','jobids');">全选　<input type="button" name="btndelsel" value="删除" onclick="frmExecute('del_s');" class="btn_del">　<input type="button" name="btndelsel" value="暂停" onclick="frmExecute('pause_s');" class="btn_zt">
	</div>
</form>
</div>
{include(footer.html)}
<script>
function me_change_age(){
	obj_age2=document.frmMain.job_age2;
	obj_age1=document.frmMain.job_age1;
	obj_age2.options.length=0;
	lng_x=obj_age1.selectedIndex;
	lng_y=obj_age1.length-1;
	obj_age2.add(new Option("--不限--","0"));
	for(i=lng_x;i<=lng_y;i++){
		obj_age2.add(new Option(obj_age1[i].text,obj_age1[i].value));
	}
}
</script>
</body>
</html>