LeaveWordList.jsp~7~
上传用户: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>LeaveWordList</title>
  7. <script type="text/javascript">
  8. function doPost(params){
  9.   var action="<%=request.getContextPath()%>/Manage/LeaveWord.do?todo=OpenProduct"+"&"+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.       <table width="470" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  41.         <tr>
  42.           <td height="30" width="200" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>留言者</strong></td>
  43.           <td width="150" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>留言时间</strong></td>
  44.           <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
  45.         </tr>
  46.       </table>
  47.       <div id="divList">
  48.         <c:forEach var="lw" items="${pageInfo.rows}" varStatus="status">
  49.           <table width="470" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  50.             <tr>
  51.               <td height="25" width="200" class="table_Right">
  52.                 &nbsp;<c:out value="${lw.lea_Name}" />
  53.               </td>
  54.               <td width="150" align="center" class="table_Right">
  55.                 <bean:write name="lw" property="lea_Time" format="yyyy-MM-dd"/>
  56.               </td>
  57.               <td width="120" align="center" class="table_Right">
  58.                 <a href='<%=request.getContextPath()%>/Manage/LeaveWord.do?todo=OpenLeaveWordInfo&LeaID=<c:out value="${lw.lea_ID}" />'>编辑</a>
  59.                 &nbsp;|&nbsp;
  60.                 <a href='<%=request.getContextPath()%>/Manage/LeaveWord.do?todo=DeleteLeaveWord&LeaID=<c:out value="${lw.lea_ID}" />'>删除</a>
  61.               </td>
  62.             </tr>
  63.           </table>
  64.         </c:forEach>
  65.       </div>
  66.       <table width="470" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  67.         <tr>
  68.           <td valign="middle" colspan="9" align="center" class="STYLE1 table_Right" height="30">
  69.             <div align="right" >
  70.               共<c:out value="${pageInfo.totalRows}"/>条记录 共<c:out value="${pageInfo.totalPages}"/>页 当前第<c:out value="${pageInfo.currentPageNO+1}"/>页
  71.               &nbsp;&nbsp;&nbsp;&nbsp;
  72.               <c:choose>
  73.                 <c:when test="${pageInfo.firstPageNO>=pageInfo.currentPageNO}">
  74.                 第一页
  75.                 |
  76.                 上一页
  77.                 </c:when>
  78.                 <c:otherwise>
  79.                   <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.firstPageNO}"/>')">第一页</a>
  80.                   |
  81.                   <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.previousPageNO}"/>')">上一页</a>
  82.                 </c:otherwise>
  83.               </c:choose>
  84.               |
  85.               <c:choose>
  86.                 <c:when test="${pageInfo.lastPageNO<=pageInfo.currentPageNO}">
  87.                 下一页
  88.                 |
  89.                 最后页
  90.                 </c:when>
  91.                 <c:otherwise>
  92.                   <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.nextPageNO}"/>')">下一页</a>
  93.                   |
  94.                   <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.lastPageNO}"/>')">最后页</a>
  95.                 </c:otherwise>
  96.               </c:choose>&nbsp;&nbsp;
  97.             </div>
  98.           </td>
  99.         </tr>
  100.       </table>
  101.     </td>
  102.   </tr>
  103. </table>
  104. </form>
  105. </body>
  106. </html>