JobsList.jsp~5~
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:5k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=GBK" %>
  2. <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
  3. <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  4. <html>
  5. <head>
  6. <title>JobsList</title>
  7. <script type="text/javascript">
  8. function doPost(params){
  9.   var action="<%=request.getContextPath()%>/Manage/newsActionForm.do?todo=OpenNewsList"+"&"+params;
  10.   var form=document.getElementById("form");
  11.   form.action=action;
  12.   form.submit();
  13. }
  14. </script>
  15. <link href="Css/skinv2.0.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body bgcolor="#ffffff">
  18. <form name="form" id="form" method="post" action="News.jsp">
  19. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  20.   <tr bgcolor="#cfdbe8">
  21.     <td style="WIDTH: 20px" width="20" bgColor="#cfdbe8" height="19">&nbsp;<img height="10" src="<%=request.getContextPath()%>/Manage/images/icon.gif" width="12" alt="" /></td>
  22.     <td valign="middle" bgcolor="#cfdbe8" colSpan="2">&nbsp; 人力资源栏目</td>
  23.   </tr>
  24.   <tr>
  25.     <td style="HEIGHT: 31px" valign="top" align="left" height="80">&nbsp;</td>
  26.     <td style="HEIGHT: 31px" valign="middle" align="left" colSpan="2">
  27.       &nbsp;<img src="<%=request.getContextPath()%>/Manage/images/edit.gif" alt="" />
  28.       &nbsp;英才招聘
  29.     </td>
  30.   </tr>
  31.   <tr>
  32.     <td style="HEIGHT: 1px" valign="top" align="left"></td>
  33.     <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
  34.     <td style="HEIGHT: 1px" valign="top" align="left" width="144"></td>
  35.   </tr>
  36.   <tr>
  37.     <td style="HEIGHT: 381px" valign="top" align="left"></td>
  38.     <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
  39.       <br />
  40.       <a href="<%=request.getContextPath()%>/Manage/Jobs.do?todo=OpenJobsInfo">点这里添加新的招聘信息</a>
  41.       <br/><br />
  42.       <table width="700" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  43.         <tr>
  44.           <td height="30" width="300" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>职位名称</strong></td>
  45.           <td width="150" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>招聘人数</strong></td>
  46.           <td width="130" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>发布时间</strong></td>
  47.           <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
  48.         </tr>
  49.       </table>
  50.       <div id="divList">
  51.         <c:forEach var="jobs" items="${pageInfo.rows}" varStatus="status">
  52.           <table width="700" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  53.             <tr>
  54.               <td height="25" width="300" class="table_Right">
  55.                 &nbsp;<c:out value="${jobs.job_Title}" />
  56.               </td>
  57.               <td width="150" align="center" class="table_Right">
  58.                 <c:out value="${jobs.job_Count}" />
  59.               </td>
  60.               <td width="130" align="center" class="table_Right">
  61.                 <bean:write name="jobs" property="job_IssuanceTime" format="yyyy-MM-dd"/>
  62.               </td>
  63.               <td width="120" align="center" class="table_Right">
  64.                 <a href='<%=request.getContextPath()%>/Manage/Jobs.do?todo=OpenJobsInfo&jobID=<c:out value="${jobs.job_ID}" />'>编辑</a>
  65.                 &nbsp;|&nbsp;
  66.                 <a href='<%=request.getContextPath()%>/Manage/Jobs.do?todo=DeleteJobs&jobID=<c:out value="${jobs.job_ID}" />'>删除</a>
  67.                 &nbsp;|&nbsp;
  68.                 <a href='<%=request.getContextPath()%>//Manage/Resume'>应聘</a>
  69.               </td>
  70.             </tr>
  71.           </table>
  72.         </c:forEach>
  73.       </div>
  74.       <table width="700" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  75.         <tr>
  76.           <td valign="middle" colspan="9" align="center" class="STYLE1 table_Right" height="30">
  77.             <div align="right" >
  78.               共<c:out value="${pageInfo.totalRows}"/>条记录 共<c:out value="${pageInfo.totalPages}"/>页 当前第<c:out value="${pageInfo.currentPageNO+1}"/>页
  79.               &nbsp;&nbsp;&nbsp;&nbsp;
  80.               <c:choose>
  81.                 <c:when test="${pageInfo.firstPageNO>=pageInfo.currentPageNO}">
  82.                 第一页
  83.                 |
  84.                 上一页
  85.                 </c:when>
  86.                 <c:otherwise>
  87.                   <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.firstPageNO}"/>')">第一页</a>
  88.                   |
  89.                   <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.previousPageNO}"/>')">上一页</a>
  90.                 </c:otherwise>
  91.               </c:choose>
  92.               |
  93.               <c:choose>
  94.                 <c:when test="${pageInfo.lastPageNO<=pageInfo.currentPageNO}">
  95.                 下一页
  96.                 |
  97.                 最后页
  98.                 </c:when>
  99.                 <c:otherwise>
  100.                   <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.nextPageNO}"/>')">下一页</a>
  101.                   |
  102.                   <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.lastPageNO}"/>')">最后页</a>
  103.                 </c:otherwise>
  104.               </c:choose>&nbsp;&nbsp;
  105.             </div>
  106.           </td>
  107.         </tr>
  108.       </table>
  109.     </td>
  110.   </tr>
  111. </table>
  112. </form>
  113. </body>
  114. </html>