<!-- #include file="Conn.asp" -->
<!--#include file="Comm/Site_Class.asp" -->
<!--#include file="Comm/Function.asp" -->
<%
If Request.Form <> "" Then
	Response.Redirect("Person_Index.asp?Position_b="& Request.Form("Position_b") & "&Position_s=" & Request.Form("Position_s") & "&Qualification=" & Request.Form("Qualification") & "&Province=" & Request.Form("Province") & "&City=" & Request.Form("City") & "&County=" & Request.Form("County") & "&ValidityDate=" & Request.Form("ValidityDate") & "&keyword=" & Request.Form("keyword"))
	Response.End()
End If


Dim strMenu,PageTitle
strMenu = "高级人才简历"

Set Qsite = New Site_Class

Qsite.SiteConfig()
Qsite.GotoErrPage()

PageTitle = Qsite.SiteName & " - 高级人才简历"

Qsite.arrMember = Qsite.Member_Info()

Dim Rs,Sql,i,CurrentPage,FileName
Dim TodayDate,strDate,strIsLockId,tdcss
Set Rs = server.CreateObject("ADODB.recordset")

Dim Position_b,Position_s,Qualification,Province,City,County,ValidityDate,keyword

Position_b = Qsite.chgStr(Trim(Request.QueryString("Position_b")))
Position_s = Qsite.chgStr(Trim(Request.QueryString("Position_s")))
Qualification = Qsite.chgStr(Trim(Request.QueryString("Qualification")))
Province = Qsite.chgStr(Trim(Request.QueryString("Province")))
City = Qsite.chgStr(Trim(Request.QueryString("City")))
County = Qsite.chgStr(Trim(Request.QueryString("County")))
ValidityDate = Qsite.chgStr(Trim(Request.QueryString("ValidityDate")))
keyword = Qsite.chgStr(Trim(Request.QueryString("keyword")))

TodayDate = Qsite.FormatDate(Date())

Sql = " IsHidden = '0' and IsLock = '0' and IsGj = '1'"

If Qsite.arrMember(5 , Session("MemberType")) = "1" Then

	If Position_b <> "" Then
		Sql = Sql & " and Position_b = '"& Position_b &"' "
	End If
	If Position_s <> "" And Position_s <> "不限" Then
		Sql = Sql & " and (Position_s = '"& Position_s &"' or Position_s = '不限') "
	End If
	If Qualification <> "" And Qualification <> "不限" Then
		Sql = Sql & " and Qualification = '"& Qualification &"' "
	End If
	If Province <> "" Then
		Sql = Sql & " and Province = '"& Province &"' "
	End If
	If City <> "" Then
		Sql = Sql & " and City = '"& City &"' "
	End If
	If County <> "" And County <> "不限" Then
		Sql = Sql & " and (County = '"& County &"' or County = '不限') "
	End If
	If ValidityDate <> "" Then
		If Not IsNumeric(ValidityDate) Then ValidityDate = 0
		If ValidityDate > 0 Then
			strDate = Qsite.FormatDate(Now() - ValidityDate)
			Sql = Sql & " and EditDate > '"& strDate &"' "
		End If
	End If
	If keyword <> "" And keyword <> "请输入要查询的关键字" Then
		Sql = Sql & " and (JobPost like '%"& keyword &"%' or RealName like '%"& keyword &"%') "
	End If

End If

Sql = "select * from PersonTbl where "& Sql &" order by EditDate desc"

FileName = "Person_Index.asp?Position_b="& Position_b & "&Position_s=" & Position_s & "&Qualification=" & Qualification & "&Province=" & Province & "&City=" & City & "&County=" & County & "&ValidityDate=" & ValidityDate & "&keyword=" & keyword

If keyword = "" Then keyword = "请输入要查询的关键字"
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>高级人才列表 - 胶州人才网</title>
 <meta name="keywords" content="胶州人才网站,胶州招聘网站,胶州人力资源,胶州人才市场,胶州找工作,胶州兼职,胶州培训,胶州职业顾问,胶州职业规划,胶州人事代理">
 <meta name="description" content="胶州人才网是胶州地区内最具影响力的人才网站之一，为企业提供一站式的人才招聘服务，帮助个人求职者与企业搭建最佳互动平台，打造胶州地区权威求职招聘网站!！">
<!--#include file="top.asp" -->
<script language="javascript" src="Comm/Job_All.js"></script>
<script language="javascript" src="Comm/Job_Function.js"></script>
<script language="javascript" src="Comm/Area_All.js"></script>
<script language="javascript" src="Comm/Area_Function.js"></script>
<script language="javascript">
	function selAll()
	{
		var selobj = document.getElementsByName("ComId");
		for(var i = 0; i < selobj.length; i++)
		{
			selobj[i].checked = true;
		}
	}
	
	function removeAll()
	{
		var selobj = document.getElementsByName("ComId");
		for(var i = 0; i < selobj.length; i++)
		{
			selobj[i].checked = false;
		}
	}
	
	function onclicksel()
	{
		var chkobj = document.all("SelAllComId");
		if(chkobj.checked == true)
		{
			selAll();
		}
		else
		{
			removeAll();
		}
	}
	
	function GotoPage()
	{
		var Fn = ListForm.FileName.value;
		var Cp = ListForm.CurPage.value;
		location.href = Fn + "&page=" + Cp;
	}
</script><table width="974" height="36" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFF0D7"  style="border-bottom:4px #ffffff solid;">
      <tr><form id="SearchForm" name="SearchForm" method="post" action="Person_Index.asp" style="margin:0">
        <td width="974">&nbsp;<img src="../images/ico_so.gif" width="28" height="27" align="absbottom"><span style="font-size:14px;"><b>简历筛选</b></span> 
  <select name="Position_b" class="input_bk_D2D2D2" id="Position_b" style="width:130px;" onChange="SelectChange('Position_s' , document.all.Position_b.options[document.all.Position_b.selectedIndex].value , arrPosition_b , arrPosition_s);">
								<option value="">-选择工作职能-</option>
							</select>
							 	<select name="Position_s" class="input_bk_D2D2D2" id="Position_s" style="width:140px;">
							 		<option value="">-选择工作职位-</option>
								</select>
							 	<select name="Province" id="Province" style="width:60px;" onChange="SelChgCity('City' , document.all.Province.options[document.all.Province.selectedIndex].value , arrProvince , arrCity , 'County');">
									<option value="">省份</option>
								</select>
								 <select name="City" id="City" style="width:70px;" onChange="SelChgCounty('County' , document.all.City.options[document.all.City.selectedIndex].value , arrCity , arrCounty);">
									<option value="">地级市</option>
								</select>
								 <select name="County" id="County" style="width:60px;">
									<option value="">不限</option>
								</select>	

<select name="Qualification" class="input_bk_D2D2D2" id="Qualification" style="width:50px;">
								<option value="">学历</option>
								<%
									Rs.Open "select * from QualificationTbl order by QualificationId asc" , Conn , 1 , 1
									Do While Not Rs.Eof
										Response.Write("<option value="""& Rs("QualificationName") &""" ")
										If Rs("QualificationName") = Qualification Then Response.Write(" selected")
										Response.Write(">"& Rs("QualificationName") &"</option>")
									Rs.MoveNext
									Loop
									Rs.Close
									%>
							</select>
								<select name="ValidityDate" id="ValidityDate" style="width:75px;">
								<option value="" <%If ValidityDate = "" Then Response.Write("selected")%>>发布时间</option>
								<option value="1" <%If ValidityDate = "1" Then Response.Write("selected")%>>一天内</option>
								<option value="2" <%If ValidityDate = "2" Then Response.Write("selected")%>>两天内</option>
								<option value="3" <%If ValidityDate = "3" Then Response.Write("selected")%>>三天内</option>
								<option value="7" <%If ValidityDate = "7" Then Response.Write("selected")%>>一周内</option>
								<option value="14" <%If ValidityDate = "14" Then Response.Write("selected")%>>两周内</option>
								<option value="30" <%If ValidityDate = "30" Then Response.Write("selected")%>>一月内</option>
								<option value="60" <%If ValidityDate = "60" Then Response.Write("selected")%>>两月内</option>
								<option value="90" <%If ValidityDate = "90" Then Response.Write("selected")%>>三月内</option>
							</select>
							<input style="width:170px;" name="keyword" type="text"  id="keyword" value="<%=keyword%>" size="30" onFocus="javascript:if(this.value=='请输入要查询的关键字')this.value='';" onBlur="javascript:if(this.value=='')this.value='请输入要查询的关键字';" />




            <input type="image" name="ImageButton1" id="ImageButton1" src="../images/resume_so.gif" align="absmiddle" style="border-width:0px;" />
</td>
      </tr>
    </table>

<script language="javascript">
	InitPosition("Position_b" , "Position_s" , arrPosition_b , arrPosition_s , "<%=Position_b%>" , "<%=Position_s%>")
	InitArea("Province" , "City" , "County" , arrProvince , arrCity , arrCounty , "<%=Province%>" , "<%=City%>" , "<%=County%>")
</script>










 <table width="974" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr height="5">
        <td height="5"></td>
      </tr>
    </table>

    <table width="974" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr> 
        <td width="13" height="28" valign="top" background="../images/personPhoto_r2_c2.jpg">&nbsp;</td>
        <td width="948" height="28" valign="top" background="../images/personPhoto_r2_c8.jpg"><img src="../images/LatestResume1.gif" width="231" height="28"></td>
        <td width="13" height="28" valign="top" background="../images/personPhoto_r2_c10.jpg">&nbsp;</td>
      </tr>
      <tr>
        <td   colspan="3"  valign="top" style="border-left:3px #FF7807 solid;border-right:3px #FF7807 solid;">






 
			<form id="ListForm" name="ListForm" method="post" action="" style="margin:0">
<table width="963"   border="0" align="center" cellpadding="3" cellspacing="3">
			<tr bgcolor="#FFF9EE">
						<td width="68" height="25" align="center" style="border-bottom:1px #FF9900 solid;">姓名</td>
						<td align="center" style="border-bottom:1px #FF9900 solid;">性别</td>
						<td align="center" style="border-bottom:1px #FF9900 solid;">年龄</td>
						<td align="center" style="border-bottom:1px #FF9900 solid;">求职意向</td>
						<td align="center" style="border-bottom:1px #FF9900 solid;">月薪</td>
						<td align="center" style="border-bottom:1px #FF9900 solid;">工作性质</td>
						<td width="74" align="center" style="border-bottom:1px #FF9900 solid;">学历</td>
						<td align="center" style="border-bottom:1px #FF9900 solid;">更新时间</td>
				  </tr>
<%
Rs.Open Sql , Conn , 1 , 1
If Rs.Eof Then
%>
			<tr>
				<td height="30" colspan="8" align="center" class="td_line_col_FFFFFF">没有找到您想要查询的简历！</td>
			</tr>
<%
Else
	Rs.PageSize = 26
	CurrentPage = Clng(Request("page"))
	If CurrentPage < 1 Then CurrentPage = 1
	If CurrentPage > Rs.PageCount Then CurrentPage = Rs.PageCount
	Rs.AbsolutePage = CurrentPage
	i = 0
	tdcss = "td_line_col_FFFFFF"
	Do While Not Rs.Eof
	
%>
			<tr>
						<td height="30" align="center" class="<%=tdcss%>"><a href="Person_View.asp?PerId=<%=Rs("PerId")%>" target="_blank"><%=Rs("RealName")%></a><%
						If Rs("PerPic") <> "" Then
							Response.Write(" <img src=""Images/tupian.gif"" width=""15"" height=""15"" align=""absmiddle"" border=""0"" />")
						End If
						%></td>
						<td width="41" height="30" align="center" class="<%=tdcss%>"><%=Rs("Sex")%></td>
						<td width="42" height="30" align="center" class="<%=tdcss%>"><%=Rs("Age")%></td>
						<td width="144" height="30" class="<%=tdcss%>"><%=Rs("JobPost")%>&nbsp;</td>
						<td width="66" height="30" align="center" class="<%=tdcss%>"><%
						If Cstr(Rs("Salary")) = "0" Then
							Response.Write("面议")
						Else
							Response.Write(Rs("Salary") & " 元/月")
						End If
						%></td>
						<td width="60" height="30" align="center" class="<%=tdcss%>"><%=Rs("Nature")%>&nbsp;</td>
						<td align="center" class="<%=tdcss%>"><%=Rs("Qualification")%></td>
						<td width="73" align="center" class="<%=tdcss%>"><%
						If Rs("EditDate") <> "" Then
							Response.Write(FormatDateTime(Rs("EditDate") , 2))
						End If
						%>&nbsp;</td>
				  </tr>
<%
	i = i + 1
	Rs.MoveNext
	If i >= Rs.PageSize Then Exit Do
	If i Mod 2 = 0 Then
		tdcss = "td_line_col_FFFFFF"
	Else
		tdcss = "td_line_col_FBFBFB"
	End If
	Loop
%>
			<tr>
				<td height="35" colspan="8" align="right">
				<%
				Qsite.Page_Cn CurrentPage , Rs.PageCount , Rs.RecordCount , FileName
				%>
				 &nbsp;转到
					<input name="CurPage" type="text" class="input_bk_D2D2D2" id="CurPage" value="<%=CurrentPage%>" size="4" />
					页
					<input name="GoPage" type="button" class="input_bk_D2D2D2" value="跳转" onClick="javascript:GotoPage();" />
					<input name="FileName" type="hidden" id="FileName" value="<%=FileName%>" /></td>
				</tr>
<%
End If
Rs.Close
%>
		 
	  </form>		 
</table> 
</td>
      </tr>
      <tr>
        <td height="12" colspan="3"  background="/images/Person_r20_c3.jpg"><img src="space.gif" height="1"></td>
      </tr>
    </table>
 <!--#include file="foot.asp" -->
