📄 per_searcher_edit.asp
字号:
color=#333333>已经选择的工作地点</FONT></td>
</tr>
<tr>
<td><select style="width:180px" name=slt_workplacearea>
</select> <select name=slt_workplacecity size="1" style="width:180px">
</select></td>
<td><table width="98%" border="0" cellspacing="0" class="text01">
<tr>
<td height="25" align="center"><input type="button" name="Submit22" value="添加>>" onclick="AddItemToList('slt_workplacearea','slt_workplacecity','slt_selectedplaces',1, 2, '-')"></td>
</tr>
<tr>
<td height="25" align="center"><input type="button" name="Submit32" value="<<移除" onclick="DeleteListSelectedItem('slt_selectedplaces', 0)"></td>
</tr>
</table></td>
<td><SELECT name=slt_selectedplaces size=3 multiple id=select8 style="width:200px">
<option value="<%= Area&"-"&City %>" selected><%= Area&City %></option>
</SELECT></td>
</tr>
</table></td>
</tr>
<tr>
<td width="18%" height="25" align="right" bgcolor="f9f9f9">职位更新日期:</td>
<td height="25" bgcolor="f9f9f9"> <select style="width:180px;" 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="18%" 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="18%" 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="18%" 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="18%" 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>
<tr>
<td height="25" align="right">现所在地:</td>
<td height="25">
<!--#include file="../Include/Class_Locus4.asp" -->
</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 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>
<input name="param" type="hidden" id="param" value="<%= Param %>"></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()
Perid = Session("Person")(2)
UserName = Session("Person")(0)
Param = Replace_Text(Request.Form("Param"))
Searcher_Name = Replace_Text(Request.Form("Name"))
JobClass = Replace_Text(Request.Form("slt_selectedjobs"))
Work = 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"))
Locus_Area = Replace_Text(Request.Form("x_suozaidi"))
Locus_City = Replace_Text(Request.Form("x_suozaidi1"))
Work = Split(Work,"-")
'//更新数据
SQL = "Update [pH_Person_Searcher] Set Searcher_Name='"&Searcher_Name&"',WorkWillClass='"&JobClass&"',Area='"&Work(0)&"',City='"&Work(1)&"',PublishDate="&PublishDate&",Edus="&Edus&",Works="&Works&",Sex="&Sex&",MinAge="&MinAge&",MaxAge="&MaxAge&",Locus_Area='"&Locus_Area&"',Locus_City='"&Locus_City&"' Where Perid='"&Perid&"' And Ncid="&Cstr(Param)
Conn.Execute(SQL)
Response.Redirect "Per_Searcher.asp"
End Sub
'//关闭数据库连接
CloseDB
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -