📄 hire_add.asp
字号:
return (false);
}
if (fnRemoveBrank(theForm.introduce.value) == "")
{
alert("请输入具体要求!");
theForm.introduce.focus();
return (false);
}
if ((theForm.introduce.value).lenB()>=8000)
{
alert("具体要求太长了,要求不多于8000个字符!");
theForm.introduce.focus();
return (false);
}
if (fnRemoveBrank(theForm.address.value) == "")
{
alert("请输入通信地址!");
theForm.address.focus();
return (false);
}
if (fnRemoveBrank(theForm.contact.value) == "")
{
alert("请输入联系人!");
theForm.contact.focus();
return (false);
}
if (fnRemoveBrank(theForm.tel.value) == "")
{
alert("请输入联系电话!");
theForm.tel.focus();
return (false);
}
var objv = fnRemoveBrank(theForm.email.value);
var pattern = /^([a-zA-Z0-9_-])+(\.([a-zA-Z0-9_-])+)*@([a-zA-Z0-9_-])+(\.([a-zA-Z0-9_-])+)+$/;
flag = pattern.test(objv);
if(!flag)
{
alert("电子邮件:格式不正确!请重新输入。");
theForm.email.focus();
return (false);
}
}
-->
</script></head>
<body>
<iframe height=0 width=0 src="" id="mainpositionframe"></iframe>
<iframe height=0 width=0 src="" id="positionframe"></iframe>
<iframe height=0 width=0 src="" id="capitalframe"></iframe>
<iframe height=0 width=0 src="" id="cityframe"></iframe>
<iframe height=0 width=0 src="" id="professionframe"></iframe>
<table width="100%" align="center" border="0" cellpadding="2" cellspacing="1" class="tableBorder">
<tr>
<th height=25 colspan="2" class="tableHeaderText">添加职位</th>
</tr>
<form action="hire_save.asp" method="POST" name="form2" onSubmit="return Juge(this)">
<TBODY>
<TR bgcolor="#E6E6E6">
<TD height=28 colSpan=2 align=left><FONT color=#333333>(注:带</FONT><FONT color=#ff6600>*</FONT><FONT color=#b00000><FONT color=#333333>号为必填项)</FONT></FONT> </TD>
</TR>
<tr bgcolor="#E6E6E6">
<td height="22" colspan="2">
<table border="0" width="100%" align="center">
<tr>
<td width="20%" align="right">会员帐号:</td>
<td width="80%"><input name=login id="login" size=20 maxlength=20>
<FONT color=#ff6600>*</FONT> (为字母或数字,4-20个字符) </td>
</tr>
</table> </td>
</tr>
<tr bgcolor="#E6E6E6">
<TD height=30><FONT
color=#ff6600>*</FONT>招聘职位:</TD>
<TD><FONT color=#000000>
<input name="place" type="text" id="place" size="30" maxlength="50">
</FONT></TD>
</tr>
<TR bgcolor="#E6E6E6">
<TD height=30> 招聘部门:</TD>
<TD><input name="dept" type="text" id="dept" maxlength="10"> </TD>
</TR>
<tr bgcolor="#E6E6E6">
<TD height=30><FONT
color=#ff6600>*</FONT>招聘类别:</TD>
<TD><FONT color=#000000>
<INPUT type=radio class="checkbox" value=1 name=type checked>
全职
<INPUT name=type type=radio class="checkbox" value=2 >
兼职
<input name=type type=radio class="checkbox" value=3 >
全职、兼职均可</FONT></TD>
</tr>
<TR bgcolor="#E6E6E6">
<TD height=30 align=left><FONT color=#ff6600>*</FONT>所属行业: </TD>
<TD align=left> <select name=trade id="select">
<option value=""></option>
<%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select trade_id,trade_name from job_trade"
rs.open sql,conn,1,1
do while not rs.eof
response.write"<OPTION value="&rs("trade_id")&">"&rs("trade_name")&"</option>"
rs.movenext
loop
rs.close
%>
</SELECT> </TD>
</TR>
<TR bgcolor="#E6E6E6">
<TD height=30 colSpan=2><FONT
color=#ff6600>*</FONT>招聘岗位:<FONT
color=#ff6600>(为了能让职位充分曝露,请认真选择职位岗位类别,建议多选几项相关的岗位类别。)</FONT></TD>
</TR>
<TR bgcolor="#E6E6E6">
<TD colSpan=2><FONT color=#ff6600>*</FONT><FONT
color=#0456dd>选中的工作岗位必须添加到右边的列表框中。</FONT> <FONT color=#000000>
</FONT></TD>
</TR>
<TR bgcolor="#efefef">
<TD height=30 colSpan=2> <TABLE cellSpacing=0 cellPadding=0 width="95%"
align=right border=0>
<TBODY>
<TR>
<TD vAlign=top width=200 height=23> <TABLE cellSpacing=1 cellPadding=0 width="100%"
bgColor=#dbdbdb border=0>
<TBODY>
<TR>
<TD height="171" bgColor=#f7f7f7> <TABLE cellSpacing=0 cellPadding=0 width="100%" height="165" border=0>
<TBODY>
<TR>
<TD height=20 align=middle class="title"><FONT
color=#ffffff>请选择岗位类别</FONT></TD>
</TR>
<TR>
<TD bgColor=#8a7b60 height=1></TD>
</TR>
<TR>
<TD align=middle height=144><select name="mainposition" size="1" id="mainposition" style="FONT-SIZE: 12px; WIDTH: 180px; FONT-FAMILY: 宋体" onChange=GetPosition(this.options[this.selectedIndex].value)>
<option value="" selected>岗位大类</option>
<%
sql="select position_id,position_name from job_position where position_fid=0 order by position_id"
rs.open sql,conn,1,1
do while not rs.eof
response.write"<OPTION value="&rs("position_id")&">"&rs("position_name")&"</option>"
rs.movenext
loop
rs.close
%>
</select> <BR> <BR> <span id="load300"></span><span id="cposition">
<select name=subposition size="5" multiple id="subposition" style="FONT-SIZE: 12px; WIDTH: 180px; FONT-FAMILY: 宋体">
<option value="">岗位小类</option>
</select>
</span> </TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD width=48> <P align="center" style="MARGIN-RIGHT: 8px"><input name="Submit" type="button" class="inputs" onClick="JavaScript:AddItem('subposition', 'tempposition','','mainposition')" value="添加>>">
<BR>
<BR>
<input name="Submit2" type="button" class="inputs" onClick="JavaScript:DelItem('tempposition')" value="<<删除">
</P></TD>
<TD vAlign=top align=middle width=230> <TABLE cellSpacing=1 cellPadding=0 width="100%"
align=center bgColor=#dbdbdb border=0>
<TBODY>
<TR>
<TD bgColor=#f7f7f7> <TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD height=20 align=middle class="title"><FONT
color=#ffffff>您已经选择的工作岗位(最多三个)</FONT> </TD>
</TR>
<TR>
<TD bgColor=#8a7b60 height=1></TD>
</TR>
<TR>
<TD><SELECT name=tempposition size=7 multiple id="tempposition" style="WIDTH: 230px; height:150px" >
</SELECT> </TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD colSpan=3 height=12><FONT color=#000000>
<input name="position" type="hidden" id="position">
</FONT></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR bgcolor="#E6E6E6">
<TD height=30 colSpan=2><FONT
color=#ff6600>*</FONT>工作地区:<FONT
color=#ff6600>(选中的工作地区必须添加到右边的列表框中。)</FONT></TD>
</TR>
<TR bgcolor="#efefef">
<TD height=30 colSpan=2> <TABLE cellSpacing=0 cellPadding=0 width="95%"
align=right border=0>
<TBODY>
<TR>
<TD vAlign=top width=200 height=23> <TABLE cellSpacing=1 cellPadding=0 width="100%"
bgColor=#dbdbdb border=0>
<TBODY>
<TR>
<TD height="168" bgColor=#f7f7f7> <TABLE cellSpacing=0 cellPadding=0 width="100%" height=150 border=0>
<TBODY>
<TR>
<TD height=20 align=middle class="title"><FONT
color=#ffffff>请选择工作地区</FONT></TD>
</TR>
<TR>
<TD bgColor=#8a7b60 height=1></TD>
</TR>
<TR>
<TD align=middle height=80><select name="province" size="1" id="select3" style="FONT-SIZE: 12px; WIDTH: 180px; FONT-FAMILY: 宋体" onChange=GetCapital(this.options[this.selectedIndex].value)>
<option value="" selected>省份</option>
<%
sql="select id,province_city from job_provinceandcity where fid=0 order by id"
rs.open sql,conn,1,1
do while not rs.eof
response.write"<OPTION value="&rs("id")&">"&rs("province_city")&"</option>"
rs.movenext
loop
rs.close
%>
</select> <BR> <BR> <span id="load100"></span>
<span id="ccapital">
<select name=capital style="FONT-SIZE: 12px; WIDTH: 180px; FONT-FAMILY: 宋体" onchange=GetCity(this.options[this.selectedIndex].value)>
<option value="" selected>地级市</option>
</select>
</span><BR> <BR> <span id="load200"></span>
<span id="ccity">
<select name=city size="5" multiple style="FONT-SIZE: 12px; WIDTH: 180px; FONT-FAMILY: 宋体">
<option value="">县级地区</option>
</select>
</span> </TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD width=48> <P style="MARGIN-RIGHT: 8px"><input name="Submit3" type="button" class="inputs" onClick="JavaScript:AddItem('city', 'tempworkadd','province','capital')" value="添加>>">
<BR>
<BR>
<input name="Submit4" type="button" class="inputs" onClick="JavaScript:DelItem('tempworkadd')" value="<<删除">
</P></TD>
<TD vAlign=top align=middle width=230> <TABLE cellSpacing=1 cellPadding=0 width="100%"
align=center bgColor=#dbdbdb border=0>
<TBODY>
<TR>
<TD bgColor=#f7f7f7> <TABLE cellSpacing=0 cellPadding=0 width="100%"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -