쇼핑몰 사용자 코드 체크 및 정리

This commit is contained in:
chicpro
2014-03-27 13:16:35 +09:00
parent c40e53c58b
commit 77e5cc7a23
27 changed files with 29 additions and 71 deletions

View File

@ -57,7 +57,7 @@ if (file_exists($list_file))
// 총몇개 = 한줄에 몇개 * 몇줄
$items = $ev['ev_list_mod'] * $ev['ev_list_row'];
// 페이지가 없으면 첫 페이지 (1 페이지)
if ($page == "") $page = 1;
if ($page < 1) $page = 1;
// 시작 레코드 구함
$from_record = ($page - 1) * $items;