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

📄 jobview.asp

📁 人力资源管理系统(绝对是大型的真正商业代码)
💻 ASP
字号:
<!--#include file="../dbconn.asp"-->
<%
sql="select * from job where userid="& Request("userid") &" order by date desc"
set Rs=conn.Execute(sql)                                                           
dim rootRs                            
Set rootRs=Server.CreateObject("ADODB.RecordSet")                                                      
rootRs.Open sql,conn,1,1
if rootrs.eof then
Response.Write "<center>该公司没有发布招聘信息。</center>"                                                                  
else
%>
<html>
<head>
<script language="javascript">
function popwin3(id,path)
{		window.open("../getjob.asp?jobid="+id+"&ppath="+path,"","height=450,width=580,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
}
</script>
<link rel="stylesheet" type="text/css" href="../css/cdol.css">
<title><%=rs("company_name")%></title>
</head>

<body bgcolor="#E6E5B8">  
<center><%=rs("company_name")%> 所有招聘信息</center>
<p> </p>
<%                                                                                          
rootRs.pagesize=10                            
rootRs.AbsolutePage =1                            
if cint(Request("page"))>0 then rootRs.AbsolutePage =Request("page")                            
RowCount =rootRs.pagesize                                            
%>
<table border="1" width="100%" align="center" bordercolorlight="#000000" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="5" bgcolor="#A4D1FF" height="1">                                                                     
  <tr>                                           
    <td width="16%" align="center" height="1" bgcolor="#D4D4D4">就业地点</td>                                                                                                
    <td width="17%" align="center" height="1" bgcolor="#D4D4D4">职位及人数</td>                                                                                              
    <td width="12%" align="center" height="1" bgcolor="#D4D4D4">月薪</td>                                                                 
    <td width="49%" align="center" height="1" bgcolor="#D4D4D4">相关条件</td>                                                                 
    <td width="6%" align="center" height="1" bgcolor="#D4D4D4"> </td>                                                                
  </tr>                                                                                                                
<%Do While Not rootRs.Eof AND RowCount>0%>      
  <tr>                                           
    <td width="16%" align="center" height="1"><%=rootrs("job_area")%></td>                                                                                                
    <td width="17%" align="center" height="1"><%=rootrs("job_name")%> <%=rootrs("job_num")%>人</td>                                                                                              
    <td width="12%" align="center" height="1"><%=rootrs("job_money")%>元/月</td>                                                                 
    <td width="49%" align="center" height="1"><%=rootrs("job_des_req")%></td>                                                                 
    <td width="6%" align="center" height="1"><a href="javascript:popwin3(<%=rootrs("jobid")%>)">应聘</a></td>                                                                
  </tr>                                                                      
<%rootRs.MoveNext                          
RowCount=RowCount-1                          
Loop
end if 
%></table>                                                                                                  
<%                             
If rootRs.pagecount>1 then                           
j=rootRs.pagecount                           
Response.Write "<center><table border='0'>"                           
Response.Write "<tr>"                           
Response.Write "<td>共" & j & "页:</td>"                           
For i=1 to rootRs.pagecount                           
Response.Write "<td><a href='viewcom.asp?page=" & i & "'>"                           
Response.Write "[第"& i &"页]</a>"                          
Response.Write "</td>"                           
Next                           
Response.Write "</tr></table></center>"                           
End if                                                                                                       
conn.close                           
set conn=nothing                           
%>                                                                                   
  </body>                                                              
</html>                                                          

⌨️ 快捷键说明

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