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

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

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=GBK" %>
  2. <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  3. <html>
  4. <head>
  5. <%@ include file="WebInfo.jsp" %>
  6. <script type="text/javascript">
  7. function doPost(params){
  8.   var action="<%=request.getContextPath()%>/Index.do?todo=OpenIndexMenu&fMenuID=<c:out value="${param.fMenuID}" />&"+params;
  9.   <c:if test="${param.cMenuID != null}">
  10.   action += "&cMenuID=<c:out value="${param.cMenuID}" />"
  11.   </c:if>
  12.   var form=document.getElementById("form1");
  13.   form.action=action;
  14.   form.submit();
  15. }
  16. </head>
  17. <body bgcolor="#ffffff">
  18. <form action="" id="form1" method="POST">
  19. <%@ include file="Top/Top.jsp" %>
  20. <%@ include file="Top/MenuBanner.jsp" %>
  21. <table width="840" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:6px;">
  22.   <tr>
  23.     <td width="166" height="488" valign="top" bgcolor="#F6F6F6"><%@ include file="Left/LeftMenu.jsp" %></td>
  24.     <td width="674" valign="top" style="padding:5px">
  25.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  26.         <tr>
  27.           <td>
  28.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  29.               <tr>
  30.                 <td width="30%">&nbsp;<strong><font color="#C80000" ><c:out value="${title}" /></font></strong></td>
  31.                 <td width="70%" valign="bottom"><div align="right" class="LoginTitle">当前位置:首页 &gt; <c:out value="${menu.men_Name}" /> &gt; <c:out value="${title}" /></div></td>
  32.               </tr>
  33.             </table>
  34.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  35.               <tr>
  36.                 <td height="2"></td>
  37.               </tr>
  38.               <tr>
  39.                 <td height="1" background="images/Lines.gif"></td>
  40.               </tr>
  41.             </table>
  42.           </td>
  43.         </tr>
  44.       </table>
  45.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  46.         <tr>
  47.           <td height="354" valign="top" style="padding:5px;">
  48.             <c:forEach var="inf" items="${pageInfo.rows}" varStatus="status">
  49.               <table width="600" border="0" cellspacing="0" cellpadding="0">
  50.                 <tr>
  51.                   <td><a href='<%=request.getContextPath()%>/Index.do?todo=OpenInfo&infID=<c:out value="${inf.inf_ID}" />&type=<c:out value="${type}" />&fMenuID=<c:out value="${menu.men_ID}" />' class="Responsible_Link"><c:out value="${status.index + 1}" />.<c:out value="${inf.inf_Title}" /></a>(<span class="Date"><bean:write name="inf" property="inf_Time" format="yyyy-MM-dd"/></span>)</td>
  52.                 </tr>
  53.                 <tr>
  54.                   <td class="LoginTitle"><c:out value="${inf.inf_Summary}" /></td>
  55.                 </tr>
  56.               </table>
  57.               <table width="500" border="0" cellspacing="0" cellpadding="0">
  58.                 <tr>
  59.                   <td height="10"></td>
  60.                 </tr>
  61.               </table>
  62.             </c:forEach>
  63.           </td>
  64.         </tr>
  65.       </table>
  66.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  67.               <tr>
  68.                 <td>
  69.                   <div align="right" >
  70.                     <c:if test="${sessionScope.Language == 'CN'}">
  71.                       共<c:out value="${pageInfo.totalRows}"/>条记录 共<c:out value="${pageInfo.totalPages}"/>页 当前第<c:out value="${pageInfo.currentPageNO+1}"/>页
  72.                     </c:if>
  73.                     <c:if test="${sessionScope.Language == 'EN'}">
  74.                       <c:out value="${pageInfo.totalRows}"/> Post in All, <c:out value="${pageInfo.totalPages}"/> Page in All, Page <c:out value="${pageInfo.currentPageNO+1}"/>
  75.                     </c:if>
  76.                     &nbsp;&nbsp;&nbsp;&nbsp;
  77.                     <c:choose>
  78.                       <c:when test="${pageInfo.firstPageNO>=pageInfo.currentPageNO}">
  79.                       <l:out CNLetter="第一页" ENLetter="first page"/>
  80.                       |
  81.                       <l:out CNLetter="上一页" ENLetter="Previous Page"/>
  82.                       </c:when>
  83.                       <c:otherwise>
  84.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.firstPageNO}"/>')"><l:out CNLetter="第一页" ENLetter="first page"/></a>
  85.                         |
  86.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.previousPageNO}"/>')"><l:out CNLetter="上一页" ENLetter="Previous Page"/></a>
  87.                       </c:otherwise>
  88.                     </c:choose>
  89.                     |
  90.                     <c:choose>
  91.                       <c:when test="${pageInfo.lastPageNO<=pageInfo.currentPageNO}">
  92.                       <l:out CNLetter="下一页" ENLetter="Next Page"/>
  93.                       |
  94.                       <l:out CNLetter="最后页" ENLetter="Last Page"/>
  95.                       </c:when>
  96.                       <c:otherwise>
  97.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.nextPageNO}"/>')"><l:out CNLetter="下一页" ENLetter="Next Page"/></a>
  98.                         |
  99.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.lastPageNO}"/>')"><l:out CNLetter="最后页" ENLetter="Last Page"/></a>
  100.                       </c:otherwise>
  101.                     </c:choose>&nbsp;&nbsp;
  102.                   </div>
  103.                 </td>
  104.               </tr>
  105.             </table>
  106.     </td>
  107.   </tr>
  108. </table>
  109. <%@ include file="Bottom.jsp" %>
  110. </form>
  111. </body>
  112. </html>