From a52322e3173056528b2ffacf6bbeba5de9ad4383 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 26 Jul 2013 10:33:06 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=BC=EB=A6=AC=EB=AC=B8=20=ED=95=9C?= =?UTF-8?q?=EC=A4=84=EB=A1=9C=20=EB=82=98=EC=98=A4=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/list.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/shop/list.php b/shop/list.php index 424073478..9c1b0aa87 100644 --- a/shop/list.php +++ b/shop/list.php @@ -75,11 +75,7 @@ if ($is_admin) // 하위분류 포함 // 판매가능한 상품만 - $sql_common = " from {$g4['shop_item_table']} - where (ca_id like '{$ca_id}%' - or ca_id2 like '{$ca_id}%' - or ca_id3 like '{$ca_id}%') - and it_use = '1' "; + $sql_common = " from {$g4['shop_item_table']} where (ca_id like '{$ca_id}%' or ca_id2 like '{$ca_id}%' or ca_id3 like '{$ca_id}%') and it_use = '1' "; $error = '

등록된 상품이 없습니다.

'; @@ -88,6 +84,7 @@ if ($is_admin) if (file_exists($list_file)) { //display_type(2, "maintype10.inc.php", 4, 2, 100, 100, $ca[ca_id]); + /* $list_mod = $ca['ca_list_mod']; $list_row = $ca['ca_list_row']; $img_width = $ca['ca_img_width']; @@ -99,9 +96,13 @@ if ($is_admin) $sql = $sql_list1 . $sql_common . $sql_list2 . " limit $from_record, $items "; $result = sql_query($sql); - echo '
'; - include $list_file; - echo '
'; + echo '
'; + include $list_file; + echo '
'; + */ + + $list = new item_list(0, "type10.skin.php", $ca['ca_list_mod'], $ca['ca_list_row'], $ca['ca_img_width'], $ca['ca_img_height'], $ca_id); + echo $list->run(); } else