
<!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>[.$ourphp_adminfont.admintitle.]</title>
<link href="templates/images/ourphp_login.css" rel="stylesheet" type="text/css"> 
<script type="text/javascript" src="../../function/plugs/jquery/1.7.2/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../../function/plugs/laydate/laydate.js"></script>
<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(m,n){
 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
 var mli=document.getElementById("main"+m).getElementsByTagName("ul");
 for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"hover":"";
  mli[i].style.display=i==n?"block":"none";
 }
}
//-->
</script>

</head>

<body>
<div style="height:50px;"></div>
<div style="clear:both"></div>
<div id="tabs0">
 <ul class="menu0" id="menu0">
  <li class="hover">编 辑</li>
  <li><a href="javascript:history.go(-1)"><font color="#000000">返 回</font></a></li>
 </ul>
 <div class="main" id="main0" style="border-top:2px #488fcd solid; clear:both;">
  
  <ul class="block">
	  <li>
		<form id="form1" name="form1" method="POST" action="?ourphp_cms=edit&id=[.$ourphp_job.id.]&page=[.$page.]&aid=[.$aid.]" class="registerform">
		<table width="98%" border="0" cellpadding="5" cellspacing="0" bordercolor="#666666" style="border-collapse:collapse;" align="center">
		<tr>
		  	<td><div align="right">栏目</div><input type="hidden" value="[.$ourphp_job.OP_Class.]" name="c"></td>
			<td>

<select name="OP_Jobclass"  datatype="zoo" class="win3">
	<option value="0" >请选择</option>
	[.assign var="level" value=0.]
	[.function name=menu.]
			[.foreach $data as $op.]
				<option value="[.$op.id.]|[.$op.lang.]" [.if $op.model != 'job'.]disabled="true" style="color:#FF0000;"[.else.] style="color:#009900"[./if.] [.if $op.id == $ourphp_job.OP_Class.]selected="selected"[./if.]>
				[.if $op.uid != 0.]
					[.for $foo=1 to $level.]
					&nbsp;&nbsp;
					[./for.]
					└
				[./if.]
				[.$op.title.]
				</option>
				
				[.if isset($op.child).]
					[.call name=menu data=$op.child level=$level+1.]
				[./if.]
			[./foreach.]
	[./function.]
	[.call name=menu data=$joblist.]
</select>
			<font color="#009900">绿色</font>表示可录入项，<font color="#FF0000">红色</font>禁止录入项.
						
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">标题</div></td>
			<td><input name="OP_Jobtitle" type="text" class="win" value="[.$ourphp_job.OP_Jobtitle.]" [.$ourphp_bgcolor.] datatype="*" nullmsg="标题是必填项!"/><font color=red> (*)</font></td>
		  </tr>
		  <tr>
		  	<td bgcolor="#eeddff">
		  	<div align="right"><b>细节</b></div></td>
			<td bgcolor="#f6eefe"><table width="90%" border="0" cellpadding="5">
                <tr>
                  <td width="11%"><div align="right">招聘职位：</div></td>
                  <td width="33%"><input name="OP_Jobwork" type="text" class="win3" value="[.$ourphp_job.OP_Jobwork.]" [.$ourphp_bgcolor.] /></td>
                  <td width="10%"><div align="right">工作地点：</div></td>
                  <td width="46%"><input name="OP_Jobadd" type="text" class="win3" value="[.$ourphp_job.OP_Jobadd.]" [.$ourphp_bgcolor.] /></td>
                </tr>
                <tr>
                  <td><div align="right">工作性质：</div></td>
                  <td><input type="text" name="OP_Jobnature" class="win3" value="[.$ourphp_job.OP_Jobnature.]" [.$ourphp_bgcolor.] />
				  
				<select onchange="document.form1.OP_Jobnature.value=this.value" class="win3">
			    <option value="">=快速选择=</option>
				<option value="全职">全职</option>
				<option value="兼职">兼职</option>
			    </select>
				  </td>
                  <td><div align="right">工作经验：</div></td>
                  <td><input type="text" name="OP_Jobexperience" class="win3" value="[.$ourphp_job.OP_Jobexperience.]" [.$ourphp_bgcolor.] />
				  
				<select onchange="document.form1.OP_Jobexperience.value=this.value" class="win3">
			    <option value="">=快速选择=</option>
				<option value="一年以上">一年以上</option>
				<option value="三年以上">三年以上</option>
				<option value="五年以上">五年以上</option>
				<option value="十年以上">十年以上</option>
			    </select>
				  </td>
                </tr>
                <tr>
                  <td><div align="right">最低学历：</div></td>
                  <td><input type="text" name="OP_Jobeducation" class="win3" value="[.$ourphp_job.OP_Jobeducation.]" [.$ourphp_bgcolor.] />
				  
				<select onchange="document.form1.OP_Jobeducation.value=this.value" class="win3">
			    <option value="">=快速选择=</option>
				<option value="初中以上">初中以上</option>
				<option value="高中以上">高中以上</option>
				<option value="大学以上">大学以上</option>
				<option value="专职">专职</option>
				<option value="本科">本科</option>
				<option value="博士">博士</option>
				<option value="硕士">硕士</option>
			    </select>
				  </td>
                  <td><div align="right">招聘人数：</div></td>
                  <td><input type="text" name="OP_Jobnumber" class="win3" value="[.$ourphp_job.OP_Jobnumber.]" [.$ourphp_bgcolor.] /></td>
                </tr>
                <tr>
                  <td><div align="right">年龄：</div></td>
                  <td><input type="text" name="OP_Jobage" class="win3" value="[.$ourphp_job.OP_Jobage.]" [.$ourphp_bgcolor.] /></td>
                  <td><div align="right">福利：</div></td>
                  <td><input type="text" name="OP_Jobwelfare" class="win3" value="[.$ourphp_job.OP_Jobwelfare.]"  [.$ourphp_bgcolor.] />

				<select onchange="document.form1.OP_Jobwelfare.value=this.value" class="win3">
			    <option value="">=快速选择=</option>
				<option value="包吃">包吃</option>
				<option value="包住">包住</option>
				<option value="包吃、包住">包吃、包住</option>
			    </select>
				  </td>
                </tr>
                <tr>
                  <td><div align="right">月薪：</div></td>
                  <td><input type="text" name="OP_Jobwage" class="win3" value="[.$ourphp_job.OP_Jobwage.]" [.$ourphp_bgcolor.] /></td>
                  <td><div align="right">联系人：</div></td>
                  <td><input type="text" name="OP_Jobcontact" class="win3" value="[.$ourphp_job.OP_Jobcontact.]" [.$ourphp_bgcolor.] /></td>
                </tr>
                <tr>
                  <td><div align="right">联系电话：</div></td>
                  <td><input type="text" name="OP_Jobtel" class="win3" value="[.$ourphp_job.OP_Jobtel.]" [.$ourphp_bgcolor.] /></td>
                  <td><div align="right"></div></td>
                  <td>&nbsp;</td>
                </tr>
              </table></td>
		  </tr>	
		  <tr>
		  	<td valign="top">
		  	<div align="right">其它描述(Description)</div></td>
			<td><textarea name="OP_Jobcontent" class="wtextarea editor" style="width:95%; height:400px;">[.$ourphp_job.OP_Jobcontent.]</textarea><font color=red> (*)</font>
			[.include file="ourphp_editor.html".]
			</td>
		  </tr>   
		  <tr>
		  	<td valign="top"><div align="right">手机端正文</div></td>
			<td>
				<div class="newsleft">
					<textarea name="OP_Jobcontent_wap" class="wtextarea editor waplook" style="width:100%; height:400px;">[.$ourphp_job.OP_Jobcontent_wap.]</textarea>
					<font color=red> (*)</font>
				</div>
				
				<div class="newsright">
					[.include file="ourphp_contentwap.html".]
				</div>
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">发布时间</div></td>
			<td>
			<input name="time" type="text" id="time" class="win" value="[.$ourphp_job.time.]" [.$ourphp_bgcolor.] />
			<script>
				laydate.render({
				  elem: '#time',
				  type: 'datetime'
				});
			</script>
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">排序</div></td>
			<td><input name="OP_Jobsorting" type="text" class="win2" value="[.$ourphp_job.OP_Sorting.]" [.$ourphp_bgcolor.] datatype="*" nullmsg="排序是必填项!"/> 数字越小越靠前！</td>
		  </tr>
		  <tr>
		  	<td><div align="right">属性</div></td>
			<td>
				[.html_checkboxes name="OP_Jobattribute" options=$ourphph_qx selected=$selected separator="&nbsp;&nbsp;".]
				<label><input type="checkbox" name="OP_Searchtop" value="1" [.if $ourphp_article.OP_Searchtop == 1.]checked[./if.] />&nbsp;在搜索结果中置顶</label>&nbsp;&nbsp;
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">跳转</div></td>
			<td><input name="OP_Joburl" type="text" class="win" value="[.$ourphp_job.OP_Url.]"  [.$ourphp_bgcolor.] /> 如果为空，则不跳转！</td>
		  </tr>
		  <tr>
			<td></td>
		  	<td><strong>--------------- 网站独立SEO设置 ---------------</strong></td>
		  </tr>
		  <tr>
		  	<td><div align="right">关键词(Keywords)</div></td>
			<td><input name="OP_Jobtag" type="text" class="win" value="[.$ourphp_job.OP_Tag.]"  [.$ourphp_bgcolor.] />&nbsp;请用英文中的 , 格开</td>
		  </tr>
		  <tr>
		  	<td><div align="right">描述(Description)</div></td>
			<td><textarea name="OP_Jobdescription" class="wtextarea" >[.$ourphp_job.OP_Description.]</textarea> 如果为空，自动截取正文前200个字</td>
		  </tr>
		  [.if $model['data'] == 1.]
		  <tr>
			<td></td>
		  	<td><strong>--------------- 自定义输入项 ---------------</strong></td>
		  </tr>
			  [.foreach $model['list'] as $op.]
				  <tr>
					<td><div align="right">[.$op['name'].]</div></td>
					[.if $op['type'] == 'varchar'.]
					<td><input name="[.$op['field'].]" type="text" class="win" value="[.$modeldata[$op['field']].]" /></td>
					[./if.]
					[.if $op['type'] == 'text'.]
					<td><textarea name="[.$op['field'].]" class="wtextarea" >[.$modeldata[$op['field']].]</textarea></td>
					[./if.]
					[.if $op['type'] == 'editor'.]
					<td><textarea name="[.$op['field'].]" class="wtextarea editor" style="width:95%; height:400px;" >[.$modeldata[$op['field']].]</textarea></td>
					[./if.]
				  </tr>
			  [./foreach.]
		  [./if.]
		   <tr>
		   	<td></td>
			<td><input type="submit" name="submit" value="提 交" class="ourphp-anniu"/></td>
		  </tr>
		   <tr>
		   	<td>&nbsp;</td>
			<td>&nbsp;</td>
		  </tr>
		</table>
		</form>
	  </li>
  </ul>
 </div>
</div>
[.include file="ourphp_foot.html".]
</body>
</html>