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