쇼핑몰 사용자 코드 체크 및 정리
This commit is contained in:
@ -37,7 +37,7 @@ include_once('./_head.php');
|
||||
// 전체 페이지 계산
|
||||
$total_page = ceil($total_count / $items);
|
||||
// 페이지가 없으면 첫 페이지 (1 페이지)
|
||||
if ($page == "") $page = 1;
|
||||
if ($page < 1) $page = 1;
|
||||
// 시작 레코드 구함
|
||||
$from_record = ($page - 1) * $items;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user