List.asp
资源名称:NetPhone.rar [点击查看]
上传用户:xxtaishan
上传日期:2022-01-02
资源大小:4063k
文件大小:5k
源码类别:
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 jobs 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="4%" height="22"><font color="#FFFFFF"><b></b> </font></td>
- <td width="10%" height="22"><span class="style1">岗位</span></td>
- <td width="8%"><b><font color="#FFFFFF">姓名</font></b></td>
- <td width="5%"><span class="style1">性别</span></td>
- <td width="7%"><span class="style1">学历</span></td>
- <td width="26%"><span class="style1">专业</span></td>
- <td width="18%"><span class="style1">毕业院校</span></td>
- <td width="14%"><span class="style1">现居城市</span></td>
- <td width="8%"><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="4%">
- <div align="center">
- <input type="checkbox" id="checkbox" value="<%=rs("id")%>" name="checkbox" onClick="chkclick();">
- </div> </td>
- <td width="10%"><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("job")%></a></td>
- <td width="8%"><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("name")%></a></td>
- <td><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("sex")%> </a></td>
- <td><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("xl")%> </a></td>
- <td><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("zy")%> </a></td>
- <td><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("college")%> </a></td>
- <td><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("city")%> </a></td>
- <td width="8%"><a href="List_Edit.asp?checkbox=<%=rs("id")%>"><%=rs("atime")%></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 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
- %>