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

📄 job.asp

📁 ASP网站源程序
💻 ASP
字号:
<!--#include file="Inc/Syscode.asp" -->
<!--#include file="Inc/Top.asp"-->
<!--#include file="Inc/eshopcode.asp"-->
<!--#include file="head.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()%>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="top"><table width="850" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30" valign="top" background="Style/<%=Root%>/cont_left_bg01.gif"><img src="Style/<%=Root%>/cont_left_img01.gif" width="30" height="431"></td>
        <td style="padding-top:9px; " width="787" valign="top"><table width="787" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="207" align="left" valign="top" class="top_m_txt01"><table width="200" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td valign="top"><table width="200" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img src="Style/<%=Root%>/left_rczp.gif" width="200" height="67"></td>
                  </tr>
                  <tr>
                    <td align="center" valign="top" background="Style/<%=Root%>/left_bg01.gif"><table width="75%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="20"><div align="center"><a href="Job.asp" class="top_m_txt01">人 才 招 聘</a></div></td>
                      </tr>
                      <TR>
                        <TD 
                            height=1 colspan="2" 
                            background=Style/<%=Root%>/naSzarym.gif><IMG height=1 src="Style/<%=Root%>/1x1_pix.gif" 
                              width=10></TD>
                      </TR>
                      <tr>
                        <td height="20"><div align="center"><a href="Jobs.asp" class="top_m_txt01">人 才 策 略</a></div></td>
                      </tr>
                      <TR>
                        <TD 
                            height=1 colspan="2" 
                            background=Style/<%=Root%>/naSzarym.gif><IMG height=1 src="Style/<%=Root%>/1x1_pix.gif" 
                              width=10></TD>
                      </TR>
                    </table></td>
                  </tr>
                  <tr>
                    <td><img src="Style/<%=Root%>/left_img01.gif" width="200" height="20"></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><table width="200" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="63" valign="bottom"><img src="Style/<%=Root%>/left_tc_tit.gif" width="200" height="51"></td>
                  </tr>
                  <tr>
                    <td height="182" align="center" background="Style/<%=Root%>/left_bg02.gif"><table width="80%" border="0" cellspacing="0" cellpadding="0">                      <tr>                        <td align="center"><% call ShowVote() %></td>                      </tr>                    </table></td>
                  </tr>
                  <tr>
                    <td><img src="Style/<%=Root%>/left_img02.gif" width="200" height="8"></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td valign="top"><table width="188" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="70" align="left" valign="bottom"><a href="Contact.asp"><img src="Style/<%=Root%>/xsrx_img.gif" width="185" height="51" border="0"></a></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
            <td valign="top"><table width="580" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="Style/<%=Root%>/cont_img01.gif" width="580" height="17"></td>
              </tr>
              <tr>
                <td valign="top"><table width="580" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="9" background="Style/<%=Root%>/cont_tbl01_bg01.gif"></td>
                    <td align="center" valign="top"><table width="540" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="45" align="left" valign="top"><img src="Style/<%=Root%>/rczp.gif" width="298" height="36"></td>
                        </tr>
                      <tr>
                        <td valign="top"><table width="540" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td colspan="3"><img src="Style/<%=Root%>/gsjs_img01.gif" width="540" height="19"></td>
                            </tr>
                          <tr>
                            <td width="22" valign="top" background="Style/<%=Root%>/gsjs_left_bg01.gif"><img src="Style/<%=Root%>/gsjs_img03.gif" width="22" height="149"></td>
                            <td width="498" rowspan="2" valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                <td height="72" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td height="179"  valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                          <tr>
                                            <td height="206" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <%
if not rs.eof then
i=0
do while not rs.eof
%>
                                                <TR>
                                                  <TD 
                  height=1><br>
                                                      <table width="95%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#000000" class="top_m_txt01">
                                                        <tr>
                                                          <td width="24%" bgcolor="76AADE"><div align="center">招聘对象</div></td>
                                                          <td width="76%" bgcolor="#F8FCF8"><%=rs("Duix")%></td>
                                                        </tr>
                                                        <tr>
                                                          <td bgcolor="76AADE"><div align="center">招聘人数</div></td>
                                                          <td bgcolor="#F8FCF8"><%=rs("Rens")%></td>
                                                        </tr>
                                                        <tr>
                                                          <td bgcolor="76AADE"><div align="center">工作地点</div></td>
                                                          <td bgcolor="#F8FCF8"><%=rs("did")%></td>
                                                        </tr>
                                                        <tr>
                                                          <td bgcolor="76AADE"><div align="center">工资待遇</div></td>
                                                          <td bgcolor="#F8FCF8"><%=rs("daiy")%></td>
                                                        </tr>
                                                        <tr>
                                                          <td bgcolor="76AADE"><div align="center">发布时间</div></td>
                                                          <td bgcolor="#F8FCF8"><%=rs("time")%></td>
                                                        </tr>
                                                        <tr>
                                                          <td bgcolor="76AADE"><div align="center">有效期限</div></td>
                                                          <td bgcolor="#F8FCF8"><%=rs("Qix")%></td>
                                                        </tr>
                                                        <tr>
                                                          <td height="22" bgcolor="76AADE"><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")%>" class="top_m_txt01">应聘此岗位</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=30 valign="bottom" class="top_m_txt01">&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>
                            <td width="20" background="Style/<%=Root%>/gsjs_right_bg01.gif"></td>
                          </tr>
                          <tr>
                            <td background="Style/<%=Root%>/gsjs_bg01.gif"></td>
                            <td valign="bottom" background="Style/<%=Root%>/gsjs_right_bg01.gif"><img src="Style/<%=Root%>/gsjs_img04.gif" width="20" height="148"></td>
                          </tr>
                          <tr>
                            <td colspan="3"><img src="Style/<%=Root%>/gsjs_img02.gif" width="540" height="18"></td>
                            </tr>
                        </table></td>
                      </tr>
                    </table></td>
                    <td width="9" background="Style/<%=Root%>/cont_tbl01_bg01.gif"></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><img src="Style/<%=Root%>/cont_img02.gif" width="580" height="17"></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="33" valign="top" background="Style/<%=Root%>/cont_right_bg01.gif"><img src="Style/<%=Root%>/cont_right_img01.gif" width="33" height="431"></td>
      </tr>
      <tr>
        <td valign="top"><img src="Style/<%=Root%>/cont_di_img01.gif" width="30" height="29"></td>
        <td align="center" valign="middle" background="Style/<%=Root%>/cont_di_bg01.gif" style="padding-top:9px; "><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="39%"><table width="304" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="57"><img src="Style/<%=Root%>/yqlj_img01.gif" width="57" height="15"></td>
                  <td width="247"><MARQUEE
            align="left" width=230 scrollAmount=1 scrollDelay=4 class="top_m_txt01" onmouseover="this.stop()" onmouseout="this.start()">
                    <% call ShowAnnounce(5) %>
                  </MARQUEE></td>
                </tr>
            </table></td>
            <td width="61%" align="right" class="top_m_txt01"><script language="JavaScript" type="text/javascript" src="inc/site.asp?online=1&show=all"></script></td>
          </tr>
        </table></td>
        <td valign="top"><img src="Style/<%=Root%>/cont_di_img02.gif" width="33" height="29"></td>
      </tr>
    </table></td>
  </tr>
</table>
<!--#include file="Inc/foot.asp"-->

⌨️ 快捷键说明

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