diff --git a/install/install_db.php b/install/install_db.php index 276ece8a9..960713bc3 100644 --- a/install/install_db.php +++ b/install/install_db.php @@ -201,59 +201,61 @@ if($shop_install) { de_admin_company_addr = 'OO도 OO시 OO구 OO동 123-45', de_admin_info_name = '정보책임자명', de_admin_info_email = '정보책임자 E-mail', + de_shop_skin = 'basic', + de_shop_mobile_skin = 'basic', de_type1_list_use = '1', - de_type1_list_skin = 'maintype10.inc.php', + de_type1_list_skin = 'main.10.skin.php', de_type1_list_mod = '3', de_type1_list_row = '2', de_type1_img_width = '$mimg_width', de_type1_img_height = '$mimg_height', de_type2_list_use = '1', - de_type2_list_skin = 'maintype10.inc.php', + de_type2_list_skin = 'main.10.skin.php', de_type2_list_mod = '3', de_type2_list_row = '2', de_type2_img_width = '$mimg_width', de_type2_img_height = '$mimg_height', de_type3_list_use = '1', - de_type3_list_skin = 'maintype10.inc.php', + de_type3_list_skin = 'main.10.skin.php', de_type3_list_mod = '1', de_type3_list_row = '3', de_type3_img_width = '$mimg_width', de_type3_img_height = '$mimg_height', de_type4_list_use = '1', - de_type4_list_skin = 'maintype10.inc.php', + de_type4_list_skin = 'main.10.skin.php', de_type4_list_mod = '3', de_type4_list_row = '1', de_type4_img_width = '$mimg_width', de_type4_img_height = '$mimg_height', de_type5_list_use = '1', - de_type5_list_skin = 'maintype10.inc.php', + de_type5_list_skin = 'main.10.skin.php', de_type5_list_mod = '3', de_type5_list_row = '1', de_type5_img_width = '$mimg_width', de_type5_img_height = '$mimg_height', de_mobile_type1_list_use = '1', - de_mobile_type1_list_skin = 'maintype10.inc.php', - de_mobile_type1_list_row = '3', + de_mobile_type1_list_skin = 'main.10.skin.php', + de_mobile_type1_list_mod = '3', de_mobile_type1_img_width = '$mimg_width', de_mobile_type1_img_height = '$mimg_height', de_mobile_type2_list_use = '1', - de_mobile_type2_list_skin = 'maintype10.inc.php', - de_mobile_type2_list_row = '3', + de_mobile_type2_list_skin = 'main.10.skin.php', + de_mobile_type2_list_mod = '3', de_mobile_type2_img_width = '$mimg_width', de_mobile_type2_img_height = '$mimg_height', de_mobile_type3_list_use = '1', - de_mobile_type3_list_skin = 'maintype10.inc.php', - de_mobile_type3_list_row = '3', + de_mobile_type3_list_skin = 'main.10.skin.php', + de_mobile_type3_list_mod = '3', de_mobile_type3_img_width = '$mimg_width', de_mobile_type3_img_height = '$mimg_height', de_mobile_type4_list_use = '1', - de_mobile_type4_list_skin = 'maintype10.inc.php', - de_mobile_type4_list_row = '3', + de_mobile_type4_list_skin = 'main.10.skin.php', + de_mobile_type4_list_mod = '3', de_mobile_type4_img_width = '$mimg_width', de_mobile_type4_img_height = '$mimg_height', de_mobile_type5_list_use = '1', - de_mobile_type5_list_skin = 'maintype10.inc.php', - de_mobile_type5_list_row = '3', + de_mobile_type5_list_skin = 'main.10.skin.php', + de_mobile_type5_list_mod = '3', de_mobile_type5_img_width = '$mimg_width', de_mobile_type5_img_height = '$mimg_height', de_bank_use = '1', diff --git a/mobile/shop/list.php b/mobile/shop/list.php index 3b0aa2340..8687a605f 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -97,20 +97,20 @@ if ($is_admin) } ?> + + '.stripslashes($ca['ca_mobile_tail_html']).''; ?> - - set_is_page(true); $list->set_order_by($order_by); $list->set_from_record($from_record); + $list->set_view('it_img', true); + $list->set_view('it_id', false); + $list->set_view('it_name', true); + $list->set_view('it_cust_price', false); + $list->set_view('it_price', true); + $list->set_view('it_icon', true); + $list->set_view('sns', true); echo $list->run(); // where 된 전체 상품수 @@ -72,7 +82,10 @@ if ($i==0) ?> diff --git a/shop/list.php b/shop/list.php index 9f8a8a51a..d3ce794a4 100644 --- a/shop/list.php +++ b/shop/list.php @@ -75,6 +75,9 @@ if ($is_admin) if (file_exists($list_file)) { include G4_SHOP_PATH.'/list.sort.php'; + // 상품 보기 타입 변경 버튼 + include G4_SHOP_PATH.'/list.sub.php'; + // 총몇개 = 한줄에 몇개 * 몇줄 $items = $ca['ca_list_mod'] * $ca['ca_list_row']; // 페이지가 없으면 첫 페이지 (1 페이지) @@ -115,6 +118,17 @@ if ($is_admin) } ?> + + '.stripslashes($ca['ca_tail_html']).''; @@ -125,14 +139,6 @@ if ($is_admin) echo '