List2.jsp~31~
上传用户: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. </script>
  17. </head>
  18. <body bgcolor="#ffffff">
  19. <form action="" id="form1" method="POST">
  20. <%@ include file="Top/Top.jsp" %>
  21. <%@ include file="Top/MenuBanner.jsp" %>
  22. <table width="840" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:6px;">
  23.   <tr>
  24.     <td width="166" height="488" valign="top" bgcolor="#F6F6F6"><%@ include file="Left/LeftMenu.jsp" %></td>
  25.     <td width="674" valign="top" style="padding:5px">
  26.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  27.         <tr>
  28.           <td>
  29.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  30.               <tr>
  31.                 <td width="30%">&nbsp;<strong><font color="#C80000" ><c:out value="${title}" /></font></strong></td>
  32.                 <td width="70%" valign="bottom"><div align="right" class="LoginTitle">当前位置:首页 &gt; <c:out value="${menu.men_Name}" /> &gt; <c:out value="${title}" /></div></td>
  33.               </tr>
  34.             </table>
  35.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  36.               <tr>
  37.                 <td height="2"></td>
  38.               </tr>
  39.               <tr>
  40.                 <td height="1" background="images/Lines.gif"></td>
  41.               </tr>
  42.             </table>
  43.           </td>
  44.         </tr>
  45.       </table>
  46.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  47.         <tr>
  48.           <td height="354" valign="top" style="padding:5px;">
  49.             <c:forEach var="inf" items="${pageInfo.rows}" varStatus="status">
  50.               <table width="600" border="0" cellspacing="0" cellpadding="0">
  51.                 <tr>
  52.                   <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>
  53.                 </tr>
  54.                 <tr>
  55.                   <td class="LoginTitle"><c:out value="${inf.inf_Summary}" /></td>
  56.                 </tr>
  57.               </table>
  58.               <table width="500" border="0" cellspacing="0" cellpadding="0">
  59.                 <tr>
  60.                   <td height="10"></td>
  61.                 </tr>
  62.               </table>
  63.             </c:forEach>
  64.           </td>
  65.         </tr>
  66.       </table>
  67.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  68.               <tr>
  69.                 <td>
  70.                   <div align="right" >
  71.                     <c:if test="${sessionScope.Language == 'CN'}">
  72.                       共<c:out value="${pageInfo.totalRows}"/>条记录 共<c:out value="${pageInfo.totalPages}"/>页 当前第<c:out value="${pageInfo.currentPageNO+1}"/>页
  73.                     </c:if>
  74.                     <c:if test="${sessionScope.Language == 'EN'}">
  75.                       <c:out value="${pageInfo.totalRows}"/> Post in All, <c:out value="${pageInfo.totalPages}"/> Page in All, Page <c:out value="${pageInfo.currentPageNO+1}"/>
  76.                     </c:if>
  77.                     &nbsp;&nbsp;&nbsp;&nbsp;
  78.                     <c:choose>
  79.                       <c:when test="${pageInfo.firstPageNO>=pageInfo.currentPageNO}">
  80.                       <l:out CNLetter="第一页" ENLetter="first page"/>
  81.                       |
  82.                       <l:out CNLetter="上一页" ENLetter="Previous Page"/>
  83.                       </c:when>
  84.                       <c:otherwise>
  85.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.firstPageNO}"/>')"><l:out CNLetter="第一页" ENLetter="first page"/></a>
  86.                         |
  87.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.previousPageNO}"/>')"><l:out CNLetter="上一页" ENLetter="Previous Page"/></a>
  88.                       </c:otherwise>
  89.                     </c:choose>
  90.                     |
  91.                     <c:choose>
  92.                       <c:when test="${pageInfo.lastPageNO<=pageInfo.currentPageNO}">
  93.                       <l:out CNLetter="下一页" ENLetter="Next Page"/>
  94.                       |
  95.                       <l:out CNLetter="最后页" ENLetter="Last Page"/>
  96.                       </c:when>
  97.                       <c:otherwise>
  98.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.nextPageNO}"/>')"><l:out CNLetter="下一页" ENLetter="Next Page"/></a>
  99.                         |
  100.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.lastPageNO}"/>')"><l:out CNLetter="最后页" ENLetter="Last Page"/></a>
  101.                       </c:otherwise>
  102.                     </c:choose>&nbsp;&nbsp;
  103.                   </div>
  104.                 </td>
  105.               </tr>
  106.             </table>
  107.     </td>
  108.   </tr>
  109. </table>
  110. <%@ include file="Bottom.jsp" %>
  111. </form>
  112. </body>
  113. </html>