List2.jsp~31~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:5k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=GBK" %>
- <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
- <html>
- <head>
- <%@ include file="WebInfo.jsp" %>
- <script type="text/javascript">
- function doPost(params){
- var action="<%=request.getContextPath()%>/Index.do?todo=OpenIndexMenu&fMenuID=<c:out value="${param.fMenuID}" />&"+params;
- <c:if test="${param.cMenuID != null}">
- action += "&cMenuID=<c:out value="${param.cMenuID}" />"
- </c:if>
- var form=document.getElementById("form1");
- form.action=action;
- form.submit();
- }
- </script>
- </head>
- <body bgcolor="#ffffff">
- <form action="" id="form1" method="POST">
- <%@ include file="Top/Top.jsp" %>
- <%@ include file="Top/MenuBanner.jsp" %>
- <table width="840" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:6px;">
- <tr>
- <td width="166" height="488" valign="top" bgcolor="#F6F6F6"><%@ include file="Left/LeftMenu.jsp" %></td>
- <td width="674" valign="top" style="padding:5px">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="30%"> <strong><font color="#C80000" ><c:out value="${title}" /></font></strong></td>
- <td width="70%" valign="bottom"><div align="right" class="LoginTitle">当前位置:首页 > <c:out value="${menu.men_Name}" /> > <c:out value="${title}" /></div></td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="2"></td>
- </tr>
- <tr>
- <td height="1" background="images/Lines.gif"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="354" valign="top" style="padding:5px;">
- <c:forEach var="inf" items="${pageInfo.rows}" varStatus="status">
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <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>
- </tr>
- <tr>
- <td class="LoginTitle"><c:out value="${inf.inf_Summary}" /></td>
- </tr>
- </table>
- <table width="500" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="10"></td>
- </tr>
- </table>
- </c:forEach>
- </td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <div align="right" >
- <c:if test="${sessionScope.Language == 'CN'}">
- 共<c:out value="${pageInfo.totalRows}"/>条记录 共<c:out value="${pageInfo.totalPages}"/>页 当前第<c:out value="${pageInfo.currentPageNO+1}"/>页
- </c:if>
- <c:if test="${sessionScope.Language == 'EN'}">
- <c:out value="${pageInfo.totalRows}"/> Post in All, <c:out value="${pageInfo.totalPages}"/> Page in All, Page <c:out value="${pageInfo.currentPageNO+1}"/>
- </c:if>
-
- <c:choose>
- <c:when test="${pageInfo.firstPageNO>=pageInfo.currentPageNO}">
- <l:out CNLetter="第一页" ENLetter="first page"/>
- |
- <l:out CNLetter="上一页" ENLetter="Previous Page"/>
- </c:when>
- <c:otherwise>
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.firstPageNO}"/>')"><l:out CNLetter="第一页" ENLetter="first page"/></a>
- |
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.previousPageNO}"/>')"><l:out CNLetter="上一页" ENLetter="Previous Page"/></a>
- </c:otherwise>
- </c:choose>
- |
- <c:choose>
- <c:when test="${pageInfo.lastPageNO<=pageInfo.currentPageNO}">
- <l:out CNLetter="下一页" ENLetter="Next Page"/>
- |
- <l:out CNLetter="最后页" ENLetter="Last Page"/>
- </c:when>
- <c:otherwise>
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.nextPageNO}"/>')"><l:out CNLetter="下一页" ENLetter="Next Page"/></a>
- |
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.lastPageNO}"/>')"><l:out CNLetter="最后页" ENLetter="Last Page"/></a>
- </c:otherwise>
- </c:choose>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <%@ include file="Bottom.jsp" %>
- </form>
- </body>
- </html>