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

📄 com_searcher_edit.asp

📁 直接附加数据库! 修改 Include/ Class_Main.asp 为自己信息 后台admin admin 绍兴人才网程序
💻 ASP
📖 第 1 页 / 共 2 页
字号:
                                    <td><table width="98%" border="0" cellspacing="0" class="text01">
                                        <tr> 
                                          <td height="25" align="center"><input type="button" name="Submit22" value="添加&gt;&gt;" onclick="AddItemToList('slt_workplacearea','slt_workplacecity','slt_selectedplaces',1, 2, '-')"></td>
                                        </tr>
                                        <tr> 
                                          <td height="25" align="center"><input type="button" name="Submit32" value="&lt;&lt;移除" onclick="DeleteListSelectedItem('slt_selectedplaces', 0)"></td>
                                        </tr>
                                      </table></td>
                                    <td>
									<SELECT  name=slt_selectedplaces size=3 multiple   id=select8 style="width:200px">
                                      <option value="<%= AreaWill %>" selected><%= AreaWill %></option>
									  </SELECT></td>
                                  </tr>
                                </table></td>
                            </tr>
                            <tr> 
                              <td width="20%" height="25" align="right" bgcolor="f9f9f9">户口所在地:</td>
                              <td height="25" bgcolor="f9f9f9"><!--#include file="../Include/Class_Door4.asp" --></td>
                            </tr>
                            <tr> 
                              <td width="20%" height="25" align="right" bgcolor="f9f9f9">现所在地区:</td>
                              <td height="25" bgcolor="f9f9f9"><!--#include file="../Include/Class_Locus4.asp" --></td>
                            </tr>
                            <tr> 
                              <td width="20%" height="25" align="right" bgcolor="f9f9f9">简历更新:</td>
                              <td height="25" bgcolor="f9f9f9"> <select style="width:70px;"  name=publishdate>
                                  <option value=0 <% If PublishDate = 0 Then Response.write "Selected" %>>更新日期不限</option>
                                  <option value=1 <% If PublishDate = 1 Then Response.write "Selected" %>>近一天</option>
                                  <option value=2 <% If PublishDate = 2 Then Response.write "Selected" %>>近二天</option>
                                  <option value=3 <% If PublishDate = 3 Then Response.write "Selected" %>>近三天</option>
                                  <option value=7 <% If PublishDate = 7 Then Response.write "Selected" %>>近一周</option>
                                  <option value=14 <% If PublishDate = 14 Then Response.write "Selected" %>>近两周</option>
                                  <option value=30 <% If PublishDate = 30 Then Response.write "Selected" %>>近一月</option>
                                  <option value=60 <% If PublishDate = 60 Then Response.write "Selected" %>>近两月</option>
                                  <option value=90 <% If PublishDate = 90 Then Response.write "Selected" %>>近三月</option>
                                </select></td>
                            </tr>
                            <tr> 
                              <td width="20%" height="25" align="right">学 历:</td>
                              <td height="25"> <select name="edus" id="edus" style="width:70px;">
                                  <option value="0" <% If Edus = 0 Then Response.write "Selected" %>>-不限-</option>
                                  <option value="10" <% If Edus = 10 Then Response.write "Selected" %>>小学</option>
                                  <option value="20" <% If Edus = 20 Then Response.write "Selected" %>>初中</option>
                                  <option value="30" <% If Edus = 30 Then Response.write "Selected" %>>高中</option>
                                  <option value="40" <% If Edus = 40 Then Response.write "Selected" %>>中专</option>
                                  <option value="50" <% If Edus = 50 Then Response.write "Selected" %>>专科</option>
                                  <option value="60" <% If Edus = 60 Then Response.write "Selected" %>>本科</option>
                                  <option value="70" <% If Edus = 70 Then Response.write "Selected" %>>硕士</option>
                                  <option value="80" <% If Edus = 80 Then Response.write "Selected" %>>博士</option>
                                  <option value="90" <% If Edus = 90 Then Response.write "Selected" %>>博士后</option>
                                </select> </td>
                            </tr>
                            <tr> 
                              <td width="20%" height="25" align="right" bgcolor="f9f9f9">工作经验:</td>
                              <td height="25" bgcolor="f9f9f9"><select name="works" id="works" style="width:70px;">
                                  <option value="0" <% If Works = 0 Then Response.write "Selected" %>>-不限-</option>
                                  <option value="1" <% If Works = 1 Then Response.write "Selected" %>>一年以上</option>
                                  <option value="2" <% If Works = 2 Then Response.write "Selected" %>>二年以上</option>
                                  <option value="3" <% If Works = 3 Then Response.write "Selected" %>>三年以上</option>
                                  <option value="4" <% If Works = 4 Then Response.write "Selected" %>>四年以上</option>
                                  <option value="5" <% If Works = 5 Then Response.write "Selected" %>>五年以上</option>
                                  <option value="10" <% If Works = 10 Then Response.write "Selected" %>>十年以上</option>
                                  <option value="20" <% If Works = 20 Then Response.write "Selected" %>>二十年以上</option>
                                  <option value="30" <% If Works = 30 Then Response.write "Selected" %>>三十年以上</option>
                                  <option value="50" <% If Works = 50 Then Response.write "Selected" %>>退休人员</option>
                                </select></td>
                            </tr>
                            <tr> 
                              <td width="20%" height="25" align="right">性 别:</td>
                              <td height="25"><select name="sex" size="1"  style="width:70px;">
                                  <option value="2" <% If Sex = 2 Then Response.write "Selected" %>>-不限-</option>
                                  <option value="1" <% If Sex = 1 Then Response.write "Selected" %>>男</option>
                                  <option value="0" <% If Sex = 0 Then Response.write "Selected" %>>女</option>
                                </select></td>
                            </tr>
                            <tr> 
                              <td width="20%" height="25" align="right" bgcolor="f9f9f9">年 
                                龄:</td>
                              <td height="25" bgcolor="f9f9f9"><select name="min_age" size="1" id="min_age"  style="width:70px;">
                                  <option selected value="0">-不限-</option>
                                  <% 
								  For i=18 to 60%>
								   <option value="<%=i%>" <% If i = MinAge Then Response.write "Selected" %>><%=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%>
								   <option value="<%=i%>" <% If i = MaxAge Then Response.write "Selected" %>><%=i%></option>
								  <% 
								  Next 
								   %>
                                </select></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"><input name="ncid" type="hidden" id="ncid" value="<%= Param %>">
                    <input type="submit" name="Submit" value="保存搜索器" style="height:30px;" >
                    <SCRIPT language=JavaScript>
  var objJobCPSelector, objJobCCSelector, objAreaSelector, objCitySelector

  objAreaSelector = new PlaceAssociateList(document.theForm.slt_workplacearea, null, document.theForm.slt_workplacecity, ALOptions);
  objAreaSelector.addedOptions   = new Array("不限-|工作地区不限");
  objAreaSelector.init();
  objCitySelector = new PlaceAssociateList(document.theForm.slt_workplacecity, document.theForm.slt_workplacearea, null, CLOptions);
  objCitySelector.incPValue = true;
  objCitySelector.incPValueFormat = "%PText%-不限"
  objCitySelector.addedOptions   = new Array("不限-不限|不限");
  objCitySelector.init();
  
  objJobCPSelector = new JobCategoryAssociateList(document.theForm.slt_category, null, document.theForm.slt_subcategory, PCLOptions);
  objJobCPSelector.addedOptions   = new Array("0-|职位类别不限");
  objJobCPSelector.init();
  objJobCCSelector = new JobCategoryAssociateList(document.theForm.slt_subcategory, document.theForm.slt_category, null, CCLOptions);
  objJobCCSelector.incPValue = true;
  objJobCCSelector.incPValueFormat = "%PText%-不限"
  objJobCCSelector.addedOptions   = new Array("0-0|不限");
  objJobCCSelector.init();  
                    </SCRIPT> </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 Edit_Submit() '保存企业搜索器数据
 Check_Url() '//跨站提交数据检测
 Username        = Session("Company")(0)
 Comid           = Session("Company")(2)
 
 Ncid            = Replace_Text(Request.Form("ncid")) 
 Searcher_Name   = Replace_Text(Request.Form("Name")) '搜索器名称
 Skill           = Replace_Text(Request.Form("Skill")) '技能关键字
 WorkWillClass   = Replace_Text(Request.Form("slt_selectedjobs")) '意向职位类别
 AreaWill        = Replace_Text(Request.Form("slt_selectedplaces")) '意向工作地区
 PublishDate     = Replace_Text(Request.Form("PublishDate"))
 Edus            = Replace_Text(Request.Form("Edus"))
 Works           = Replace_Text(Request.Form("Works"))
 Sex             = Replace_Text(Request.Form("Sex"))
 MinAge          = Replace_Text(Request.Form("Min_Age"))
 MaxAge          = Replace_Text(Request.Form("Max_Age"))
 Door_Area       = Replace_Text(Request.Form("door"))
 Door_City       = Replace_Text(Request.Form("door1")) 
 Locus_Area      = Replace_Text(Request.Form("x_suozaidi"))
 Locus_City      = Replace_Text(Request.Form("x_suozaidi1"))

 AreaWill        = Replace(AreaWill,"-","")
 
 '//将数据保存到数据库
 SQL = "Update [pH_Company_Searcher] Set Searcher_Name='"&Searcher_Name&"',Skill_Key='"&Skill&"',PublishDate="&PublishDate&",AreaWill='"&AreaWill&"',Door_Area='"&Door_Area&"',Door_City='"&Door_City&"',Locus_Area='"&Locus_Area&"',Locus_City='"&Locus_City&"',Edus="&Edus&",Sex="&Sex&",MinAge="&MinAge&",MaxAge="&MaxAge&",Works="&Works&",WorkWillClass='"&WorkWillClass&"' Where Comid='"&Comid&"' And Ncid="&Cstr(Ncid)
 Conn.Execute(SQL)
 
 '//更新最后更新时间
 SQL = "Update [pH_Company_Base] Set LastUpdate_Time='"&Now()&"' Where Comid='"&Comid&"'"
 Conn.Execute(SQL)
 
 '//关闭数据库连接
 CloseDB
 
 Response.redirect "Com_Searcher.asp"
End Sub

'//关闭数据库连接
CloseDB
 %>

⌨️ 快捷键说明

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