Lines Matching refs:currentpage
318 $currentpage = floor($conf['offset']/$conf['limit'])+1;
322 $pages[] = $currentpage; // current always
330 if($currentpage-1 > 0) $pages[] = $currentpage-1;
331 if($currentpage-2 > 0) $pages[] = $currentpage-2;
332 if($currentpage-3 > 0) $pages[] = $currentpage-3;
333 if($currentpage+1 < $lastpage) $pages[] = $currentpage+1;
334 if($currentpage+2 < $lastpage) $pages[] = $currentpage+2;
335 if($currentpage+3 < $lastpage) $pages[] = $currentpage+3;
342 if($currentpage > 1){
344 ['pagination-start'=>$conf['limit']*($currentpage-2),
354 if($page == $currentpage){
365 if($currentpage < $lastpage){
367 ['pagination-start'=>$conf['limit']*($currentpage),