📄 job.asp
字号:
<!--#include file="Inc/syscode.asp" -->
<!-- #include file="Head.asp" -->
<%'if Request.QueryString("no")="eshop" then
'dim SQL, Rs, contentID,CurrentPage
'CurrentPage = request("Page")
'contentID=request("ID")
'set rs=server.createobject("adodb.recordset")
'sqltext="delete from job where Id="& contentID
'rs.open sqltext,conn,3,3
'set rs=nothing
'conn.close
'response.redirect "Manage_Job.asp"
'end if
%>
<%
set rs=server.createobject("adodb.recordset")
sqltext="select * from job order by id desc"
rs.open sqltext,conn,1,1
dim MaPerPage
MaPerPage=4
dim text,checkpage
text="0123456789"
Rs.PageSize=MaPerPage
for i=1 to len(request("page"))
checkpage=instr(1,text,mid(request("page"),i,1))
if checkpage=0 then
exit for
end if
next
If checkpage<>0 then
If NOT IsEmpty(request("page")) Then
CurrentPage=Cint(request("page"))
If CurrentPage < 1 Then CurrentPage = 1
If CurrentPage > Rs.PageCount Then CurrentPage = Rs.PageCount
Else
CurrentPage= 1
End If
If not Rs.eof Then Rs.AbsolutePage = CurrentPage end if
Else
CurrentPage=1
End if
call showpages
call list
If Rs.recordcount > MaPerPage then
call showpages
end if
'显示帖子的子程序
Sub list()%>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="779" height="1" background="images/2.jpg"></td>
</tr>
</table>
<TABLE width="775" border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
<TBODY>
<TR>
<TD width=209 vAlign=top bgcolor="#FFFFFF">
<table width="175" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#f2f2f2">
<tr>
<td valign="top">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD bgcolor="#FFFFFF"> </TD>
</TR>
<TR>
<TD height=36 align="center" background="Images/zhao.gif" bgcolor="#FFFFFF"><strong><span style="font-weight: bold; color: #FFFFFF;">招贤纳士</span><strong></TD>
</TR>
<TR>
<TD height=5 bgcolor="#FFFFFF"> </TD>
</TR>
<TR>
<TD height=15 bgcolor="#FFFFFF"><div align="center" style="font-weight: bold"><img src="Images/greenaccept.gif" width="12" height="12"> <a href="job.asp">人才招聘</a></div></TD>
</TR>
<TR>
<TD height=5 bgcolor="#FFFFFF"> </TD>
</TR>
<TR>
<TD height=15 bgcolor="#FFFFFF"><div align="center" style="font-weight: bold"><img src="Images/greenaccept.gif" width="12" height="12"> <a href="jobs.asp">人才策略</a></div></TD>
</TR>
<TR>
<TD height=20 bgcolor="#FFFFFF"></TD>
</TR>
<TR>
<TD height="26" background="Images/ground.gif"><div align="center"><strong><span style="font-weight: bold; color: #FFFFFF;">站内调查</span></div></TD>
</TR>
<TR>
<TD height="12"> </TD>
</TR>
<TR>
<TD vAlign=top><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><TD><% call ShowVote() %>
</TD>
</tr>
</table></TD>
</TR>
<TR>
<TD height="10"> </TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD height=15 bgcolor="#FFFFFF"></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD height="26" background="Images/ground.gif"><div align="center" style="color: #FFFFFF"><strong>友情连接</strong></div></TD>
</TR>
<TR>
<TD height="5"> </TD>
</TR>
<TR>
<TD vAlign=top>
<%
set rs_links=server.createobject("adodb.recordset")
sqltext4="select top 10 * from links order by id desc"
rs_links.open sqltext4,conn,1,1
%>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<%i=0
do while not rs_links.eof%>
<TR vAlign=center>
<TD
height=22 colspan="2"> <div align="center"><a href="<%=rs_links("link")%>" title="<%=rs_links("note")%>"target="_blank"><%=rs_links("name")%></a></div></TD>
</TR>
<% rs_links.movenext
i=i+1
if i=10 then exit do
loop
rs_links.close %>
<TR>
<TD
height=1 colspan="2"
background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR vAlign=center>
<TD height=45 colSpan=2 bgcolor="#FFFFFF" align="center">
<!-- #include file="counter/counter.asp" --></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
</table>
<!-- #include file="copyright.asp" --> <br></TD>
<TD width="1" background="images/1.jpg"></TD>
<TD width="565" vAlign=top><TABLE width="90%" border=0 align="right" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD height=120> <div align="right">
<table width="555" height="125" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center">
<table width="75%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="5"></td>
</tr>
</table>
<table width="559" height="118" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="67" background="Images/hr.jpg"> <div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="555" height="118">
<param name="movie" value="Images/32.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="Images/32.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="555" height="118"></embed>
</object>
</div></td>
</tr>
</table>
</div></td>
</tr>
</table>
</div></TD>
</TR>
<TR>
<TD background=img/naBialym.gif
height=1><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR>
<TD background=img/naBialym.gif
height=1><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR>
<TD><table width="95%" border="0" cellpadding="0" cellspacing="0">
<tr>
</tr>
</table></TD>
</TR>
<TR>
<TD background=img/naBialym.gif
height=1><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR>
<TD ><table width="536" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="536" height="25"> <div align="center"><strong><TABLE width="95%" border=0 align="right" cellPadding=0 cellSpacing=0>
<TR>
<TD background=img/naBialym.gif height=1><IMG height=1 src="img/1x1_pix.gif" width=10></TD>
</TR>
<%
if not rs.eof then
i=0
do while not rs.eof
%>
<TR>
<TD height=1><br>
<table width="92%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#336699" class="l130">
<tr>
<td width="24%" bgcolor="#F8FCF8"> <div align="center">招聘对象</div></td>
<td width="76%" bgcolor="#ffffff"><%=rs("Duix")%></td>
</tr>
<tr>
<td bgcolor="#F8FCF8"> <div align="center">招聘人数</div></td>
<td bgcolor="#ffffff"><%=rs("Rens")%></td>
</tr>
<tr>
<td bgcolor="#F8FCF8"> <div align="center">工作地点</div></td>
<td bgcolor="#ffffff"><%=rs("did")%></td>
</tr>
<tr>
<td bgcolor="#F8FCF8"> <div align="center">工资待遇</div></td>
<td bgcolor="#ffffff"><%=rs("daiy")%></td>
</tr>
<tr>
<td bgcolor="#F8FCF8"> <div align="center">发布时间</div></td>
<td bgcolor="#ffffff"><%=rs("time")%></td>
</tr>
<tr>
<td bgcolor="#F8FCF8"> <div align="center">有效期限</div></td>
<td bgcolor="#ffffff"><%=rs("Qix")%></td>
</tr>
<tr>
<td height="22" bgcolor="#F8FCF8"> <div align="center">招聘要求</div></td>
<td bgcolor="#ffffff"><%=rs("yaoq")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="22" colspan="2"><div align="right"><a href="AcceptJob.asp?job=<%=rs("Duix")%>"><img src="Images/ljsq.gif" width="79" height="20" border="0"></a></div></td>
</tr>
</table>
</TD>
</TR>
<%
i=i+1
if i >= MaPerpage then exit do
rs.movenext
loop
end if
%>
<TR>
<TD height=15> </TD>
</TR>
<TR>
<TD background=img/naBialym.gif height=1><IMG height=1 src="img/1x1_pix.gif" width=10></TD>
</TR>
<TR>
<TD height=25 align="center" > <table width="470" border="0" bgcolor="#D8D8D8">
<tr>
<td width="460">
<%
Response.write "<strong><font color='#000000'>-> 全部-</font>"
Response.write "共</font>" & "<font color=#FF0000>" & Cstr(Rs.RecordCount) & "</font>" & "<font color='#000000'>条招聘信息</font></strong> "
Response.write "<strong><font color='#000000'>第</font>" & "<font color=#FF0000>" & Cstr(CurrentPage) & "</font>" & "<font color='#000000'>/" & Cstr(rs.pagecount) & "</font></strong> "
If currentpage > 1 Then
response.write "<strong><a href='Job.asp?&page="+cstr(1)+"'><font color='#000000'>首页</font></a><font color='#ffffff'> </font></strong>"
Response.write "<strong><a href='Job.asp?page="+Cstr(currentpage-1)+"'><font color='#000000'>上一页</font></a><font color='#ffffff'> </font></strong>"
Else
Response.write "<strong><font color='#000000'>上一页 </font></strong>"
End if
If currentpage < Rs.PageCount Then
Response.write "<strong><a href='Job.asp?page="+Cstr(currentPage+1)+"'><font color='#000000'>下一页</font></a><font color='#ffffff'> </font>"
Response.write "<a href='Job.asp?page="+Cstr(Rs.PageCount)+"'><font color='#000000'>尾页</font></a></strong> "
Else
Response.write ""
Response.write "<strong><font color='#000000'>下一页</font></strong> "
End if
'response.write "</td><td align='right'>"
'response.write "<font color='#000000' >转到:</font><input type='text' name='page' size=4 maxlength=4 class=smallInput value="&Currentpage&"> "
'response.write "<input class=buttonface type='submit' value='Go' name='cndok'> "
%>
<%
End sub
'rs.close
%></td>
</tr>
</table></TD>
</TR>
</TABLE>
<br>
<br>
</strong></div></td>
</tr>
<tr>
<td><div align="center"></div></td>
</tr>
</table>
<br>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"></div></td>
</tr>
</table></TD>
</TR>
</TBODY>
</TABLE> </TD>
</TR>
</TBODY>
</TABLE>
<!-- #include file="Foot.asp" -->
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -