모바일 상품 출력수 설정 변경
This commit is contained in:
@ -53,7 +53,6 @@ if ($is_admin)
|
||||
// 리스트 유형별로 출력
|
||||
$list_file = G4_MSHOP_PATH.'/'.$ca['ca_mobile_skin'];
|
||||
if (file_exists($list_file)) {
|
||||
$list_mod = $ca['ca_mobile_list_mod'];
|
||||
$list_row = $ca['ca_mobile_list_row'];
|
||||
$img_width = $ca['ca_mobile_img_width'];
|
||||
$img_height = $ca['ca_mobile_img_height'];
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
// $list_mod 가로 나열 수
|
||||
// $list_row 상품 수
|
||||
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
|
||||
@ -1,10 +1,8 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 총몇개 = 한줄에 몇개 * 몇줄
|
||||
$items = $list_mod * $list_row;
|
||||
// <TD> 태그 폭
|
||||
$td_width = (int)(100 / $list_mod);
|
||||
// 상품수
|
||||
$items = $list_row;
|
||||
|
||||
$sql = "select COUNT(*) as cnt $sql_common ";
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
Reference in New Issue
Block a user