📄 com_jobedit.asp
字号:
</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(23,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(24,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(25,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(27,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="<%= Trim(Tmp(30,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" value="<%= Tmp(8,0) %>"></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(29,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;">
<input type="hidden" name="param" value="<%= Jobid %>"> </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>
</td>
</tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<!--#include file="../Include/Footer.asp" --></td>
</tr>
</table>
</body>
</html>
<%
Sub Submit() '保存企业基本数据
Check_Url() '//跨站提交数据检测
Comid = Session("Company")(2)
Jobid = Replace_Text(Request.Form("param"))
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 = "Update [pH_Job_Base] Set JobType="&JobType&",JobClass='"&JobClass&"',JobName='"&JobName&"',Deal="&Deal&",Number="&Number1&",Work_Area='"&Work_Area&"',Work_City='"&Work_City&"',Require='"&Require&"',Chat_Addr='"&Chat_Addr&"',Edus="&Edus&",Sex="&Sex&",Works="&Works&",LastUpdate_Time='"&Now()&"',Area='"&Area&"',City='"&City&"',Min_Age="&Min_Age&",Max_Age="&Max_Age&",DeptId="&DeptId&",BestFlag="&BestFlag&",End_Date='"&End_Date&"',ContactPerson='"&ContactPerson&"',Phone='"&Phone&"',CompanyFax='"&CompanyFax&"',PhoneKeep="&PhoneKeep&",Email='"&Email&"',EmailKeep="&EmailKeep&",Address='"&Address&"',ZipCode='"&ZipCode&"' Where Jobid="&Jobid&" And 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 + -