git-svn-id: http://xe-core.googlecode.com/svn/trunk@1411 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-16 01:57:34 +00:00
parent c459b1bf0d
commit 1b727a32a1
6 changed files with 141 additions and 17 deletions

View file

@ -31,7 +31,7 @@
$first_page = $cur_page-(int)($page_count/2);
if($first_page<1) $first_page = 1;
$last_page = $first_page+$page_count-1;
$last_page = $total_page;
if($last_page>$total_page) $last_page = $total_page;
$this->first_page = $first_page;