job_search_result.asp
资源名称:eat.rar [点击查看]
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:5k
源码类别:
数据库编程
开发平台:
ASP/ASPX
- <% Option Explicit %>
- <!--#include file="../../FS_Inc/Const.asp" -->
- <!--#include file="../../FS_InterFace/MF_Function.asp" -->
- <!--#include file="../../FS_Inc/Function.asp" -->
- <!--#include file="../../FS_Inc/Func_page.asp" -->
- <!--#include file="../lib/strlib.asp" -->
- <!--#include file="../lib/UserCheck.asp" -->
- <!--Copyright (c) 2006 Foosun Inc. Code by Einstein.liu-->
- <html xmlns="http://www.w3.org/1999/xhtml">
- <title>User Manage Center-网站内容管理系统</title>
- <meta name="keywords" content="风讯cms,cms,FoosunCMS,FoosunOA,FoosunVif,vif,风讯网站内容管理系统">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <meta content="MSHTML 6.00.3790.2491" name="GENERATOR" />
- <link href="../images/skin/Css_<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>/<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>.css" rel="stylesheet" type="text/css">
- <head>
- <script language="javascript" src="../../FS_Inc/CheckJs.js"></script>
- <script language="javascript" src="../../FS_Inc/prototype.js"></script>
- <script language="javascript" src="../../FS_Inc/PublicJS.js"></script>
- </head>
- <body>
- <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" class="table">
- <tr>
- <td><!--#include file="../top.asp" -->
- </td>
- </tr>
- </table>
- <table width="98%" height="135" border="0" align="center" cellpadding="1" cellspacing="1" class="table">
- <tr class="back">
- <td colspan="2" class="xingmu" height="26"><!--#include file="../Top_navi.asp" -->
- </td>
- </tr>
- <tr class="back">
- <td width="18%" valign="top" class="hback"><div align="left">
- <!--#include file="../menu.asp" -->
- </div></td>
- <td width="82%" valign="top" class="hback">
- <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" class="table">
- <tr class="xingmu">
- <td colspan="7">职位搜索结果</td>
- </tr>
- <tr class="xingmu">
- <td>职位名称</td>
- <td align="center">公司名称</td>
- <td align="center">简历语言</td>
- <td align="center">工作地点</td>
- <td align="center">招聘人数</td>
- <td align="center">发布日期</td>
- <td align="center">结束日期</td>
- </tr>
- <%
- Dim Rs,job,workcity,publicdate,condition
- job=trim(request.Form("JobName"))
- workcity=trim(request.Form("workcity"))
- publicdate=trim(request.Form("hd_publicdate"))
- if job<>"" then
- condition=" And JobName like '"&job&"'"
- End if
- if workcity<>"" then
- condition=condition&" And workcity ='"&workcity&"'"
- End if
- if publicdate<>"" then
- Dim dateCondition
- dateCondition=DateValue(Now())-Cint(publicdate)
- if G_IS_SQL_DB=0 then
- condition=condition&" And publicdate>#"&dateCondition&"#"
- Else
- condition=condition&" And publicdate>'"&dateCondition&"'"
- End if
- End if
- if G_IS_SQL_DB=0 then
- Set Rs=Conn.execute("Select PID,UserNumber,JobName,JobDescription,ResumeLang,WorkCity,PublicDate,EndDate,NeedNum from FS_AP_Job_Public where 1=1 "&condition&" And (EndDate>#"&DateValue(Now())&"# or EndDate=#"&DateValue(Now())&"#)")
- else
- Set Rs=Conn.execute("Select PID,UserNumber,JobName,JobDescription,ResumeLang,WorkCity,PublicDate,EndDate,NeedNum from FS_AP_Job_Public where 1=1 "&condition&" And (EndDate>'"&DateValue(Now())&"' or EndDate='"&DateValue(Now())&"')")
- End if
- Dim meRs,corpName
- while not Rs.eof
- Response.Write("<tr height='25' onMouseOver=overColor(this) onMouseOut=outColor(this) onClick=""javascript:Element.toggle('descripe_"&Rs("PID")&"')"">"&vbcrlf)
- Response.Write("<td class='hback'>"&Rs("JobName")&"</td>"&vbcrlf)
- Set meRs=User_Conn.execute("Select C_Name,C_WebSite from FS_ME_CorpUser where UserNumber='"&Rs("UserNumber")&"'")
- if not meRs.eof then
- if MeRs("C_WebSite")<>"" then
- corpName="<a href="""&MeRs("C_WebSite")&""" target=""_blank"">"&meRs("C_Name")&"</a>"
- Else
- corpName=meRs("C_Name")
- End if
- Else
- corpName="无"
- End if
- Response.Write("<td class='hback' align='center'>"&corpName&"</td>"&vbcrlf)
- Response.Write("<td class='hback' align='center'>"&Rs("WorkCity")&"</td>"&vbcrlf)
- Response.Write("<td class='hback' align='center'>"&Rs("ResumeLang")&"</td>"&vbcrlf)
- Response.Write("<td class='hback' align='center'>"&Rs("NeedNum")&"</td>")
- Response.Write("<td class='hback' align='center'>"&Rs("PublicDate")&"</td>")
- Response.Write("<td class='hback' align='center'>"&Rs("EndDate")&"</td>")
- Response.Write("<tr id='descripe_"&Rs("PID")&"' style=""display:'none'"">"&vbcrlf)
- Response.Write("<td colspan='7' class='hback' >职位说明:"&Rs("JobDescription")&"</td>"&vbcrlf)
- Response.Write("</tr>"&vbcrlf)
- Rs.movenext
- Wend
- %>
- </table>
- </td>
- </tr>
- <tr class="back">
- <td height="20" colspan="2" class="xingmu"><div align="left">
- <!--#include file="../Copyright.asp" -->
- </div></td>
- </tr>
- </table>
- </body>
- </html>
- <%
- 'if not isnull(Conn) then Conn.close
- 'if not isnull(User_Conn) then User_Conn.close
- Set User_Conn=nothing
- Set Conn=nothing
- %>
- <script language="javascript">
- <!--
- -->
- </script>
- <!-- Powered by: FoosunCMS4.0系列,Company:Foosun Inc. -->