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

📄 pages.tag

📁 网上购物系统
💻 TAG
字号:
<%-- 分页显示 --%>
<%@ tag pageEncoding="UTF-8"  isELIgnored="false"%>
<%@ 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: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: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 }/ctopic.htm?tid=${param['tid'] }" ,document.getElementById("gopage1").value);'>跳转</a>
				</td>
			</tr>
		</table>
	</div>
	<!-- 发表回复新主题 -->
	<div class="page-right">
		<span>
			<a href="${pageContext.request.contextPath }/cposttopic.htm?forumid=23">
				<img src="templates/default/images/write-bbs.gif" border="0" alt="发表新主题" />
			</a>
		</span>
		<span>
			<a href="${pageContext.request.contextPath }/cpostreply.htm?tid=${topic.id }">
				<img src="templates/default/images/hf-bbs.jpg" border="0" alt="回复该主题" />
			</a>
		</span>
	</div>
</div>

⌨️ 快捷键说明

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