모바일에서는 모바일 페이지당 라인수로 적용하도록 수정 (coDribble님,220414)

This commit is contained in:
kagla
2022-04-14 16:01:25 +09:00
parent 258f94e597
commit 6449af2b57
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -49,7 +49,7 @@ if ($total_count == 0)
alert('주문이 존재하지 않습니다.');
}
$rows = $config['cf_page_rows'];
$rows = $config['cf_mobile_page_rows'];
$total_page = ceil($total_count / $rows); // 전체 페이지 계산
if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
$from_record = ($page - 1) * $rows; // 시작 열을 구함