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

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

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=GBK" %>
  2. <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
  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=SearchIndex&"+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. <%@ include file="Top/Top.jsp" %>
  20. <form action="" id="form1" method="POST">
  21. <table width="100" border="0" align="center" cellpadding="0" cellspacing="0">
  22.   <tr>
  23.     <td><img src="<%=request.getContextPath()%>/images/About_Banner.jpg" width="840" height="170" alt=""></td>
  24.   </tr>
  25. </table>
  26. <table width="840" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:6px;">
  27.   <tr>
  28.     <td width="166" height="488" valign="top" bgcolor="#F6F6F6"><%@ include file="Left/LeftMenu.jsp" %></td>
  29.     <td width="674" valign="top" style="padding:5px">
  30.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  31.         <tr>
  32.           <td>
  33.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  34.               <tr>
  35.                 <td width="30%">&nbsp;<strong><font color="#C80000" ><l:out CNLetter="全文查询" ENLetter=""/></font></strong></td>
  36.                 <td width="70%" valign="bottom"><div align="right" class="LoginTitle"><l:out CNLetter="当前位置:首页" ENLetter="Position:Home"/> &gt; <l:out CNLetter="查询结果" ENLetter=""/></div></td>
  37.               </tr>
  38.             </table>
  39.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  40.               <tr>
  41.                 <td height="2"></td>
  42.               </tr>
  43.               <tr>
  44.                 <td height="1" background="<%=request.getContextPath()%>/images/Lines.gif"></td>
  45.               </tr>
  46.             </table>
  47.           </td>
  48.         </tr>
  49.       </table>
  50.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  51.         <tr>
  52.           <td height="354" valign="top" style="padding:5px;">
  53.             <table width="640" border="0" cellPadding="0" cellSpacing="0" bgcolor="F4F4F4">
  54.               <tr>
  55.                 <td height="26" width="60"><div class="t4" align="center">序 号</div></td>
  56.                 <td width="440"><div class="t4" align="center">标 题</div></td>
  57.                 <td width="140"><div class="t4" align="center">所属模块</div></td>
  58.               </tr>
  59.             </table>
  60.             <c:forEach var="inf" items="${pageInfo.rows}" varStatus="status">
  61.               <c:if test="${(status.index + 1) % 2 != 0}">
  62.                 <table width="640" border="0" cellpadding="0" cellspacing="0">
  63.                   <tr>
  64.                     <td height="30" width="60"><div align="center"><c:out value="${status.index + 1}" /></div></td>
  65.                     <td width="440"><a href='<%=request.getContextPath()%>/Index.do?todo=OpenInfo&infID=<c:out value="${inf.inf_ID}" />&type=3&fMenuID=<c:out value="${inf.menu.men_Superior}" />'><c:out value="${inf.inf_Title}" /></a></td>
  66.                     <td width="140"><div align="center"><c:out value="${inf.menu.men_Name}" /></div></td>
  67.                   </tr>
  68.                 </table>
  69.               </c:if>
  70.               <c:if test="${(status.index + 1) % 2 == 0}">
  71.                 <table width="640" border="0" cellpadding="0" cellspacing="0" bgcolor="#f9f9f9">
  72.                   <tr>
  73.                     <td height="30" width="60"><div align="center"><c:out value="${status.index + 1}" /></div></td>
  74.                     <td width="440"><a href='<%=request.getContextPath()%>/Index.do?todo=OpenInfo&infID=<c:out value="${inf.inf_ID}" />&type=3&fMenuID=<c:out value="${inf.menu.men_Superior}" />'><c:out value="${inf.inf_Title}" /></a></td>
  75.                     <td width="140"><div align="center"><c:out value="${inf.menu.men_Name}" /></div></td>
  76.                   </tr>
  77.                 </table>
  78.               </c:if>
  79.             </c:forEach>
  80.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  81.               <tr>
  82.                 <td>
  83.                   <div align="right" >
  84.                     <c:if test="${sessionScope.Language == 'CN'}">
  85.                       共<c:out value="${pageInfo.totalRows}"/>条记录 共<c:out value="${pageInfo.totalPages}"/>页 当前第<c:out value="${pageInfo.currentPageNO+1}"/>页
  86.                     </c:if>
  87.                     <c:if test="${sessionScope.Language == 'EN'}">
  88.                       <c:out value="${pageInfo.totalRows}"/> Post in All, <c:out value="${pageInfo.totalPages}"/> Page in All, Page <c:out value="${pageInfo.currentPageNO+1}"/>
  89.                     </c:if>
  90.                     &nbsp;&nbsp;&nbsp;&nbsp;
  91.                     <c:choose>
  92.                       <c:when test="${pageInfo.firstPageNO>=pageInfo.currentPageNO}">
  93.                       <l:out CNLetter="第一页" ENLetter="first page"/>
  94.                       |
  95.                       <l:out CNLetter="上一页" ENLetter="Previous Page"/>
  96.                       </c:when>
  97.                       <c:otherwise>
  98.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.firstPageNO}"/>')"><l:out CNLetter="第一页" ENLetter="first page"/></a>
  99.                         |
  100.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.previousPageNO}"/>')"><l:out CNLetter="上一页" ENLetter="Previous Page"/></a>
  101.                       </c:otherwise>
  102.                     </c:choose>
  103.                     |
  104.                     <c:choose>
  105.                       <c:when test="${pageInfo.lastPageNO<=pageInfo.currentPageNO}">
  106.                       <l:out CNLetter="下一页" ENLetter="Next Page"/>
  107.                       |
  108.                       <l:out CNLetter="最后页" ENLetter="Last Page"/>
  109.                       </c:when>
  110.                       <c:otherwise>
  111.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.nextPageNO}"/>')"><l:out CNLetter="下一页" ENLetter="Next Page"/></a>
  112.                         |
  113.                         <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.lastPageNO}"/>')"><l:out CNLetter="最后页" ENLetter="Last Page"/></a>
  114.                       </c:otherwise>
  115.                     </c:choose>&nbsp;&nbsp;
  116.                   </div>
  117.                 </td>
  118.               </tr>
  119.             </table>
  120.           </td>
  121.         </tr>
  122.       </table>
  123.     </td>
  124.   </tr>
  125. </table>
  126. <%@ include file="Bottom.jsp" %>
  127. </form>
  128. </body>
  129. </html>