diff --git a/adm/shop_admin/categoryform.php b/adm/shop_admin/categoryform.php index f3426c389..2f7075ce4 100644 --- a/adm/shop_admin/categoryform.php +++ b/adm/shop_admin/categoryform.php @@ -76,8 +76,7 @@ if (!isset($ca['ca_mobile_skin'])) { ADD `ca_mobile_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `ca_skin`, ADD `ca_mobile_img_width` INT(11) NOT NULL DEFAULT '0' AFTER `ca_list_row`, ADD `ca_mobile_img_height` INT(11) NOT NULL DEFAULT '0' AFTER `ca_mobile_img_width`, - ADD `ca_mobile_list_mod` INT(11) NOT NULL DEFAULT '0' AFTER `ca_mobile_img_height`, - ADD `ca_mobile_list_row` INT(11) NOT NULL DEFAULT '0' AFTER `ca_mobile_list_mod`, + ADD `ca_mobile_list_row` INT(11) NOT NULL DEFAULT '0' AFTER `ca_mobile_img_height`, ADD `ca_mobile_head_html` TEXT NOT NULL AFTER `ca_tail_html`, ADD `ca_mobile_tail_html` TEXT NOT NULL AFTER `ca_mobile_head_html` ", false); } @@ -205,17 +204,10 @@ $pg_anchor .= ''; - + - - 개 - - - - - - - ' id="ca_mobile_list_row" required class="required frm_input" size="3"> 줄 + + ' id="ca_mobile_list_row" required class="required frm_input" size="3"> diff --git a/adm/shop_admin/categoryformupdate.php b/adm/shop_admin/categoryformupdate.php index b870777fd..a733b8625 100644 --- a/adm/shop_admin/categoryformupdate.php +++ b/adm/shop_admin/categoryformupdate.php @@ -69,7 +69,6 @@ $sql_common = " ca_skin = '$ca_skin', ca_list_row = '$ca_list_row', ca_mobile_img_width = '$ca_mobile_img_width', ca_mobile_img_height = '$ca_mobile_img_height', - ca_mobile_list_mod = '$ca_mobile_list_mod', ca_mobile_list_row = '$ca_mobile_list_row', ca_sell_email = '$ca_sell_email', ca_use = '$ca_use', diff --git a/install/shop.sql b/install/shop.sql index fc6292224..aef0a8d08 100644 --- a/install/shop.sql +++ b/install/shop.sql @@ -110,7 +110,6 @@ CREATE TABLE IF NOT EXISTS `shop_category` ( `ca_mobile_tail_html` text NOT NULL, `ca_list_mod` int(11) NOT NULL DEFAULT '0', `ca_list_row` int(11) NOT NULL DEFAULT '0', - `ca_mobile_list_mod` int(11) NOT NULL DEFAULT '0', `ca_mobile_list_row` int(11) NOT NULL DEFAULT '0', `ca_include_head` varchar(255) NOT NULL DEFAULT '', `ca_include_tail` varchar(255) NOT NULL DEFAULT '', diff --git a/mobile/shop/list.php b/mobile/shop/list.php index 3ada5ff9b..89e4ee579 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -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']; diff --git a/mobile/shop/list.skin.10.php b/mobile/shop/list.skin.10.php index 85f291584..60db8e099 100644 --- a/mobile/shop/list.skin.10.php +++ b/mobile/shop/list.skin.10.php @@ -1,6 +1,6 @@ 태그 폭 -$td_width = (int)(100 / $list_mod); +// 상품수 +$items = $list_row; $sql = "select COUNT(*) as cnt $sql_common "; $row = sql_fetch($sql);