<!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>修改招聘信息 {#$LA_poweredby#} -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="{#$base_weburl#}/templates/adminsys/css/list.css" />
<script language="javascript" src="{#$base_weburl#}/js/jquery-1.7.2.js" ></script>
<script language="javascript" src="{#$base_weburl#}/js/common.js" ></script>
<script language="javascript">
var webroot_url = '{#$base_weburl#}';
	function submitFun()
	{
		var idinv_position 		= document.getElementById('inv_position');
		var idinv_num 			= document.getElementById('inv_num');
		var idinv_type 			= document.getElementById('inv_type');
		var idinv_pay 			= document.getElementById('inv_pay');
		var idinv_year 			= document.getElementById('inv_year');

		var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(idinv_position.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：职位名称不能为空！请输入！';
			idinv_position.focus();
			return false;
		}else if(idinv_num.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：招聘人数不能为空！请输入！';
			idinv_num.focus();
			return false;
		}else if(idinv_type.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：工作类型不能为空！请输入！';
			idinv_type.focus();
			return false;
		}else if(idinv_pay.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：薪水待遇不能为空！请输入！';
			idinv_pay.focus();
			return false;
		}else if(idinv_year.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：经验要求不能为空！请输入！';
			idinv_year.focus();
			return false;
		}

	}
</script>
</head>
<body>

<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">

<tr><td><table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<a href="{#$employee_weburl#}/index.php?load=invite&act=infolist" ><img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0">招聘列表</a> | 修改招聘信息</td>
    <td>&nbsp;</td>
     <td align="right"><a href="http://help.gv32.com/type_invite-edit.html" target="_blank" title="点击-在线帮助"><img src="{#$base_weburl#}/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>

<tr><td>
<div class="list">
<form action="{#$actUrl#}" method="post" onsubmit="return submitFun(this)" enctype="multipart/form-data" name="formSub">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<th colspan="2">修改招聘信息</th>
</tr>
<input name="inv_id" id="inv_id" value="{#$info.inv_id#}" type="hidden"  style="width:250px;" >
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>职位名称：</strong></td>
<td class="tdd"><input name="inv_position" id="inv_position" value="{#$info.inv_position#}" type="text"  style="width:250px;" ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>招聘人数：</strong></td>
<td class="tdd"><input name="inv_num" id="inv_num" value="{#$info.inv_num#}" type="text"  style="width:250px;" ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>工作类型：</strong></td>
<td class="tdd"> <select name="inv_type" id="inv_type" style="width:250px;">
{#foreach item=typeitem key=typekey  from=$_LANG.invitetypeArray#}
<option value="{#$typekey#}" {#if $info.inv_type eq $typekey#} selected="selected" {#/if#} >{#$typeitem#}</option>
{#/foreach#}
</select>

</td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>薪水待遇：</strong></td>
<td class="tdd"><select name="inv_pay" id="inv_pay" style="width:250px;">
<option value="">--请选择--</option>
{#foreach item=payitem key=paykey  from=$_LANG.invitepayArray#}
<option value="{#$paykey#}" {#if $info.inv_pay eq $paykey#} selected="selected" {#/if#} >{#$payitem#}</option>
{#/foreach#}
</select>
</td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>经验要求：</strong></td>
<td class="tdd">
<select name="inv_year" id="inv_year"  style="width:250px;" >
{#foreach item=yearitem key=yearkey  from=$_LANG.inviteyearArray#}
<option value="{#$yearkey#}" {#if $info.inv_year eq $yearkey#} selected="selected" {#/if#} >{#$yearitem#}</option>
{#/foreach#}
</select>
</td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>学历要求：</strong></td>
<td class="tdd">
<select name="inv_educational" id="inv_educational"  style="width:250px;" >
<option value="">--请选择--</option>
{#foreach item=eduitem key=edukey  from=$_LANG.inviteeducationalArray#}
<option value="{#$edukey#}"  {#if $info.inv_educational eq $edukey#} selected="selected" {#/if#} >{#$eduitem#}</option>
{#/foreach#}
</select></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>性别要求：</strong></td>
<td class="tdd">
<select name="inv_sex" id="inv_sex"  style="width:250px;" >
<option value="">--请选择--</option>
{#foreach item=sexitem key=sexkey  from=$_LANG.invitesexArray#}
<option value="{#$sexkey#}" {#if $info.inv_sex eq $sexkey#} selected="selected" {#/if#} >{#$sexitem#}</option>
{#/foreach#}
</select>
</td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>年龄范围：</strong></td>
<td class="tdd">
<select name="inv_age" id="inv_age"  style="width:250px;" >
<option value="">--请选择--</option>
{#foreach item=ageitem key=agekey  from=$_LANG.inviteageArray#}
<option value="{#$agekey#}" {#if $info.inv_age eq $agekey#} selected="selected" {#/if#}  >{#$ageitem#}</option>
{#/foreach#}
</select>
</td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>婚姻状况：</strong></td>
<td class="tdd">
<select name="inv_marriage" id="inv_marriage"  style="width:250px;" >
<option value="">--请选择--</option>
{#foreach item=maritem key=markey  from=$_LANG.invitemarriageArray#}
<option value="{#$markey#}" {#if $info.inv_marriage eq $markey#} selected="selected" {#/if#} >{#$maritem#}</option>
{#/foreach#}
</select>
</td>
</tr>
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>专业要求：</strong></td>
<td class="tdd"><input name="inv_subject" id="inv_subject" value="{#$info.inv_subject#}" type="text" style="width:250px;"></td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>有效时间：</strong></td>
<td class="tdd"><input name="inv_activetime" id="inv_activetime" value="{#$info.inv_activetime#}" type="text" style="width:250px;"></td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>工作地点：</strong></td>
<td class="tdd"><div id="userd_addr"><span id="userd_province"><select name="idprovince" id="idprovince"><option value="">请选择</option></select></span><span id="userd_city"><select name="idcity" id="idcity"><option value="" >请选择</option></select></span><span id="userd_district"><select name="iddistrict" id="iddistrict"><option value="" >请选择</option></select></span></div>
<script language="javascript">
	function getareadict( objval, nextobj , areatype , selval )
	{
		var areatype = areatype; 
		var idnextobj = document.getElementById( nextobj );
		if(objval!='')
		{
			$.get("{#$base_weburl#}/index.php?load=ajaxarea&act="+areatype+"&objval="+objval+"&selval="+selval, function(data)
			{
				idnextobj.innerHTML = data;
			})
		}else{
			$.get("{#$base_weburl#}/index.php?load=ajaxarea&act="+areatype+"", function(data)
			{
				idnextobj.innerHTML = data;
			})
		}
		
	}
	function provinceval(obj)
	{
		
		spprovince.innerHTML = obj.options[obj.selectedIndex].text;
		spcity.innerHTML	 = '';
		spdistrict.innerHTML = '';
		
		document.getElementById('hiprovince').value = obj.options[obj.selectedIndex].text;
		document.getElementById('hicity').value 	= '';
		document.getElementById('hidistrict').value = '';
		
	}
	function cityval(obj)
	{
		spcity.innerHTML	 = obj.options[obj.selectedIndex].text;
		spdistrict.innerHTML = '';
		
		document.getElementById('hicity').value 	  = obj.options[obj.selectedIndex].text;
		document.getElementById('hidistrict').value   = '';
	}
	
	function districtval(obj)
	{
		spdistrict.innerHTML = obj.options[obj.selectedIndex].text
		
		document.getElementById('hidistrict').value = obj.options[obj.selectedIndex].text;
	}
	
	getareadict( '0',  'userd_province','province' ,  '{#$info.inv_province#}');
	getareadict( '{#$info.inv_province#}',  'userd_city','city' ,  '{#$info.inv_city#}');
	getareadict( '{#$info.inv_city#}',  'userd_district','district' ,  '{#$info.inv_district#}');
	
</script>	<input type="hidden" value="" name="hiprovince" id="hiprovince" /><input type="hidden" value="" name="hicity" id="hicity" /><input type="hidden" value="" name="hidistrict" id="hidistrict" /><div ><span id="spprovince"></span><span id="spcity"></span><span id="spdistrict"></span></div></td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>具体描述：</strong></td>
<td class="tdd">{#$ckeditorLoad#}</td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>岗位要求：</strong></td>
<td class="tdd">{#$reqckeditorLoad#}</td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>是否显示：</strong></td>
<td class="tdd">显示<input type="radio" name="inv_enabled" id="inv_enabled[0]" value="1" {#if $info.inv_enabled eq 1#} checked="checked" {#/if#} />&nbsp;&nbsp;隐藏<input type="radio" name="inv_enabled" id="inv_enabled[1]" value="0" {#if $info.inv_enabled eq 0#} checked="checked" {#/if#} /></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"><div id="suggestionInfo">&nbsp;</div></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"> <input name="submit" id="submit" type="submit" value="修 改" ></td>
</tr>
</table>
</form>
</div>

</td></tr>
<tr><td></td></tr>
</table>


</body>
</html>