<%--
  Created by IntelliJ IDEA.
  User: YangKui
  Date: 13-6-12
  Time: 下午8:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<div id="off_table_fanye" class="pull-right" style="margin-top: 15px;padding-bottom: 15px;">
	<input type="hidden" name="page" id="page_currentPage" value="${page.number}" /> 
	<input type="hidden" name="size" id="page_pageSize" value="${page.size}" /> 
	<input type="hidden" id="page_pageCount" value="${page.totalPages}" /> 
	<input type="hidden" id="page_recordCount"	value="${page.totalElements}" />
	<input type="hidden" id="sortType" name="sortType" value="${sortType}" /> 
	<input type="hidden" id="orderParm" name="orderParm" value="${orderParm}" />

	<c:choose>
		<c:when test="${page.number > 0}">
			<span><a name="" class="oa-btn oa-btn-white" onclick="$.page.formSubmit(this.form, '1');">首页</a></span>
			<span><a name="" class="oa-btn oa-btn-white" onclick="$.page.formSubmit(this.form, '${page.number}');">上一页</a></span>
		</c:when>
		<c:otherwise>
		</c:otherwise>
	</c:choose>
	 <c:if test="${page.totalPages > 1}">
	 	<span style="margin-left:8px;"> 第 <input id="current_pg" value="${page.number+1}" oa-pre-value="${page.number+1}" type="text"  class="oa-input" style="width:40px" onblur="return $.page.enterPageNum(this.form, this.value,event,'${page.totalPages}');"/> 页,</span>
	</c:if>
	<span>共${page.totalPages}页</span>
	<c:choose>
		<c:when test="${page.number+1 < page.totalPages}">
			<span> <a name="" class="oa-btn oa-btn-white" onclick="$.page.formSubmit(this.form, '${page.number+2}');">下一页</a></span>
			<span> <a name="" class="oa-btn oa-btn-white" onclick="$.page.formSubmit(this.form, '${page.totalPages}');">尾页</a></span>
		</c:when>
		<c:otherwise>
		</c:otherwise>
	</c:choose>
</div>