Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Job.asp
Package: qiyeguanli.rar [view]
Upload User: ahxunteng
Upload Date: 2022-05-16
Package Size: 1606k
Code Size: 5k
Category:
WEB(ASP,PHP,...)
Development Platform:
VBScript
- <!--#include file="bsconfig.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 "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 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 cellpadding="2" cellspacing="1" border="0" width="560" align="center" class="a2">
- <tr>
- <td class="a1" height="25" align="center"><strong>招 聘 管 理</strong></td>
- </tr>
- <tr class="a4">
- <td align="center">
- <br>
- <table width="550" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><div align="center">
- <table width="100%" border="0" cellspacing="2" cellpadding="3">
- <tr bgcolor="#C0C0C0">
- <td width="8%" height="25" bgcolor="#C0C0C0"> <div align="center">ID</div></td>
- <td width="30%"> <div align="center">招聘对象</div></td>
- <td width="11%" bgcolor="#C0C0C0"><div align="center">招聘人数</div></td>
- <td width="16%" bgcolor="#C0C0C0"><div align="center">发布时间</div></td>
- <td width="11%" bgcolor="#C0C0C0"><div align="center">有效期限</div></td>
- <td width="10%"> <div align="center">操作</div></td>
- <td width="14%"> <div align="center">操作</div></td>
- </tr>
- <%
- if not rs.eof then
- i=0
- do while not rs.eof
- %>
- <tr bgcolor="#E3E3E3">
- <td height="22"> <div align="center"><%=rs("id")%></div></td>
- <td> <%=rs("Duix")%></td>
- <td bgcolor="#E3E3E3"><div align="center"><%=rs("Rens")%>人</div></td>
- <td bgcolor="#E3E3E3"><div align="center"><%=rs("Time")%></div></td>
- <td bgcolor="#E3E3E3"><div align="center"><%=rs("Qix")%>天</div></td>
- <td bgcolor="#E3E3E3"> <div align="center"><a href="Job_edit.asp?id=<%=rs("id")%>">修改</a></div></td>
- <td> <div align="center"><a href="Job.asp?id=<%=rs("id")%>&no=eshop">删除</a></div></td>
- </tr>
- <%
- i=i+1
- if i >= MaxPerpage then exit do
- rs.movenext
- loop
- end if
- %>
- <tr bgcolor="#C0C0C0">
- <td height="25" colspan="7">
- <%
- 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'> "
- %>
- </td>
- </tr>
- </table>
- <%
- End sub
- rs.close
- %>
- </div></td>
- </tr>
- </table>
- <br>
- </td>
- </tr>
- </table>
- <BR>
- <%htmlend%>