📄 com_publish.asp
字号:
;</td>
</tr>
<tr>
<td height="25" align="right"> </td>
<td height="25"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="80" height="25" align="right">学
历:</td>
<td height="25"> <select name="edus" id="edus" style="width:70px;">
<option value="0" selected>-不限-</option>
<option value="10">小学</option>
<option value="20">初中</option>
<option value="30">高中</option>
<option value="40">中专</option>
<option value="50">专科</option>
<option value="60">本科</option>
<option value="70">硕士</option>
<option value="80">博士</option>
<option value="90">博士后</option>
</select> </td>
</tr>
<tr>
<td width="80" height="25" align="right">工作年限:</td>
<td height="25"> <select name="works" id="works" style="width:70px;">
<option value="0">-不限-</option>
<option value="1">一年以上</option>
<option value="2">二年以上</option>
<option value="3">三年以上</option>
<option value="4">四年以上</option>
<option value="5">五年以上</option>
<option value="10">十年以上</option>
<option value="20">二十年以上</option>
<option value="30">三十年以上</option>
<option value="50">退休人员</option>
</select>
</td>
</tr>
<tr>
<td width="80" height="25" align="right">性
别:</td>
<td height="25"><select name="sex" size="1" style="width:70px;">
<option selected value="2">-不限-</option>
<option value="1">男</option>
<option value="0">女</option>
</select></td>
</tr>
<tr>
<td width="80" height="25" align="right">年
龄:</td>
<td height="25"> <select name="min_age" size="1" id="min_age" style="width:70px;">
<option selected value="0">-不限-</option>
<%
For i=18 to 60
Response.write "<option value="&i&">"&i&"</option>"
Next
%>
</select>
至
<select name="max_age" size="1" id="max_age" style="width:70px;">
<option selected value="0">-不限-</option>
<%
For i=18 to 60
Response.write "<option value="&i&">"&i&"</option>"
Next
%>
</select></td>
</tr>
<tr>
<td width="80" height="25" align="right">现所在地:</td>
<td height="25">
<!--#include file="../Include/Class_Locus3.asp" -->
</td>
</tr>
</table></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="2"></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
<tr>
<td height="25" bgcolor="f5f5f5"><b><font color="#000000"> 联系方式</font></b></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="18%" height="25" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 联系人:</td>
<td height="25"><input name="contactperson" type="text" size="30" maxlength="30" style="width:120px;" value="<%= Tmp(1,0) %>">
<font color="#50463d">请输入正确联系人,以方便求职者与贵公司联系</font></td>
</tr>
<tr>
<td width="18%" height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 联系电话:</td>
<td height="25" bgcolor="f9f9f9"><input name="phone" type="text" id="phone" style="width:120px;" size="30" maxlength="30" value="<%= Tmp(2,0) %>">
<font color="#50463d">( </font> <font color="#50463d">固定电话号码,如:010-82615888
) </font></td>
</tr>
<tr>
<td height="25" align="right">传真号码:</td>
<td height="25"><input name="companyfax" type="text" id="companyfax" style="width:120px;" size="30" maxlength="30" value="<%= Tmp(4,0) %>"></td>
</tr>
<tr>
<td height="25" align="right" bgcolor="f9f9f9"> </td>
<td height="25" bgcolor="f9f9f9"><input name="phonekeep" type="checkbox" value="1" <% If PhoneKeep = True Then Response.write "Checked" %>>
<font color="#333333">屏蔽电话</font><font color="#50463d">(
选择此项,将向求职者隐藏企业联系电话 )</font></td>
</tr>
<tr>
<td height="25" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 电子邮件:</td>
<td height="25"> <input name="email" type="text" style="width:200px;" value="<%= Tmp(5,0) %>" size="50"></td>
</tr>
<tr>
<td height="25" align="right" bgcolor="f9f9f9"> </td>
<td height="25" bgcolor="f9f9f9"> <input name="emailkeep" type="checkbox" value="1" <% If EmailKeep = True Then Response.write "Checked" %>>
不公开邮件地址</td>
</tr>
<tr>
<td height="25" align="right"><strong><font
color=#ff6600>*</font></strong> 邮政编码:</td>
<td height="25"><input name="zipcode" type="text" size="6" maxlength="6" style="width:120px;" value="<%= Tmp(8,0) %>"></td>
</tr>
<tr bgcolor="f9f9f9">
<td height="25" align="right">面试地址:</td>
<td height="25"> <input name="chat_addr" type="text" id="chat_addr" style="width:260px;" size="100"></td>
</tr>
<tr>
<td height="25" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 通讯地址:</td>
<td height="25"><input name="address" type="text" size="100" style="width:260px;" value="<%= Tmp(7,0) %>">
如:北京市海淀区成府路××号 </td>
</tr>
<tr bgcolor="f9f9f9">
<td height="25" align="right"> </td>
<td height="25"> <input name="alledit" type="checkbox" id="alledit" value="1">
更新所有信息中的联系方式</td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="2"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="40" align="center"><SCRIPT language=JavaScript>
var objJobCPSelector, objJobCCSelector, objAreaSelector, objCitySelector
objAreaSelector = new PlaceAssociateList(document.theForm.slt_workplacearea, null, document.theForm.slt_workplacecity, ALOptions);
objAreaSelector.init();
objCitySelector = new PlaceAssociateList(document.theForm.slt_workplacecity, document.theForm.slt_workplacearea, null, CLOptions);
objCitySelector.incPValue = true;
objCitySelector.incPValueFormat = "%PText%-不限"
objCitySelector.init();
objJobCPSelector = new JobCategoryAssociateList(document.theForm.slt_category, null, document.theForm.slt_subcategory, PCLOptions);
objJobCPSelector.init();
objJobCCSelector = new JobCategoryAssociateList(document.theForm.slt_subcategory, document.theForm.slt_category, null, CCLOptions);
objJobCCSelector.incPValue = true;
objJobCCSelector.incPValueFormat = "%PText%-不限"
objJobCCSelector.init();
</SCRIPT> <input type="submit" name="Submit" value=" 确 认 发 布 " style="height:35px;">
</td>
</tr>
</form>
</table></td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1" bgcolor="#eeeeee"></td>
</tr>
</table>
<!--#include file="../Include/Footer.asp" -->
</td>
</tr>
</table>
</body>
</html>
<%
Sub Submit() '保存企业基本数据
Check_Url() '//跨站提交数据检测
Comid = Session("Company")(2)
JobType = Replace_Text(Request.Form("JobType"))
JobClass = Replace_Text(Request.Form("slt_selectedjobs"))
JobName = Replace_Text(Request.Form("JobName"))
Deal = Replace_Text(Request.Form("Deal"))
Number1 = Replace_Text(Request.Form("Number"))
Require = Replace_Text(Request.Form("Require"))
Chat_Addr = Replace_Text(Request.Form("Chat_Addr"))
Edus = Replace_Text(Request.Form("Edus"))
Sex = Replace_Text(Request.Form("Sex"))
Works = Replace_Text(Request.Form("Works"))
Area = Replace_Text(Request.Form("x_Suozaidi"))
City = Replace_Text(Request.Form("x_Suozaidi1"))
Min_Age = Replace_Text(Request.Form("Min_Age"))
Max_Age = Replace_Text(Request.Form("Max_Age"))
DeptId = Replace_Text(Request.Form("DeptId"))
BestFlag = Replace_Text(Request.Form("BestFlag"))
End_Year = Replace_Text(Request.Form("End_Year"))
End_Month = Replace_Text(Request.Form("End_Month"))
End_Day = Replace_Text(Request.Form("End_Day"))
ContactPerson = Replace_Text(Request.Form("ContactPerson"))
Phone = Replace_Text(Request.Form("Phone"))
CompanyFax = Replace_Text(Request.Form("CompanyFax"))
PhoneKeep = Replace_Text(Request.Form("PhoneKeep"))
Email = Replace_Text(Request.Form("Email"))
EmailKeep = Replace_Text(Request.Form("EmailKeep"))
Address = Replace_Text(Request.Form("Address"))
ZipCode = Replace_Text(Request.Form("ZipCode"))
AllEdit = Replace_Text(Request.Form("AllEdit"))
Work = Replace_Text(Request.Form("slt_selectedplaces")) '//工作地区
Work = Split(Work,"-")
Work_Area = Trim(Work(0))
Work_City = Trim(Work(1))
If BestFlag = "" Then BestFlag = 0
If PhoneKeep = "" Then PhoneKeep = 0
If EmailKeep = "" Then EmailKeep = 0
If Require <> "" Then Require = Replace(Require,Chr(13),"<br>")
'//将没有发布急聘职位的权限是急聘参数重置
If Session("Nc_Vip") = 0 or Session("Nc_Vip") = 2 Then
BestFlag = 0
End if
'//截止日期
End_Date = End_Year&"-"&End_Month&"-"&End_Day
SQL = "Insert Into [pH_Job_Base] (Comid,JobType,JobClass,JobName,Deal,Number,Work_Area,Work_City,Require,Chat_Addr,Edus,Sex,Works,LastUpdate_Time,ViewClicks,SendClicks,JobFlag,Area,City,Min_Age,Max_Age,TopAll,DeptId,BestFlag,End_Date,ContactPerson,Phone,CompanyFax,PhoneKeep,Email,EmailKeep,Address,ZipCode) Values ('"&Comid&"',"&JobType&",'"&JobClass&"','"&JobName&"',"&Deal&","&Number1&",'"&Work_Area&"','"&Work_City&"','"&Require&"','"&Chat_Addr&"',"&Edus&","&Sex&","&Works&",'"&Now()&"',0,0,1,'"&Area&"','"&City&"',"&Min_Age&","&Max_Age&",0,"&DeptId&","&BestFlag&",'"&End_Date&"','"&ContactPerson&"','"&Phone&"','"&CompanyFax&"',"&PhoneKeep&",'"&Email&"',"&EmailKeep&",'"&Address&"','"&ZipCode&"')"
Conn.Execute(SQL)
'//更新企业发布职位数
SQL = "UpDate [pH_Company_Base] Set PublishCount=PublishCount+1 Where Comid='"&Comid&"'"
Conn.Execute(SQL)
'//同步更新企业发布的所有职位的联系方式
If AllEdit = "1" Then
SQL = "UpDate [pH_Job_Base] Set ContactPerson='"&ContactPerson&"',Phone='"&Phone&"',CompanyFax='"&CompanyFax&"',PhoneKeep="&PhoneKeep&",Email='"&Email&"',EmailKeep="&EmailKeep&",Address='"&Address&"',ZipCode='"&ZipCode&"',Chat_Addr='"&Chat_Addr&"' Where Comid='"&Comid&"'"
Conn.Execute(SQL)
End if
'//关闭数据库连接
CloseDB
Response.redirect "Com_JobManage.asp"
End Sub
'//关闭数据库连接
CloseDB
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -