<?php
	include_once("check_login.php");
	//查看企业简介
	include_once("include/config.php");
	if(!$hm_arr = get_config("job_good"))
		show_error("读取企业福利待遇出错");
?>
<!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>福利待遇</title>
<style type="text/css"></style>
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="ckfinder/ckfinder.js"></script>
</head>

<body>
<div class="head_menu"><a href="set_job_list.php">职位列表</a><a href="set_job_new.php">添加招聘</a><span class="head_menu_on"><a href="set_job_good.php">福利待遇</a></span></div>
<div class="set_main_out">
	<form id="form1" name="form1" method="post" action="set_site_do.php?action=job_good">
	<div class="set_main">
		<ul>
        	<li style="width:790px; text-align:center; font-weight:bold;">企业福利待遇</li>
            <li style="width:790px; height:auto; padding:5px; text-indent:0px;">
            	<textarea cols="80" id="job_good" name="job_good" rows="10" style="margin:0px auto;"><?php echo $hm_arr[0][2]; ?></textarea>
            <script type="text/javascript">
            if (typeof CKEDITOR == 'undefined') {
            	document.write('加载CKEditor失败');
            	}
            	else {
            	var editor = CKEDITOR.replace('job_good');
            	CKFinder.SetupCKEditor(editor, 'ckfinder'); //ckfinder总目录的相对路径.
            	}
                CKEDITOR.config.height = 350;
            </script>

          </li>
            <li style="width:790px; text-indent:0px; text-align:center;">
              <input type="submit" name="button" id="button" value="  提 交  " />
            </li>
    	</ul>
	</div>
   </form>
</div>
</body>
</html>