쇼핑몰관리자 코드 체크 및 정리

This commit is contained in:
chicpro
2014-03-27 11:24:04 +09:00
parent 55b104c251
commit 91c2dc8307
23 changed files with 29 additions and 29 deletions

View File

@ -20,7 +20,7 @@ $total_count = $row['cnt'];
$rows = $config['cf_page_rows'];
$total_page = ceil($total_count / $rows); // 전체 페이지 계산
if ($page == '') $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
if ($page < 1) $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
$from_record = ($page - 1) * $rows; // 시작 열을 구함
$sql = " select *