📄 pages.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;"> / ${requestScope.pagination.totalPage } 页</span>
</td>
<td style="width:10px;"> </td>
<td class="page-allpages">
<c:forEach items="${requestScope.pagination.content }" var="eachpage">
<c:choose>
<c:when test="${empty eachpage.url}">
${eachpage.page }
</c:when>
<c:otherwise>
<a href="${eachpage.url }">${eachpage.page }</a>
</c:otherwise>
</c:choose>
</c:forEach>
<!--
<c:if test="${not empty requestScope.pagination.next}">
<a href="/cforum.htm?ForumID=23&&page=10">»</a>
</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("/cforum.htm" ,document.getElementById("gopage1").value);'>跳转</a>
</td>
</tr>
</table>
</div>
<div class="page-right">
<a href="${pageContext.request.contextPath }/cposttopic.htm?sid=${param['sid'] }">
<img src="templates/default/images/write-bbs.gif" alt="发布新帖" />
</a>
</div>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -