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

This commit is contained in:
zero 2007-04-19 09:30:38 +00:00
parent 495ac679be
commit 73c940af39
16 changed files with 71 additions and 43 deletions

View file

@ -461,7 +461,8 @@
if(!$page) $page = 1;
// 전체 페이지를 구함
$total_page = (int)(($total_count-1)/$list_count) +1;
if($total_count) $total_page = (int)( ($total_count-1) / $list_count) + 1;
else $total_page = 1;
// 페이지 변수를 체크
if($page > $total_page) $page = $total_page;