<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div class="manu">
<c:if test="${paginationInfo.currentPage<=1}">
<span class="disabled">< 上一页</span>
</c:if>
<c:if test="${paginationInfo.currentPage>1}">
<a href="#" οnclick="pagination('${pageinationUrl}?paginationInfo.currentPage=${paginationInfo.currentPage-1 }')">< 上一页</a>
</c:if>
<c:if test="${(paginationInfo.currentPage-3)>1}">
<a href="#" οnclick="pagination('${pageinationUrl}?paginationInfo.currentPage=1')">1</a>...
</c:if>
<c:forEach var="x" begin="1" end="${paginationInfo.totalPage }"
step="1">
<c:if
test="${x<(paginationInfo.currentPage+4) && x>(paginationInfo.currentPage-4)}">
<c:if test="${x==paginationInfo.currentPage}">
<span class="current">${x }</span>
</c:if>
<c:if test="${x!=paginationInfo.currentPage}">
<a href="#" οnclick="pagination('${pageinationUrl}?paginationInfo.currentPage=${x}')">${x}</a>
</c:if>
</c:if>
</c:forEach>
<c:if test="${paginationInfo.currentPage+3<paginationInfo.totalPage }">...<a href="#"
οnclick="pagination('${pageinationUrl}?paginationInfo.currentPage=${paginationInfo.totalPage }')">${paginationInfo.totalPage
}</a>
</c:if>
<c:if test="${paginationInfo.currentPage>=paginationInfo.totalPage}">
<span class="disabled">下一页></span>
</c:if>
<c:if test="${paginationInfo.currentPage<paginationInfo.totalPage}">
<a href="#" οnclick="pagination('${pageinationUrl}?paginationInfo.currentPage=${paginationInfo.currentPage+1 }')">下一页></a>
</c:if>
</div>
function pagination(url) {
location.href = url+"&groupJobType="+$("#groupJobType").val();
}