JobsList.jsp~11~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:5k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=GBK" %>
- <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
- <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
- <html>
- <head>
- <title>JobsList</title>
- <script type="text/javascript">
- function doPost(params){
- var action="<%=request.getContextPath()%>/Manage/newsActionForm.do?todo=OpenNewsList"+"&"+params;
- var form=document.getElementById("form");
- form.action=action;
- form.submit();
- }
- </script>
- <link href="Css/skinv2.0.css" rel="stylesheet" type="text/css" />
- </head>
- <body bgcolor="#ffffff">
- <form name="form" id="form" method="post" action="News.jsp">
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr bgcolor="#cfdbe8">
- <td style="WIDTH: 20px" width="20" bgColor="#cfdbe8" height="19"> <img height="10" src="<%=request.getContextPath()%>/Manage/images/icon.gif" width="12" alt="" /></td>
- <td valign="middle" bgcolor="#cfdbe8" colSpan="2"> 人力资源栏目</td>
- </tr>
- <tr>
- <td style="HEIGHT: 31px" valign="top" align="left" height="80"> </td>
- <td style="HEIGHT: 31px" valign="middle" align="left" colSpan="2">
- <img src="<%=request.getContextPath()%>/Manage/images/edit.gif" alt="" />
- 英才招聘
- </td>
- </tr>
- <tr>
- <td style="HEIGHT: 1px" valign="top" align="left"></td>
- <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
- <td style="HEIGHT: 1px" valign="top" align="left" width="144"></td>
- </tr>
- <tr>
- <td style="HEIGHT: 381px" valign="top" align="left"></td>
- <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
- <br />
- <a href="<%=request.getContextPath()%>/Manage/Jobs.do?todo=OpenJobsInfo">点这里添加新的招聘信息</a>
- <br/><br />
- <table width="760" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td height="30" width="300" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>职位名称</strong></td>
- <td width="150" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>招聘人数</strong></td>
- <td width="130" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>发布时间</strong></td>
- <td width="180" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
- </tr>
- </table>
- <div id="divList">
- <c:forEach var="jobs" items="${pageInfo.rows}" varStatus="status">
- <table width="760" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td height="25" width="300" class="table_Right">
- <c:out value="${jobs.job_Title}" />
- </td>
- <td width="150" align="center" class="table_Right">
- <c:out value="${jobs.job_Count}" />
- </td>
- <td width="130" align="center" class="table_Right">
- <bean:write name="jobs" property="job_IssuanceTime" format="yyyy-MM-dd"/>
- </td>
- <td width="180" align="center" class="table_Right">
- <a href='<%=request.getContextPath()%>/Manage/Jobs.do?todo=OpenJobsInfo&jobID=<c:out value="${jobs.job_ID}" />'>编辑</a>
- |
- <a href='<%=request.getContextPath()%>/Manage/Jobs.do?todo=DeleteJobs&jobID=<c:out value="${jobs.job_ID}" />'>删除</a>
- |
- <a href='<%=request.getContextPath()%>/Manage/Resume.do?todo=OpenResumeList'>应聘</a>
- </td>
- </tr>
- </table>
- </c:forEach>
- </div>
- <table width="760" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td valign="middle" colspan="9" align="center" class="STYLE1 table_Right" height="30">
- <div align="right" >
- 共<c:out value="${pageInfo.totalRows}"/>条记录 共<c:out value="${pageInfo.totalPages}"/>页 当前第<c:out value="${pageInfo.currentPageNO+1}"/>页
-
- <c:choose>
- <c:when test="${pageInfo.firstPageNO>=pageInfo.currentPageNO}">
- 第一页
- |
- 上一页
- </c:when>
- <c:otherwise>
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.firstPageNO}"/>')">第一页</a>
- |
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.previousPageNO}"/>')">上一页</a>
- </c:otherwise>
- </c:choose>
- |
- <c:choose>
- <c:when test="${pageInfo.lastPageNO<=pageInfo.currentPageNO}">
- 下一页
- |
- 最后页
- </c:when>
- <c:otherwise>
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.nextPageNO}"/>')">下一页</a>
- |
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.lastPageNO}"/>')">最后页</a>
- </c:otherwise>
- </c:choose>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </form>
- </body>
- </html>