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

📄 per_jobwill.asp

📁 直接附加数据库! 修改 Include/ Class_Main.asp 为自己信息 后台admin admin 绍兴人才网程序
💻 ASP
📖 第 1 页 / 共 2 页
字号:
                                        </tr>
                                      </table></td>
                                    <td><SELECT  name=slt_selectedplaces size=3 multiple   id=select8 style="width:200px">
                                        <% 
If Tmp(8,0)<>"" Then Response.write "<option value="&Tmp(8,0)&" selected>"&Tmp(8,0)&"</option>"
If Tmp(9,0)<>"" Then Response.write "<option value="&Tmp(9,0)&" selected>"&Tmp(9,0)&"</option>"
If Tmp(10,0)<>"" Then Response.write "<option value="&Tmp(10,0)&" selected>"&Tmp(10,0)&"</option>"

 %>
                                      </SELECT></td>
                                  </tr>
                                </table></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 薪金待遇:</td>
                              <td height="25" bgcolor="f9f9f9"> <input name="deal" type="text" size="20" maxlength="20"  style="width:100px" value="<%= Tmp(11,0) %>">
                                元/月 
                                <input name="interview" type="checkbox" id="interview" value="1"  <% If Tmp(12,0) = True Then Response.write "Checked" %>>
                                可面议 
                                <input name="providehouse" type="checkbox" id="providehouse" value="1"  <% If Tmp(13,0) = 1 Then Response.write "Checked" %>>
                                要求提供住房 </td>
                            </tr>
                            <tr> 
                              <td height="25" align="right"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 到岗时间:</td>
                              <td height="25"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr> 
                                    <td height="25"> <input type="radio" name="post" value="0" <% If Tmp(14,0) = 0 Then Response.write "Checked" %>>
                                      随时到岗</td>
                                  </tr>
                                  <tr> 
                                    <td height="25"> <input type="radio" name="post" value="1" <% If Tmp(14,0) = 1 Then Response.write "Checked" %>> 
                                      <select name="posts" id="posts">
                                        <option  value="10" <% If Tmp(15,0) = 10 Then Response.write "Selected" %>>三天内</option>
                                        <option  value="20" <% If Tmp(15,0) = 20 Then Response.write "Selected" %>>一周内</option>
                                        <option  value="30" <% If Tmp(15,0) = 30 Then Response.write "Selected" %>>两周内</option>
                                        <option  value="40" <% If Tmp(15,0) = 40 Then Response.write "Selected" %>>三周内</option>
                                        <option  value="50" <% If Tmp(15,0) = 50 Then Response.write "Selected" %>>一个月内</option>
                                        <option  value="60" <% If Tmp(15,0) = 60 Then Response.write "Selected" %>>三个月内</option>
                                        <option  value="70" <% If Tmp(15,0) = 70 Then Response.write "Selected" %>>半年内</option>
                                        <option  value="80" <% If Tmp(15,0) = 80 Then Response.write "Selected" %>>一年内</option>
                                      </select> </td>
                                  </tr>
                                </table></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 发展方向:</td>
                              <td height="25" bgcolor="f9f9f9">(阐明您的意向求职岗位,更重要的是强调如何发挥您的才能,而不是期望从中得到的待遇,500字以内)</td>
                            </tr>
                            <tr> 
                              <td height="25" align="right">&nbsp;</td>
                              <td height="25"><textarea name="develop" cols="50" rows="6" id="develop"><%= Develop %></textarea></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right" bgcolor="f9f9f9">其他要求:</td>
                              <td height="25" bgcolor="f9f9f9">(例如:福利要求、培训机会...等信息)</td>
                            </tr>
                            <tr> 
                              <td height="25" align="right">&nbsp;</td>
                              <td height="25"><textarea name="other" cols="50" rows="6" id="textarea2"><%= Other %></textarea></td>
                            </tr>
                          </table>
                          <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                              <td><hr size="1" color="#CCCCCC"></td>
                            </tr>
                          </table>
                          <table width="99%" border="0" cellspacing="1" cellpadding="0">
                            <tr bgcolor="f9f9f9"> 
                              <td width="18%" height="25" align="right"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 求职信:</td>
                              <td height="25">(输入在求职时发生给企业的自我介绍性文字...)</td>
                            </tr>
                            <tr>
                              <td width="18%" height="25" align="right">&nbsp;</td>
                              <td height="25"><textarea name="jobcontent" cols="50" rows="6" id="jobcontent"><%= JobContent %></textarea></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="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 name="perid" type="hidden" id="perid" value="<%= Perid %>"> 
                    <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()
 Call Check_url()    '防止外部站点提交数据
 '//提交数据
 Perid                = Session("Person")(2)
 'Response.write Request.Form("slt_selectedjobs")
 'Response.End()
 WorkWillClass        = Split(Replace_Text(Request.Form("slt_selectedjobs")),",")
 
 WorkWill1            = Replace_Text(Request.Form("WorkWill1"))
 WorkWill2            = Replace_Text(Request.Form("WorkWill2"))
 WorkWill3            = Replace_Text(Request.Form("WorkWill3"))
 
 AreaWill             = Split(Replace_Text(Request.Form("slt_selectedplaces")),",")
 
 Deal                 = Replace_Text(Request.Form("Deal"))
 Interview            = Replace_Text(Request.Form("Interview"))
 Providehouse         = Replace_Text(Request.Form("Providehouse"))
 Post                 = Replace_Text(Request.Form("Post"))
 Posts                = Replace_Text(Request.Form("Posts"))
 Develop              = Replace_Text(Request.Form("Develop"))
 Other                = Replace_Text(Request.Form("Other"))
 PerType              = Replace_Text(Request.Form("PerType"))
 JobContent           = Replace_Text(Request.Form("JobContent"))
 For i = 0 to Ubound(WorkWillClass)
  WorkWillClass(i) = Trim(WorkWillClass(i))
 Next
 
 For i = 0 to Ubound(AreaWill)
  AreaWill(i) = Replace(AreaWill(i),"-","")
  AreaWill(i) = Trim(AreaWill(i))
 Next
 
 If Interview = "" Then Interview = 0
 If Providehouse = "" Then Providehouse = 0 
 If Develop<>"" Then Develop = Replace(Develop,Chr(13),"<br>")
 If Other<>"" Then Other = Replace(Other,Chr(13),"<br>")
 If JobContent<>"" Then JobContent = Replace(JobContent,Chr(13),"<br>")
 
 SQL = "Update [pH_Person_Info] Set WorkWill1='"&WorkWill1&"',WorkWill2='"&WorkWill2&"',WorkWill3='"&WorkWill3&"',Deal="&Deal&",Interview="&Interview&",Providehouse="&Providehouse&",Post="&Post&",Posts="&Posts&",Develop='"&Develop&"',Other='"&Other&"',JobContent='"&JobContent&"',PerType="&PerType&" Where Perid='"&Perid&"'"
 Conn.Execute(SQL)
 '//的工作岗位
 Select Case Ubound(WorkWillClass)
  Case 0
   Conn.Execute("Update [pH_Person_Info] Set WorkWillClass1='"&WorkWillClass(0)&"',WorkWillClass2=Null,WorkWillClass3=Null Where Perid='"&Perid&"'")
  Case 1
   Conn.Execute("Update [pH_Person_Info] Set WorkWillClass1='"&WorkWillClass(0)&"',WorkWillClass2='"&WorkWillClass(1)&"',WorkWillClass3=Null Where Perid='"&Perid&"'")
  Case 2
   Conn.Execute("Update [pH_Person_Info] Set WorkWillClass1='"&WorkWillClass(0)&"',WorkWillClass2='"&WorkWillClass(1)&"',WorkWillClass3='"&WorkWillClass(2)&"' Where Perid='"&Perid&"'")
 End Select
 
 '//的工作地区
 Select Case Ubound(AreaWill)
  Case 0
   Conn.Execute("Update [pH_Person_Info] Set AreaWill1='"&AreaWill(0)&"',AreaWill2=Null,AreaWill3=Null Where Perid='"&Perid&"'")  
   Case 1
   Conn.Execute("Update [pH_Person_Info] Set AreaWill1='"&AreaWill(0)&"',AreaWill2='"&AreaWill(1)&"',AreaWill3=Null Where Perid='"&Perid&"'")
  Case 2
   Conn.Execute("Update [pH_Person_Info] Set AreaWill1='"&AreaWill(0)&"',AreaWill2='"&AreaWill(1)&"',AreaWill3='"&AreaWill(2)&"' Where Perid='"&Perid&"'")
 End Select

 '//更改最后修改时间
 SQL = "Update [pH_Person_Base] Set LastUpdate_Time='"&Now()&"' Where Perid='"&Perid&"'"
 Conn.Execute(SQL)
 
 CloseDB
 Response.redirect "Per_JobWill.asp"
End Sub


 %>

⌨️ 快捷键说明

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