mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1236 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f214d25f1b
commit
5c699bce50
8 changed files with 105 additions and 136 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue