List.asp
资源名称:NetPhone.rar [点击查看]
上传用户:xxtaishan
上传日期:2022-01-02
资源大小:4063k
文件大小:4k
源码类别:
IP电话/视频会议
开发平台:
ASP/ASPX
- <!--#include file="../../inc/conn.asp"-->
- <html>
- <head>
- <title>记录列表</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <LINK REL="stylesheet" HREF="../images/ccs.css" TYPE="text/css">
- <style type="text/css">
- <!--
- .style1 {
- color: #FFFFFF;
- font-weight: bold;
- }
- -->
- </style>
- </head>
- <body bgcolor="#FFFFFF" text="#000000">
- <%
- Dim sql
- sql=" select * from job order by id desc "
- Dim rs
- Set rs=Server.CreateObject("ADODB.RecordSet")
- rs.open sql,conn,1,1
- Dim page,i
- if request("page")="" then
- page=1
- else
- page=clng(request("page"))
- end if
- i=0
- rs.pagesize=15
- if page<1 then page=1
- if page>rs.pagecount then page=rs.pagecount
- if rs.pagecount>0 then rs.absolutepage=page
- %> <form name="hrform" method="post"> <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR>
- <TD>招聘信息管理↓</TD>
- </TR></TABLE>
- <table width="100%" border="1" cellspacing="0" cellpadding="2" align="center" bordercolordark="#ffffff" bordercolorlight="#000000">
- <tr bgcolor="#3366CC">
- <td width="3%" height="22"><font color="#FFFFFF"><b></b> </font></td>
- <td width="15%" height="22"><span class="style1">岗位</span></td>
- <td width="12%"><b><font color="#FFFFFF">数量</font></b></td>
- <td width="53%"><span class="style1">待 遇</span></td>
- <td width="17%"><span class="style1">发布时间</span></td>
- </tr>
- <%
- if rs.eof then
- response.write "<tr><td colspan='7'><font color='red'>系统中还没有录入任何信息!</font></td></tr>"
- else
- Do while not rs.eof and i<rs.pagesize
- %>
- <tr>
- <td width="3%">
- <div align="center">
- <input type="checkbox" id="checkbox" value="<%=rs("id")%>" name="checkbox" onClick="chkclick();">
- </div> </td>
- <td width="15%"><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("job")%></a></td>
- <td width="12%"><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("num")%></a></td>
- <td width="53%"><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("payment")%></a></td>
- <td width="17%"><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("regtime")%></a></td>
- </tr>
- <%
- rs.MoveNext
- i=i+1
- Loop
- end if
- %>
- </table>
- <table width="100%" height="30" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr> <td width="23%"> <input type=checkbox name='chkall' onClick='chooseall(document.hrform.checkbox,this);'>
- 全选 <input type=checkbox name='chkl' onClick='choosefalse(document.hrform.checkbox,this);'>
- 反选 </td><td width="77%"> <div align="right"> 共 <%=rs.recordcount%> 条 页 次 <%=page%>/<%=rs.pagecount%>
- <a href="?PAGE=1">首页</a> <%if rs.pagecount>1 then
- if page=1 then%> | 上页 | <a href="?PAGE=<%=(page+1)%>"> 下页</a> <%else
- if page=rs.pagecount then%> <a href="?PAGE=<%=(page-1)%>">上页</a>
- | 下页 <%else%> | <a href="?PAGE=<%=(page-1)%>">上页</a> | <a href="?PAGE=<%=(page+1)%>">
- 下页</a> <%end if%> <%end if%> <%end if%> | <a href="?PAGE=<%=rs.pagecount%>">
- 尾页</a> 第 <select name="sel_page" onChange="javascript:location=this.options[this.selectedIndex].value;">
- <%
- for i = 1 to rs.PageCount
- if i = page then%> <option value="?PAGE=<%=i%>" selected><%=i%></option>
- <%else%> <option value="?PAGE=<%=i%>"><%=i%></option> <%
- end if
- next
- %> </select> 页</div></td></tr> </table></form>
- <table width="100%" border="0" cellspacing="0" cellpadding="1">
- <tr>
- <td>
- <input type="button" value="刷新" onClick="history.go(0);" name="button2">
- <INPUT TYPE="button" NAME="Submit" VALUE="重载" onClick="location.href='?';">
- <input type="button" value="查看" onClick="record_show();" name="show" disabled>
- <input name="add" type="button" id="add" onClick="record_add();" value="添加">
- <input type="button" value="修改" onClick="record_edit();" name="edit" disabled>
- <input type="button" value="删除" onClick="record_del();" name="del" disabled>
- <DIV ALIGN="RIGHT"></DIV>
- </td>
- <form name="form2" method="post" action="?">
- </form>
- </tr>
- </table>
- <script src="Use.js"></script>
- </body>
- </html>
- <%
- call COCLS
- %>