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

📄 hover_job.asp

📁 后台默认管理账号密码:admin 后台主要功能如下:一、系统管理:管理员管理
💻 ASP
字号:
<!--#include file="toptable.asp"-->
<%
'=================================
'   良精科技企业管理系统
'   QQ在线客服:65961930 82993936
'   咨询定购Tel:010-81991660
'      asp3721@hotmail.com 
'        www.liangjing.net
'  copyright(c)2001-2008 HoverCms 2007特别版
'=================================
%>
<%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 Hover_Job where Id="& contentID
rs.open sqltext,conn,3,3
set rs=nothing
conn.close
response.redirect "Hover_Job.asp"
end if

%>
<%

set rs=server.createobject("adodb.recordset")
sqltext="select * from Hover_Job order by id desc"
rs.open sqltext,conn,1,1

dim MaxPerPage
MaxPerPage=10

dim text,checkpage
text="0123456789"
Rs.PageSize=MaxPerPage
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 > MaxPerPage then
call showpages
end if

'显示帖子的子程序
Sub list()%>
<!-- #include file="Inc/Head.asp" -->
<BR>
      <table width="97%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableBorder">
        <tr bgcolor="#C0C0C0">
          <td colspan="7" bgcolor="#C0C0C0" class="title">招 聘 管 理</td>
        </tr>
        <tr bgcolor="#C0C0C0">
          <td colspan="7" bgcolor="#C0C0C0" class="title2">选择您需要更改的招聘管理信息。</td>
        </tr>
        <tr bgcolor="#C0C0C0">
          <td width="8%" height="25" align="center" bgcolor="#C0C0C0" class="items">ID</td>
          <td width="30%" align="center" class="items">招聘对象</td>
          <td width="11%" align="center" bgcolor="#C0C0C0" class="items">招聘人数</td>
          <td width="16%" align="center" bgcolor="#C0C0C0" class="items">发布时间</td>
          <td width="11%" align="center" bgcolor="#C0C0C0" class="items">有效期限</td>
          <td width="10%" align="center" class="items">操作</td>
          <td width="14%" align="center" class="items">操作</td>
        </tr>
        <%
if not rs.eof then
i=0
do while not rs.eof
%>
        <tr bgcolor="#E3E3E3">
          <td height="22" align="center" class="table"><%=rs("id")%></td>
          <td align="center" class="table">&nbsp;&nbsp;<%=rs("Duix")%></td>
          <td align="center" bgcolor="#E3E3E3" class="table"><%=rs("Rens")%>人</td>
          <td align="center" bgcolor="#E3E3E3" class="table"><%=rs("Time")%></td>
          <td align="center" bgcolor="#E3E3E3" class="table"><%=rs("Qix")%>天</td>
          <td align="center" bgcolor="#E3E3E3" class="table"><a href="Hover_Job_edit.asp?id=<%=rs("id")%>">修改</a></td>
          <td align="center" class="table"><a href="Hover_Job.asp?id=<%=rs("id")%>&amp;no=eshop">删除</a></td>
        </tr>
        <% 
i=i+1 
if i >= MaxPerpage then exit do 
rs.movenext 
loop 
end if 
%>
        <tr bgcolor="#C0C0C0">
          <td height="25" colspan="7" align="center" class="table">&nbsp;&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='Hover_Job.asp?&page="+cstr(1)+"'><font color='#000000'>首页</font></a><font color='#ffffff'> </font></strong>"
Response.write "<strong><a href='Hover_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='Hover_Job.asp?page="+Cstr(currentPage+1)+"'><font color='#000000'>下一页</font></a><font color='#ffffff'> </font>"
Response.write "<a href='Hover_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
'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&">&nbsp;"
'response.write "<input class=buttonface type='submit'  value='Go'  name='cndok'>&nbsp;&nbsp;"
%>          </td>
        </tr>
</table>
      <%
End sub
rs.close
%>
<BR>
<%htmlend%>

⌨️ 快捷键说明

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