<?php
	include_once("admin/include/config.php");
	define("THIS_PAGE","job");
	if(!$hm_arr = get_seo(1)){
		$hm_title = $hm_key = $hm_des = hmcss_default_config(1);
	}
	else{
		$hm_title = $hm_arr[0][2];
		$hm_key = $hm_arr[0][3];
		$hm_des = $hm_arr[0][4];
	}
	$job_id = trim($_GET["job_id"]);
	if(!check_is_numb($job_id) || $job_id < 1)
		show_err("职位信息参数出错，请返回重新操作");
	$filter_arr[0] = array("0",$job_id,false);
	if(!$hm_arr = get_job($filter_arr))
		show_err("系统中没有你要应聘的职位信息");
	$time_arr = explode(" ",$val[0][9]);
	$day_str = is_array($time_arr) ? $time_arr[0] : "";
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $hm_title; ?></title>
<meta name="description" content="<?php echo $hm_des; ?>" />
<meta name="keywords" content="<?php echo $hm_key; ?>" />
<link rel="stylesheet" type="text/css" href="style.css" />
<style type="text/css">
#out{width:1000px; overflow:hidden; min-height:600px; height:auto; background-image:url(pics/bg/left_bg.gif); background-repeat:repeat-y;}
#right{width:800px; height:auto!important; height:auto; float:left; text-indent:2em; padding:10px 0px; line-height:20px;}
.hrm_job{margin:10px auto; width:780px; border-top:1px #CCC solid; border-left:1px #CCC solid; overflow:hidden;}
	.hrm_job ul{list-style:none; margin:0px; padding:0px;}
	.hrm_job li{list-style:none; float:left; color:#666; border-bottom:1px #CCC solid; border-right:1px #CCC solid; height:30px; line-height:30px; overflow:hidden; text-indent:5px;}
</style>
</head>

<body>
<?php require_once("top.php"); ?>
<div class="now_position"><span class="position_str">当前位置：<a href="index.php">首页</a>-><a href="hrm_job_list.php">工作机会</a>->职位信息</span><span class="im_notice">
<marquee direction="left" scrolldelay="100" onmouseout="this.start()" onmouseover="this.stop()" style="width:400px;">
<?php hmcss_notice(); ?>
</marquee></span></div>
<div id="out">
<div id="left">
	<div class="left_menu">
    	<span class="left_arr_over"></span><span class="left_menu_con"><a href="hrm_job_list.php">企业招聘</a></span>
    </div>
    <div class="left_menu">
    	<span class="left_arr_normal"></span><span class="left_menu_con"><a href="hrm_get.php">福利待遇</a></span>
    </div>
</div>
<div id="right">
	<div class="hrm_job">
    	<ul>
        	<li style="width:100px; font-weight:bold;">岗位名称：</li>
            <li style="width:158px;"><?php echo stripslashes($hm_arr[0][1]); ?></li>
            <li style="width:100px; font-weight:bold;">工作地点：</li>
            <li style="width:158px;"><?php echo stripslashes($hm_arr[0][2]); ?></li>
            <li style="width:100px; font-weight:bold;">学历要求：</li>
            <li style="width:158px;"><?php echo get_user_xl($hm_arr[0][3]); ?></li>
            <li style="width:100px; font-weight:bold;">所学专业：</li>
            <li style="width:158px;"><?php echo stripslashes($hm_arr[0][4]); ?></li>
            <li style="width:100px; font-weight:bold;">薪资待遇：</li>
            <li style="width:158px;"><?php echo stripslashes($hm_arr[0][5]); ?></li>
            <li style="width:100px; font-weight:bold;">发布时间：</li>
            <li style="width:158px;"><?php echo $day_str; ?></li>
            <li style="width:759px; height:auto; padding:0px 10px;">
            	<span style="font-weight:bold; display:block;">职位要求：</span>
            	<span style="text-indent:0px; display:block;"><?php echo stripslashes($hm_arr[0][7]); ?></span>
            </li>
            <li style="width:759px; height:auto; padding:0px 10px;">
            	<span style="font-weight:bold; display:block;">工作范围：</span>
            	<span style="text-indent:0px; display:block;"><?php echo stripslashes($hm_arr[0][8]); ?></span>
            </li>
            <li style="width:759px; height:60px; text-align:center; padding:0px 10px;"><input type="image" src="pics/get_job.gif" style="margin:9px auto;" onclick="location.href='get_job.php?job_id=<?php echo $job_id; ?>';" /></li>
        </ul>
    </div>
</div>
</div>
<div id="foot"><?php unset($hm_arr,$filter,$hm_arr_news,$config_arr); hmcss_foot(); ?></div>
</body>
</html>