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

📄 job.asp

📁 钱江水产源代码,钱江水产源代码,钱江水产源代码
💻 ASP
字号:
<!--#include file="Inc/syscode.asp"-->
<!--#include file="inc/Skin_css.asp"-->
<%
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 list

'显示帖子的子程序
Sub list()%>
<!-- #include file="Head.asp" -->
<table width="100%" height="8"  border="0" cellpadding="0" cellspacing="0" background="Img/contopbg.gif">
  <tr>
    <td><table width="226" height="8" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="209"></td>
          <td width="17" background="Img/contopbg2.gif"></td>
        </tr>
    </table></td>
  </tr>
</table>
<table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="209" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td ><img src="Img/login.gif" alt="用户登陆" width="196" height="32"></td>
        </tr>
        <tr>
          <td height="5"></td>
        </tr>
        <tr>
          <td height="10" align="center"><table  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="Img/left1.gif" width="187" height="19"></td>
              </tr>
              <tr>
                <td background="Img/left2.gif"><table width="90%" border="0" align="center" cellpadding="2" cellspacing="0">
                    <tr>
                      <td align="center">
                        <% call ShowUserLogin() %></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td><img src="Img/left3.gif" width="187" height="20"></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="5"></td>
        </tr>
      </table>
        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
        <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"><img src="Img/job.gif" width="193" height="24"></td>
          </tr>
          <tr>
            <td height="20">              <div align="center">
                <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table>
                <a href="Job.asp">人 才 招 聘</a></div></td>
          </tr>
          <TR>
            <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
          </TR>
          <tr>
            <td height="20">
              <div align="center"><a href="Jobs.asp">人 才 策 略</a></div></td>
          </tr>
          <TR>
            <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
          </TR>
        </table>
        <p>&nbsp;</p></td>
    <td width="17" background="Img/combg.gif">&nbsp;</td>
    <td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="2"></td>
              </tr>
              <tr>
                <td height="26">&nbsp; <span >&nbsp;&nbsp;<img src="Img/HaoSc23.png" width="14" height="16" align="absmiddle"> <span class="tt_16">人 才 招 聘</span></span></td>
              </tr>
              <tr>
                <td height="2" bgcolor="#CBE0E9"></td>
              </tr>
          </table></td>
        </tr>
        <TR>
          <TD 
                  height=1 valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="5" valign="top" bgcolor="#FFFFFF"></td>
              </tr>
              <tr>
                <td height="72" valign="top" bgcolor="#FFFFFF"><table border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td  width="8" valign="top"  >&nbsp;
                      </td>
                      <td width="709"  valign="top"><table  width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td height="206" valign="top">                              <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <%
if not rs.eof then
i=0
do while not rs.eof
%>
                                <TR>
                                  <TD 
                  height=1><br>
                                      <table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#339900">
                                        <tr>
                                          <td width="24%" bgcolor="#B6EFA3">
                                          <div align="center">招聘对象</div></td>
                                          <td width="76%" bgcolor="#F8FCF8"><%=rs("Duix")%></td>
                                        </tr>
                                        <tr>
                                          <td bgcolor="#B6EFA3">
                                          <div align="center">招聘人数</div></td>
                                          <td bgcolor="#F8FCF8"><%=rs("Rens")%></td>
                                        </tr>
                                        <tr>
                                          <td bgcolor="#B6EFA3">
                                          <div align="center">工作地点</div></td>
                                          <td bgcolor="#F8FCF8"><%=rs("did")%></td>
                                        </tr>
                                        <tr>
                                          <td bgcolor="#B6EFA3">
                                          <div align="center">工资待遇</div></td>
                                          <td bgcolor="#F8FCF8"><%=rs("daiy")%></td>
                                        </tr>
                                        <tr>
                                          <td bgcolor="#B6EFA3">
                                          <div align="center">发布时间</div></td>
                                          <td bgcolor="#F8FCF8"><%=rs("time")%></td>
                                        </tr>
                                        <tr>
                                          <td bgcolor="#B6EFA3">
                                          <div align="center">有效期限</div></td>
                                          <td bgcolor="#F8FCF8"><%=rs("Qix")%></td>
                                        </tr>
                                        <tr>
                                          <td height="22" bgcolor="#B6EFA3">
                                          <div align="center">招聘要求</div></td>
                                          <td bgcolor="#F8FCF8"><%=rs("yaoq")%></td>
                                        </tr>
                                        <tr bgcolor="#FFFFFF">
                                          <td height="22" colspan="2"><div align="right"><a href="AcceptJob.asp?job=<%=rs("Duix")%>">应聘此岗位</a> </div></td>
                                        </tr>
                                    </table></TD>
                                </TR>
                                <% 
i=i+1 
if i >= MaPerpage then exit do 
rs.movenext 
loop 
end if 
%>
                            </table></td>
                          </tr>
                          <tr>
                            <td height="15"></td>
                          </tr>
                          <TR>
                            <TD 
                  height=25 bgcolor="#D8D8D8"> &nbsp;
                                <%
Response.write "<strong><font color='#000000'>-> 全部-</font>"
Response.write "共</font>" & "<font color=#FF0000>" & Cstr(Rs.RecordCount) & "</font>" & "<font color='#000000'>条招聘信息</font></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
Response.write "<strong><font color='#000000'>第</font>" & "<font color=#FF0000>" & Cstr(CurrentPage) &  "</font>" & "<font color='#000000'>/" & Cstr(rs.pagecount) & "</font></strong>&nbsp;"
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>&nbsp;&nbsp;"
Else
Response.write ""
Response.write "<strong><font color='#000000'>下一页</font></strong>&nbsp;&nbsp;"
End if
%>
                                <%
End sub
rs.close
%>
                            </TD>
                          </TR>
                      </table></td>
                    </tr>
                </table></td>
              </tr>
            </table>          </TD>
        </TR>
      </table>
    </td>
  </tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
</BODY></HTML>

⌨️ 快捷键说明

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