?? jobview.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 Request("page")<>"" 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 + -