⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pages.tag

📁 网上购物系统
💻 TAG
字号:
<%-- 分页显示 --%>
<%@ tag pageEncoding="UTF-8"  isELIgnored="false"%>
<%@ taglib prefix="tag" tagdir="/WEB-INF/tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<div class="pages-nav">
	<div class="page-left"> 
  			<table border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td class="page-allpages">
						<span style="color:#4ab3e6;">${requestScope.pagination.current }</span>
						<span style="color:#666;">&nbsp;&nbsp;/&nbsp;&nbsp;${requestScope.pagination.totalPage }&nbsp;&nbsp;页</span>
					</td>
					<td style="width:10px;">&nbsp;</td>
					<td class="page-allpages">
					<c:choose>
						<c:when test="${empty requestScope.pagination.content }">
							1
						</c:when>
						<c:otherwise>
							<c:forEach items="${requestScope.pagination.content }" var="eachpage">
							<c:choose>
								<c:when test="${empty eachpage.url}">
									&nbsp;${eachpage.page }&nbsp;
								</c:when>
								<c:otherwise>
									&nbsp;<a href="${eachpage.url }">${eachpage.page }</a>&nbsp;
								</c:otherwise>
							</c:choose>
						</c:forEach>	
						</c:otherwise>
					</c:choose>
						
						<!-- 					
						<c:if test="${not empty requestScope.pagination.next}">
							<a href="/cforum.htm?ForumID=23&&page=10">&raquo;</a>&nbsp;
						</c:if>
						 -->
					</td>
					<td class="page-allpages3">
						第<input  name="gopage1" type="text" id="gopage1"  size="4" maxlength="9" style="border:1px solid #BDDAF7;"/>页
						<a href='javascript:CFroumGoto("${pageContext.request.contextPath }/search.htm?" ,document.getElementById("gopage1").value);'>跳转</a>
					</td>
				</tr>
			</table>
  </div>
	<div class="page-right2">共搜索到${empty requestScope.pagination.total?0:requestScope.pagination.total }个符合条件的帖子</div>
</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -