<?php /* Smarty version Smarty-3.0.6, created on 2013-10-17 10:48:11
         compiled from "C:/AppServ/www/www/templates/adminsys\inviteadd_tpl.html" */ ?>
<?php /*%%SmartyHeaderCode:9722525fc06b3e2da4-32539658%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3517d782b1db39634ff9d3af8ef6e03d9f180659' => 
    array (
      0 => 'C:/AppServ/www/www/templates/adminsys\\inviteadd_tpl.html',
      1 => 1381140360,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9722525fc06b3e2da4-32539658',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!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 $_smarty_tpl->getVariable('LA_poweredby')->value;?>
 -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/templates/adminsys/css/list.css" />
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/jquery-1.7.2.js" ></script>
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/common.js" ></script>
<script language="javascript">
var webroot_url = '<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
';
	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="<?php echo $_smarty_tpl->getVariable('employee_weburl')->value;?>
/index.php?load=invite&act=infolist" ><img src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/uploads/sys/h.gif"  width="15" border="0">招聘列表</a> | 添加招聘信息</td>
    <td>&nbsp;</td>
     <td align="right"><a href="http://help.gv32.com/type_invite-add.html" target="_blank" title="点击-在线帮助"><img src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>

<tr><td>
<div class="list">
<form action="<?php echo $_smarty_tpl->getVariable('actUrl')->value;?>
" 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>
<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="" 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="" 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;">
<?php  $_smarty_tpl->tpl_vars['typeitem'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['typekey'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('_LANG')->value['invitetypeArray']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['typeitem']->key => $_smarty_tpl->tpl_vars['typeitem']->value){
 $_smarty_tpl->tpl_vars['typekey']->value = $_smarty_tpl->tpl_vars['typeitem']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['typekey']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['typeitem']->value;?>
</option>
<?php }} ?>
</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>
<?php  $_smarty_tpl->tpl_vars['payitem'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['paykey'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('_LANG')->value['invitepayArray']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['payitem']->key => $_smarty_tpl->tpl_vars['payitem']->value){
 $_smarty_tpl->tpl_vars['paykey']->value = $_smarty_tpl->tpl_vars['payitem']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['paykey']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['payitem']->value;?>
</option>
<?php }} ?>
</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;" >
<?php  $_smarty_tpl->tpl_vars['yearitem'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['yearkey'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('_LANG')->value['inviteyearArray']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['yearitem']->key => $_smarty_tpl->tpl_vars['yearitem']->value){
 $_smarty_tpl->tpl_vars['yearkey']->value = $_smarty_tpl->tpl_vars['yearitem']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['yearkey']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['yearitem']->value;?>
</option>
<?php }} ?>
</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>
<?php  $_smarty_tpl->tpl_vars['eduitem'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['edukey'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('_LANG')->value['inviteeducationalArray']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['eduitem']->key => $_smarty_tpl->tpl_vars['eduitem']->value){
 $_smarty_tpl->tpl_vars['edukey']->value = $_smarty_tpl->tpl_vars['eduitem']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['edukey']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['eduitem']->value;?>
</option>
<?php }} ?>
</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>
<?php  $_smarty_tpl->tpl_vars['sexitem'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['sexkey'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('_LANG')->value['invitesexArray']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['sexitem']->key => $_smarty_tpl->tpl_vars['sexitem']->value){
 $_smarty_tpl->tpl_vars['sexkey']->value = $_smarty_tpl->tpl_vars['sexitem']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['sexkey']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['sexitem']->value;?>
</option>
<?php }} ?>
</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>
<?php  $_smarty_tpl->tpl_vars['ageitem'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['agekey'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('_LANG')->value['inviteageArray']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['ageitem']->key => $_smarty_tpl->tpl_vars['ageitem']->value){
 $_smarty_tpl->tpl_vars['agekey']->value = $_smarty_tpl->tpl_vars['ageitem']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['agekey']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['ageitem']->value;?>
</option>
<?php }} ?>
</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>
<?php  $_smarty_tpl->tpl_vars['maritem'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['markey'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('_LANG')->value['invitemarriageArray']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['maritem']->key => $_smarty_tpl->tpl_vars['maritem']->value){
 $_smarty_tpl->tpl_vars['markey']->value = $_smarty_tpl->tpl_vars['maritem']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['markey']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['maritem']->value;?>
</option>
<?php }} ?>
</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="" 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="" 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("<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/index.php?load=ajaxarea&act="+areatype+"&objval="+objval+"&selval="+selval, function(data)
			{
				idnextobj.innerHTML = data;
			})
		}else{
			$.get("<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/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' ,  '');
	
</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"><?php echo $_smarty_tpl->getVariable('ckeditorLoad')->value;?>
</td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>岗位要求：</strong></td>
<td class="tdd"><?php echo $_smarty_tpl->getVariable('reqckeditorLoad')->value;?>
</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" checked="checked" />&nbsp;&nbsp;隐藏<input type="radio" name="inv_enabled" id="inv_enabled[1]" value="0" /></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>