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

This commit is contained in:
zero 2007-04-19 06:47:05 +00:00
parent f214d25f1b
commit 5c699bce50
8 changed files with 105 additions and 136 deletions

View file

@ -495,11 +495,11 @@
if(!$list_count) $list_count = 20;
$page_count = $output->page_count['value'];
if(!$page_count) $page_count = 10;
$page = $output->page->value;
$page = $output->page['value'];
if(!$page) $page = 1;
// 전체 페이지를 구함
$total_page = (int)(($total_count-1)/$list_count) +1;
$total_page = (int)(($total_count-1)/$list_count)+1;
// 페이지 변수를 체크
if($page > $total_page) $page = $total_page;