<!--#include file="../prohead.asp"-->
  <!--#include file="../checkrole.asp"-->
 <%
      call checkuser("zp")
	  %>
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script LANGUAGE="JavaScript">
function check()
{
if (trim(document.Form1.bigclassid.value) =="0")
{
alert("请选择职业类别！"); 
document.Form1.jobkind.focus(); 
return (false); 
}

if (trim(document.Form1.showname.value)=="")
{
alert("招聘职位不能为空")
document.Form1.showname.focus()
document.Form1.showname.select()
return
}
 
if (isNaN(Form1.zrs.value)){
alert("招聘人数只能填数字！");
Form1.zrs.focus(); 
return (false);
}
 if (trim(document.Form1.country1.value) =="中国") 
{ 
if (trim(document.Form1.province.value) =="")
{
alert("请选择省份！"); 
document.Form1.province.focus(); 
return (false); 
}
if (trim(document.Form1.city.value) =="")
{
alert("请选择地级城市！"); 
document.Form1.city.focus(); 
return (false); 
}
} 
if (trim(document.Form1.content.value)=="")
{
alert("招聘内容不能为空")
document.Form1.content.focus()
document.Form1.content.select() 
return
}
document.Form1.submit()
}
//-->
function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 

//--> 
</SCRIPT>
<script language = "JavaScript"> 
sallt=new Array();
<%
Dim ii
ii=0
set rs8=server.CreateObject("adodb.recordset")
sql8="select * from Yixiang_jobType"
rs8.open sql8,conn,1,1
if not rs8.eof then
do while not rs8.eof
%>
sallt[<%=ii%>]=new Array("<%=rs8("typename")%>","<%=rs8("sortid")%>","<%=rs8("id")%>");
<%
ii=ii+1
rs8.movenext
loop
rs8.close
end if
%>
function changeselect1(selvalue)  
   { 
      document.all.smallclassid.length=0;
	  document.all.smallclassid.options[0] = new Option('--职业类别--','');
      var selvalue=selvalue;
      var ii;
      for(ii=0;ii<sallt.length;ii++) 
	{
	    if(sallt[ii][1]==selvalue) 
      		{
  	var newOption1=new Option(sallt[ii][0],sallt[ii][2]);
	document.all.smallclassid.add(newOption1);
		}
	}
}
</script> 
<body onLoad="javascript:setSubject()">
<TABLE width=790 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
  <TR>
    <TD 
    style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE: url(i../mages/bg1.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #ffffff" 
    vAlign=top align=middle width=628>      <BR>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="21%"><span class="M" style="color: #FF0000">发布招聘信息</span></td>
          <td width="2%"><img src="../../image/001_r2_c2.gif" /></td>
          <td width="77%"><font color=#CC3300>【</font><font color="#CC3300">*</font><font color=#CC3300>为必填写】</font></td>
        </tr>
      </table>
      <TABLE border=0 cellSpacing=0 width="100%" style="border-collapse: collapse" height="505" cellpadding="0">
          
<form method="POST" action="save_info.asp" name="Form1">
<TR><TD height="17" bgcolor="#E1EFFF" width="100%">
<table width="100%" height="508" border="1" align="center" cellpadding="3" cellspacing="2" bordercolor="#111111" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" id="AutoNumber2" style="border-collapse: collapse">
<tr>
<TD colspan="2" height="20" bgcolor="#EEF7FF">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
<tr>
<TD height="17" bgcolor="#EEF7FF" width="770">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
<tr>
                                <td width="62%" height="25" class="M">发布招聘信息</td>
                                <td width="38%">&nbsp;</td>
</tr>
</table></TD>
</tr>
</table></TD>
</tr>
<tr>
<TD align=right width=167 height="27" bgcolor="#EFF7FF">行业类别：</td>
<TD width="599" height="27" bgcolor="#E7EBF7">
&nbsp;
<select name="bigclassid" onChange="changeselect1(document.all.bigclassid.options[document.all.bigclassid.selectedIndex].value)" size="1"> 
<option value="0">--行业类别--</option>
<%
set rs7=server.CreateObject("adodb.recordset")
sql7="select * from yixiang_jobkind"
rs7.open sql7,conn,1,1
if not rs7.eof then
do while not rs7.eof
response.write "<option value='"&rs7("id")&"'>"&rs7("kindname")&"</option>"&chr(13)+chr(10)
rs7.movenext
loop
rs7.close
end if
%>                        
</select> 
&nbsp;<font color="#CC3300">*</font></td>
</tr>
<tr>
  <TD align=right height="27" bgcolor="#EFF7FF">职业类别：</td>
  <TD height="27" bgcolor="#E7EBF7">&nbsp;
   <select name="smallclassid"> 
  <option value="0">--职业类别--</option>
</select> &nbsp;<font color="#CC3300">*</font>  </td>
</tr>
<tr>
<TD align=right width=167 height="27" bgcolor="#EFF7FF">招聘职位：</td>
<TD width="599" height="27" bgcolor="#E7EBF7">&nbsp;
                      <input name="showname" type="text" size="35" maxlength="20"  onblur="this.value=this.value.replace(/\s/igm,'')">
                    &nbsp;<font color="#CC3300">*</font></td>
</tr>
<tr> <script language="JavaScript" src="../../js/calendar.js"> </script> 
<TD align="right" width="167" height="23" bgcolor="#EEF7FF">截止日期：</TD>
<TD width=599 height="23" bgcolor="#E7EBF7">
&nbsp;
<select size="1" name="period" class="f11"  style="display:none"> 
<option value="一周">一周</option>
<option value="半月">半月</option>
<option value="一个月">一个月</option>
<option value="三个月">三个月</option>
<option value="六个月">六个月</option>
<option value="一年">一年</option>
<option value="长期">长期</option>
</select> 
<input type="text" name="enddate" size="16" maxlength="16" value="<%=date()+2%>" onFocus="calendar()" > 


<font color="#CC3300">*</font></td>
</tr>
<tr>
<TD align="right" width="167" height="27" bgcolor="#EFF7FF">招聘人数：</TD>
<TD width=599 height="27" bgcolor="#E4EBF3">
&nbsp;
<input name="zrs" type="text" size="4" maxlength="5" value="0"  onBlur="if(/[^0-9]/g.test(this.value)){alert('请输入整型数字！');this.value=0}">
                    <font color="blue"></font>人<SPAN class=note>（为<font color="#FF0000">0</font>表示不限）</span><font color="#CC3300">*</font></td>
</tr>
<tr>
<TD align="right" width="167" height="28" bgcolor="#EEF7FF">
<p>工作所在地点：</TD>
<TD width=599 height="28" bgcolor="#E7EBF7">

<script language=javascript src="<%=HOPE_InstallDir%>js/area1.js"   purpose="INITIALIZER"></script>
<script type="text/javascript">	var placeD=["country1","province","city"];</script>
&nbsp; <select id="country1" name="country1" onChange="changeRegion(placeD,1)" style="width:60px;" onblur="return checkareacity()"></select>

<select name="province" id="province" onChange="changeRegion(placeD,2)" style="width:60px;" onblur="return checkareacity()"></select>

<select name="city" id="city" onChange="changeRegion(placeD,3)"  style="width:60px;" onblur="return checkareacity()"></select>
						  
						  
						  
						  <script type="text/javascript">changeRegion(placeD,0); </script>		

  <font color="#CC3300">*</font></td>
</tr>
<tr>
<TD align="right" width=167 height="25" bgcolor="#EFF7FF">招聘类型：</td>
<TD width=599 height="25" bgcolor="#E7EBF7">
&nbsp;
<select size="1" name="type" class="f11">
<option value="全职" selected>全职</option>
<option value="兼职">兼职</option>
<option value="全职或兼职">全职或兼职</option>
</select><font color="#CC3300"> *</font></td>
</tr>
<tr>
  <TD align="right" height="25" bgcolor="#EFF7FF">薪金范围：</td>
  <TD height="25" bgcolor="#E7EBF7">&nbsp; 
  <select name="affordsalary">
    <option value="1" >面议</option>
    <option value="2" >1000以下</option>
    <option value="3" >1000-2000</option>
    <option value="4" >2000-3000</option>
    <option value="5" >3000-4000</option>
    <option value="6" >4000-5000</option>
    <option value="7" >5000-7000</option>
    <option value="8" >7000-10000</option>
    <option value="9" >10000-15000</option>
    <option value="10" >15000-20000</option>
    <option value="11" >20000-30000</option>
    <option value="12" >30000-50000</option>
    <option value="13" >50000以上</option>
  </select></td>
</tr>
<tr>
<TD align="right"   height="57" bgcolor="EFF7FF"> 招聘说明(描述)：<br>
 (最多2000字)</TD>
<TD align="left" width="599" height="57" bgcolor="#E7EBF7">
&nbsp; 总共可以输入2000字，剩余 
<input name="positionCount" id="positionCount" value="2000" readonly type=text size=4 maxlength=3 style="background-color: #f4f4f4; border: 0; color: red"> 字,职位描述最少15个字以上。 <br />
&nbsp;
<textarea rows="8" cols="54" name="content" class="f11" onPropertyChange="textCounter(this, 2000,'positionCount','alrPositionmemo');" style="font-family: 宋体"></textarea><FONT color="#CC3300">&nbsp;*</FONT></TD>
</tr>
<tr>
  <TD colspan="2" height="20" bgcolor="#EEF7FF"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
    <tr>
      <td width="62%" height="25" class="M">具体职位要求</td>
      <td width="38%"><font color=#CC3300>【</font><font color="#CC3300">*</font><font color=#CC3300>为必填写】</font></td>
    </tr>
  </table></TD>
</tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF">年　龄：</TD>
  <TD bgcolor="#EEF7FF"><span style="float:left">
    <select name="ageSelect" onChange="changename(this.form)">
      <option value="1-100"  >不限</option>
      <option value="18-22"  >18-22</option>
      <option value="23-29"  >23-29</option>
      <option value="30-39"  >30-39</option>
      <option value="40-100" >40以上</option>
      <option value="0">其他</option>
    </select>
  </span></TD>
  </tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF"><span class="thing">学　历：</span></TD>
  <TD bgcolor="#EEF7FF"><span class="bb">
    <select name="edulevel">
      <option value="1" >不限</option>
      <option value="2" >专科及以下</option>
      <option value="3" >本科</option>
      <option value="4" >硕士</option>
      <option value="5" >博士及以上</option>
    </select>
  </span></TD>
</tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF"><span class="thing">工作年限：</span></TD>
  <TD bgcolor="#EEF7FF"><span class="bb">
    <select name="workyears">
      <option value="1" >不限</option>
      <option value="2" >1年以下</option>
      <option value="3" >1-3年</option>
      <option value="4" >4-5年</option>
      <option value="5" >6-10年</option>
      <option value="6" >10年以上</option>
    </select>
  </span></TD>
</tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF"><span class="thdone">性　别：</span></TD>
  <TD bgcolor="#EEF7FF"><span class="bb">
    <input type="radio" name="male" value="2"  checked >
不限
<input type="radio" name="male" value="1" <%if rs("male")=1 then response.Write("checked") end if%> >
男
<input type="radio" name="male" value="0" <%if rs("male")=0 then response.Write("checked") end if%>>
女 </span></TD>
</tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF"><span class="thing">外 语 1：</span></TD>
  <TD bgcolor="#EEF7FF"><span class="bb">
    <select name="foreign1" >
      <option value="1" >不限</option>
      <option value="2" >英语</option>
      <option value="3" >日语</option>
      <option value="4" >德语</option>
      <option value="5" >法语</option>
      <option value="6" >西班牙语</option>
      <option value="7" >俄语</option>
      <option value="8" >韩语</option>
      <option value="21" >其他</option>
    </select>
  </span><span class="bb">
  <select name="foreigndegree1">
    <option value="0">请选择熟练程度</option>
    <option value="1" >一般</option>
    <option value="2" >优秀</option>
    <option value="3" >熟练</option>
  </select>
  </span></TD>
</tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF"><span class="thing">外 语 2：</span></TD>
  <TD bgcolor="#EEF7FF"><span class="bb">
    <select name="foreign2">
      <option value="1" >不限</option>
      <option value="2" >英语</option>
      <option value="3" >日语</option>
      <option value="4" >德语</option>
      <option value="5" >法语</option>
      <option value="6" >西班牙语</option>
      <option value="7" >俄语</option>
      <option value="8" >韩语</option>
      <option value="21" >其他</option>
    </select>
  </span><span class="bb">
  <select name="foreigndegree2">
    <option value="0">请选择熟练程度</option>
    <option value="1" >一般</option>
    <option value="2" >优秀</option>
    <option value="3" >熟练</option>
  </select>
  </span></TD>
</tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF"><span class="thing">有 效 期：</span></TD>
  <TD bgcolor="#EEF7FF"><span class="bb">
    <select name="validdate">
      <option value="0">--请选择--</option>
      <!-- <option value="1" >1天</option> -->
      <option value="7" >7天</option>
      <option value="14" >14天</option>
      <option value="30" >30天</option>
      <option value="90" >90天</option>
      <option value="-1" >长期</option>
    </select>
    <FONT color="#CC3300">*</FONT></span></TD>
</tr>
<tr>
  <TD height="25" colspan="2" bgcolor="#EEF7FF"><span class="M">联系方式</span></TD>
  </tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF">联 系 人</TD>
  <TD bgcolor="#EEF7FF"><span class="bb">
    <input name="contactor" type="text" size="20" maxlength="50" />
  </span></TD>
</tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF"><span class="thdone">Email</span></TD>
  <TD bgcolor="#EEF7FF"><span class="bb">
    <input name="email" type="text" size="20" maxlength="50"  onPropertyChange="showAlr(this,'alrEmail');getEbID('th_email').className='thdone'" />
  </span></TD>
</tr>
<tr>
  <TD align="right" bgcolor="#EEF7FF"><span class="thdone">电　话</span></TD>
  <TD bgcolor="#EEF7FF"><span class="bb">国家代码－区号－电话号码-分机<span class="txt_01">(非必填)</span><br>
    <br />
      <input maxlength="5" size="3" name="tel1" onKeyUp="value=value.replace(/[^\d]/g,'') "  tonbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" />
-
<input maxlength="5" size="3" name="tel2" onKeyUp="value=value.replace(/[^\d]/g,'') "  tonbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" />
-
<input maxlength="28" size="8" name="tel3" onKeyUp="value=value.replace(/[^\d]/g,'') "  tonbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" />
-
<input maxlength="28" size="8" name="tel4" onKeyUp="value=value.replace(/[^\d]/g,'') "  tonbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" />
  </span></TD>
</tr>

<tr bgcolor="#EFF7FF">
<TD colspan="2" align="center" height="21">
  <INPUT class="f11" type="button" value="确 定" onClick="check()">&nbsp;&nbsp;&nbsp;&nbsp;<INPUT class="f11" type="button" value="返 回"></TD>
</tr>
<tr>
<TD colspan="2" align="center" height="12" bgcolor="#EEF7FF"></TD>
</tr>
</table>
</TD></TR>
</FORM>
</TABLE></TD></TR>
</TABLE>
<script language="javascript" type="text/javascript">
function textCounter(field, maxlimit,countId,alrId) { 
		var count=document.getElementById(countId);
		if (field.value.length > maxlimit){ 
			field.value = field.value.substring(0, maxlimit); 
		}else{
			count.value = maxlimit - field.value.length;
		}
		/*
		if(field.value.length>15){
		    document.getElementById('th_positionmemo').className='thdone';
			document.getElementById(alrId).style.display="none";
		}else{
			document.getElementById(alrId).style.display="";
		}
		*/
	}
</script>
</body>
</html>