作者:手机用户2502895293 | 来源:互联网 | 2024-10-16 18:03
"get"
id= class= method= action=>
"hidden" name= id= value= />
"hidden" name= value= >
"hidden" name= value= >
#set(
$current_page_num =
$paginator.page)
#if(!
$current_page_num)
#set(
$current_page_num =
0)
#end#set(
$itemsPerpage =
$paginator.itemsPerPage)
#if(!
$itemsPerpage)
#set(
$itemsPerpage =
0)
#end#set(
$total_page_num =
$paginator.getPages())
#if(!
$total_page_num)
#set(
$total_page_num =
0)
#end#set(
$beginIndex =
$paginator.beginIndex)
#if(!
$beginIndex)
#set(
$beginIndex =
0)
#end#set(
$endIndex =
$paginator.endIndex)
#if(!
$endIndex)
#set(
$endIndex =
0)
#end#set(
$items =
$paginator.items)
#if(!
$items)
#set(
$items =
0)
#end#set(
$btn_go_status = )
#if(
$items ==
0)
#set(
$btn_go_status = )
#end#set(
$tmp_page_num =
0)
#set(
$pre_page =
0)
#set(
$next_page =
0)
"t-pagination" >
"53%" class= > #if( $current_page_num > 1) [ >最前页 ] #else [最前页] #end
#if( $current_page_num > 1) #set( $pre_page = $current_page_num - 1) [ >上一页 ] #else [上一页] #end
#if( $current_page_num <$total_page_num) #set( $next_page = $current_page_num + 1) [>下一页 ] #else [下一页] span> #end #if( $current_page_num <$total_page_num) [>最末页 ] #else [最末页] span> #end
[页数 $current_page_num of $total_page_num] span>
#if( $current_page_num > 3 && $total_page_num > 5) ... #end
#set( $tmp_page_num = $current_page_num - 4) #if( $tmp_page_num > 0 && $total_page_num - $current_page_num <1) [ >$!tmp_page_num a> ] span> #end
#set( $tmp_page_num = $current_page_num - 3) #if( $tmp_page_num > 0 && $total_page_num - $current_page_num <2) [ >$!tmp_page_num a> ] span> #end
#set( $tmp_page_num = $current_page_num - 2) #if( $tmp_page_num > 0) [>$!tmp_page_num a> ] span> #end
#set( $tmp_page_num = $current_page_num - 1) #if( $tmp_page_num > 0) [>$!tmp_page_num a> ] span> #end
#if( $current_page_num > 0) "curent-pagenum"> [$current_page_num ] span> #end
#set( $tmp_page_num = $current_page_num + 1) #if( $tmp_page_num <= $total_page_num) [ >$!tmp_page_num a> ] span> #end
#set( $tmp_page_num = $current_page_num + 2) #if( $tmp_page_num <= $total_page_num) [ >$!tmp_page_num a> ] span> #end
#set( $tmp_page_num = $current_page_num + 3) #if( $tmp_page_num <= $total_page_num && $current_page_num <= 2) [ >$!tmp_page_num a> ] span> #end
#set( $tmp_page_num = $current_page_num + 4) #if( $tmp_page_num <= $total_page_num && $current_page_num <= 1) [ >$!tmp_page_num a> ] span> #end
#if( $current_page_num + 2 <$total_page_num && $total_page_num > 5) ... #end |
"19%">"font11">跳页: "page_num" class= type= size= value= > "button" value= OnClick= $btn_go_status> |
"28%"> |