<!--#include file="conn/conn_index.asp"-->
<!--#include file="inc/setup.asp"-->
<!--#include file="inc/char.asp"-->
<!--#include file="inc/sql.asp"-->
<%
	end if
	key="where shenhe=1 "
	action=ReplaceBadChar(Trim(Request.QueryString("action")))
	stime=int(ReplaceBadChar(int(request("stime")))) '发布时间
	workmoney=ReplaceBadChar(trim(request("workmoney"))) '年薪
	keyword=ReplaceBadChar(trim(request("keyword"))) '关键字
	set rs_news=server.createobject("adodb.recordset")
	if action="search" then
		if keyword&"a"<>"a" and keyword<>"职位关键字或公司名称" then key=key&" and (companyname like '%"&keyword&"%' or jobname like '%"&keyword&"%')"
		if workmoney&"a"<>"a" and workmoney<>"0" then key=key&" and workmoney='"&workmoney&"'"
	end if
	sql="select * from vipjobzp "&key&" order by id desc" 
	rs_news.PageSize = 19 '这里设定每页显示的记录数
	rs_news.CursorLocation = 3
	rs_news.open sql,conn,1,1
	pre = true
	last = true
	page = ReplaceBadChar(trim(Request.QueryString("page")))'变量是跳转页面时的值

	if len(page) = 0 then
		intpage = 1
		pre = false
	else
		if cint(page) =< 1 then
			intpage = 1
			pre = false
		else
			if cint(page) >= rs_news.PageCount then
				intpage = rs_news.PageCount
				last = false
			else
				intpage = cint(page)
			end if
		end if
	end if
	if not rs_news.eof then
		rs_news.AbsolutePage = intpage
	end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<link rel="Shortcut Icon" href="Images/favicon.ico">
<link rel="Bookmark" href="Images/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<TITLE><%= homename %>--重金猎头--职位列表</TITLE>
<meta name="Keywords" content="<%= webmeta %>">
<meta name="Description" content="<%= webmeta1 %>">
<link type="text/css" href="css/view_lietou.css" rel="stylesheet"  />
</HEAD>
<BODY topMargin=0 leftmargin="0" rightmargin="0">
<!--#include file="top.asp"-->
<div id="wrap">
  <div class="Main_LpList_box space_top">
    <div class="rim2_top_box">
      <div class="rim2_TopLeft"></div>
      <div class="rim2_TopRight"></div>
      <div class="rim2_TopCon">
        <h1 class="details_CName">猎头职位<img src="images/lietou/ico_nonce.gif" alt="" align="absmiddle" style="margin-left:5px;" /></h1>
      </div>
    </div>
	<div class="ML_MainCol">
	  <div class="rim2_LeftRight">
		  <div class="rim_mainCon">
				<div class="PostList_box">
<div>
<table border="0" cellpadding="5" cellspacing="0">
  <tr>
    <th width="47">编号</th>
    <th width="175" align="left">职位名称</th>
    <th width="150" align="left">公司名称</th>
    <th width="95"  align="center">年薪</th>
    <th width="110"  align="left">地区</th>
  </tr>
	
	<!-- 以职位标题查看列表 开始 -->
<%
	if rs_news.eof then
%>
	<tr onmouseover="this.className='bg1'" onmouseout="this.className='bg0'">
	<td align="center" valign="middle" class="DivisionLine_bottom" colspan="5" height="20">没有您搜索的猎头职位信息</td>
	</tr>
<%
	else
		for i=1 to rs_news.PageSize
		if rs_news.EOF or rs_news.BOF then exit for
		begint=datediff("d",rs_news("time"),now())
		if stime=0 or stime>=begint then
%>
	<tr onmouseover="this.className='bg1'" onmouseout="this.className='bg0'">
	<td align="center" valign="middle" class="nob DivisionLine_bottom">Lt<%= rs_news("id") %></td>
	<td height="30" align="left" class="DivisionLine_bottom"><a href="view_lietou.asp?id=<%= rs_news("id") %>" target="_blank"><%= left(rs_news("jobname"),13) %><% If len(rs_news("jobname"))>13 Then Response.Write("...")%></a></td>
	<td align="left" class="DivisionLine_bottom"><a href="view_lietou.asp?id=<%= rs_news("id") %>" target="_blank"><%= left(rs_news("companyname"),10) %><% If len(rs_news("companyname"))>10 Then Response.Write("...")%></a></a></td>
	<td align="center" class="DivisionLine_bottom"><%= rs_news("workmoney") %>万</td>
	<td align="left" class="DivisionLine_bottom"><%= left(rs_news("adds"),6) %><% If len(rs_news("adds"))>6 Then Response.Write("...")%></td>
	</tr>
<%
		end if
		rs_news.movenext
		next
	end if
%>
	<!-- 以职位标题查看列表 结束 -->
</table>
				</div>
				<!-- 分页 开始 -->
				<div class="pagination_box"><table width="99%" border="0" cellpadding="2" cellspacing="2" borderColorLight=#808080 borderColorDark=#ffffff>
<tr>
<%if rs_news.pagecount > 0 then%>
<td width="13%" align="left">当前页<%=intpage%>/<%=rs_news.PageCount%></td>
<%else%>
<td width="41%" align="left">当前页0/0</td><%end if%>
<td width="46%" align="right"> <a href="?page=1&stime=<%=Trim(Request("stime"))%>&workmoney=<%=Trim(Request("workmoney"))%>&keyword=<%=Trim(Request("keyword"))%>&action=<%=Trim(Request("action"))%>"><img src="images/lietou/prev_button.gif" border="0" valign="absbottom"></a>|
<%if pre then%>
<a href="?page=<%=intpage -1%>&stime=<%=Trim(Request("stime"))%>&workmoney=<%=Trim(Request("workmoney"))%>&keyword=<%=Trim(Request("keyword"))%>&action=<%=Trim(Request("action"))%>"><img src="images/lietou/next_button.gif" border="0" valign="absbottom"></a>| <%end if%>
<%if last then%>
<a href="?page=<%=intpage +1%>&stime=<%=Trim(Request("stime"))%>&workmoney=<%=Trim(Request("workmoney"))%>&keyword=<%=Trim(Request("keyword"))%>&action=<%=Trim(Request("action"))%>"><img src="images/lietou/next_button.gif" border="0" valign="absbottom"></a> |<%end if%>
<a href="?page=<%=rs_news.PageCount%>&stime=<%=Trim(Request("stime"))%>&workmoney=<%=Trim(Request("workmoney"))%>&keyword=<%=Trim(Request("keyword"))%>&action=<%=Trim(Request("action"))%>"><img src="images/lietou/last_button.gif" border="0" valign="absbottom"></a>|转到第
<select name="sel_page" onchange=javascript:location.href=this.options[this.selectedIndex].value>
<%
	for i = 1 to rs_news.PageCount
	if i = intpage then
%>
<option value="?page=<%=i%>&stime=<%=Trim(Request("stime"))%>&workmoney=<%=Trim(Request("workmoney"))%>&keyword=<%=Trim(Request("keyword"))%>&action=<%=Trim(Request("action"))%>" selected><%=i%></option>
<%else%> 
<option value="?page=<%=i%>&stime=<%=Trim(Request("stime"))%>&workmoney=<%=Trim(Request("workmoney"))%>&keyword=<%=Trim(Request("keyword"))%>&action=<%=Trim(Request("action"))%>"><%=i%></option>
<%
	end if
	next
	rs_news.close
	set rs_news=nothing
%>
</select>页</font>
</td>
</tr>
</table>
				</div>	
				<!-- 分页 结束 -->
				</div>
		  </div>
		</div>
		<div class="rim2_bottom_box">
			<div class="rim2_BottomLeft"></div>
			<div class="rim2_BottomRight"></div>
		</div>
	</div>
	<div class="ML_SideCol">
		<div class="rim3_top_box">
			<div class="rim3_TopLeft"> <h1 class="InfoBlock_title">职位搜索</h1></div>
			<div class="rim3_TopRight"></div>
		</div>
		<div class="rim3_LeftRight">
			<div class="rim_mainCon">
<form action="?action=search" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
    <td height="30" align="right">发布时间：</td>
    <td align="left"><SELECT style="FONT-SIZE: 12px; WIDTH: 130px" name="stime" width="10">
					      <option value='0' <% If Trim(Request("stime"))="0" Then Response.Write("selected")%>>不限</option> 
						  <option value='1' <% If Trim(Request("stime"))="1" Then Response.Write("selected")%>>一天内</option> 
						  <option value='3' <% If Trim(Request("stime"))="3" Then Response.Write("selected")%>>三天内</option> 
						  <option value='7' <% If Trim(Request("stime"))="7" Then Response.Write("selected")%>>一周内</option> 
						  <option value='15' <% If Trim(Request("stime"))="15" Then Response.Write("selected")%>>半月内</option> 
						  <option value='30' <% If Trim(Request("stime"))="30" Then Response.Write("selected")%>>一月内</option> 
						  <option value='90' <% If Trim(Request("stime"))="90" Then Response.Write("selected")%>>三月内</option> 
						  <option value='180' <% If Trim(Request("stime"))="180" Then Response.Write("selected")%>>半年内</option> 
						  <option value='360' <% If Trim(Request("stime"))="360" Then Response.Write("selected")%>>一年内</option> 
				  </SELECT></td>
  </tr>
  <tr>
    <td height="30" align="right">职位年薪：</td>
    <td align="left"><select style="FONT-SIZE: 12px; WIDTH: 130px" name="workmoney" width="10">
					      <option value='0'>年薪不限</option>
					      <option value='5-10' <% If Trim(Request("workmoney"))="5-10" Then Response.Write("selected")%>>5 - 10万</option>
					      <option value='11-20' <% If Trim(Request("workmoney"))="11-20" Then Response.Write("selected")%>>11 - 20万</option>
					      <option value='21-30' <% If Trim(Request("workmoney"))="21-30" Then Response.Write("selected")%>>21 - 30万</option>
					      <option value='31-40' <% If Trim(Request("workmoney"))="31-40" Then Response.Write("selected")%>>31 - 40万</option>
					      <option value='41-50' <% If Trim(Request("workmoney"))="41-50" Then Response.Write("selected")%>>41 - 50万</option>
					      <option value='51-100' <% If Trim(Request("workmoney"))="51-100" Then Response.Write("selected")%>>50 - 100万</option>
					      <option value='100' <% If Trim(Request("workmoney"))="100" Then Response.Write("selected")%>>100万以上</option>
				  </select></td>
  </tr>
  <tr>
    <td height="30" align="right">&nbsp;</td>
    <td align="left"><input name="keyword" class="inputSet"  style="WIDTH: 125px;" onFocus="if(this.value=='职位关键字或公司名称')this.value='';" onBlur="if(this.value=='')this.value='职位关键字或公司名称';" value="<% If Trim(Request("keyword"))<>"" Then Response.Write(Trim(Request("keyword"))) else Response.Write("职位关键字或公司名称")%>"   size=”19“></td>
  </tr>
  <tr>
    <td align="right">&nbsp;</td>
    <td align="left"><input name="" type="image" src="images/lietou/but_search.gif"/></td>
  </tr>
</table>
</form>
			</div>
		</div>
		<div class="rim3_bottom_box">
			<div class="rim3_BottomLeft"></div>
			<div class="rim3_BottomRight"></div>
		</div>
		<!--- 广告位置 开始 -->
		<div class="ad_box">
	    </div>
		<!--- 广告位置 结束 -->
	</div>
</div>
</div>
<!--#include file="end.asp"-->