⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 web_job_update.asp

📁 直接附加数据库! 修改 Include/ Class_Main.asp 为自己信息 后台admin admin 绍兴人才网程序
💻 ASP
📖 第 1 页 / 共 3 页
字号:
                      </tr>
                    </table>
                    <TABLE cellSpacing=0 cellPadding=0 width=99% align=center 
            border=0>
                      <TBODY>
                        <TR> 
                          <TD class=font-14 height=3></TD>
                        </TR>
                        <TR> 
                          <TD class=font-14 bgColor=#ff7800 height=21> <FONT style="MARGIN-TOP: 2px; MARGIN-LEFT: 10px" color=#ffffff><strong>联系方式</strong></FONT></TD>
                        </TR>
                        <TR> 
                          <TD bgColor=#e2e2e2 height=2></TD>
                        </TR>
                      </TBODY>
                    </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="#fff7f0"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 联系电话:</td>
                        <td height="25" bgcolor="#fff7f0"><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="#fff7f0">&nbsp;</td>
                        <td height="25" bgcolor="#fff7f0"><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="#fff7f0">&nbsp;</td>
                        <td height="25" bgcolor="#fff7f0"> <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="#fff7f0"> 
                        <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="#fff7f0"> 
                        <td height="25" align="right">&nbsp;</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 name="jobid" type="hidden" id="jobid" value="<%= Jobid %>">
			  <input name="comid" type="hidden" id="comid" value="<%= Comid %>">
			   </td>
          </tr>
        </form>
      </table></td>
</tr>
</table>
</body>
</html>
<% 
Sub Submit()
 'Check_Url() '//跨站提交数据检测
 Comid                  = Replace_Text(Request.Form("comid"))
 Jobid                  = Replace_Text(Request.Form("jobid"))
 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

 '操作完成
 Response.write "<script language=JavaScript>alert('操作完成!');location.href='Web_Job_All.asp';</script>"
 Response.End()
End Sub

 %>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -