📄 jobfresh10.asp
字号:
<!--#include file="../dbconn.asp"-->
<%
sql="select top 10 * from job order by date desc"
set Rs=conn.Execute(sql)
dim rootRs
Set rootRs=Server.CreateObject("ADODB.RecordSet")
rootRs.Open sql,conn,1,1
%>
<html>
<head>
<script language="javascript">
function popwin2(id,path)
{ window.open("comview.asp?userid="+id+"&ppath="+path,"","height=450,width=580,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
}
</script>
<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>最新招聘信息</title>
</head>
<body bgcolor="#E6E5B8">
<center>最新加入的十条招聘信息</center>
<%If rootRs.Bof OR rootRs.Eof Then
Response.Write "目前没有内容。"
else
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="19%" align="center" height="1" bgcolor="#D4D4D4">招聘公司</td>
<td width="19%" align="center" height="1" bgcolor="#D4D4D4">职位及人数</td>
<td width="12%" align="center" height="1" bgcolor="#D4D4D4">月薪</td>
<td width="44%" 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="19%" align="center" height="1"><a href="javascript:popwin2(<%=rootrs("userid")%>)"><%=rootrs("company_name")%></a></td>
<td width="19%" align="center" height="1"><%=rootrs("job_name")%> <%=rootrs("job_num")%>人</td>
<td width="12%" align="center" height="1"><%=rootrs("job_money")%>元/月</td>
<td width="44%" 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>
<%conn.close
set conn=nothing%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -