diff --git a/_common.php b/_common.php index 0da77b7c1..8d16d0880 100644 --- a/_common.php +++ b/_common.php @@ -1,7 +1,7 @@ 쇼핑몰 설치 후 이용해 주십시오.

'); diff --git a/_head.php b/_head.php index 79e267fb7..a0558a12a 100644 --- a/_head.php +++ b/_head.php @@ -1,5 +1,8 @@ \ No newline at end of file diff --git a/_tail.php b/_tail.php index ae47c3b51..d5ba5c009 100644 --- a/_tail.php +++ b/_tail.php @@ -1,5 +1,8 @@ \ No newline at end of file diff --git a/adm/shop_admin/configform.php b/adm/shop_admin/configform.php index f2a8b5c57..737d2e762 100644 --- a/adm/shop_admin/configform.php +++ b/adm/shop_admin/configform.php @@ -49,6 +49,12 @@ if(!isset($default['de_card_noint_use'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_card_noint_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_card_use` ", true); } + +// 레이아웃 선택 설정 필드추가 +if(!isset($default['de_shop_layout_use'])) { + sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` + ADD `de_shop_layout_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_root_index_use` ", true); +} ?>
@@ -737,6 +743,16 @@ if(!isset($default['de_card_noint_use'])) { + + + + + + + 관련상품출력 diff --git a/adm/shop_admin/configformupdate.php b/adm/shop_admin/configformupdate.php index c69943565..e91235647 100644 --- a/adm/shop_admin/configformupdate.php +++ b/adm/shop_admin/configformupdate.php @@ -34,6 +34,7 @@ $sql = " update {$g5['g5_shop_default_table']} de_admin_info_name = '$de_admin_info_name', de_admin_info_email = '$de_admin_info_email', de_root_index_use = '$de_root_index_use', + de_shop_layout_use = '$de_shop_layout_use', de_shop_skin = '$de_shop_skin', de_shop_mobile_skin = '$de_shop_mobile_skin', de_type1_list_use = '$de_type1_list_use', diff --git a/bbs/_common.php b/bbs/_common.php index b556cc9d3..c53246a99 100644 --- a/bbs/_common.php +++ b/bbs/_common.php @@ -1,3 +1,10 @@ 쇼핑몰 설치 후 이용해 주십시오.

'); + + define('_SHOP_', true); +} ?> \ No newline at end of file diff --git a/install/gnuboard5shop.sql b/install/gnuboard5shop.sql index 26b0cc456..eb2ca00ea 100644 --- a/install/gnuboard5shop.sql +++ b/install/gnuboard5shop.sql @@ -194,6 +194,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` ( `de_admin_info_name` varchar(255) NOT NULL DEFAULT '', `de_admin_info_email` varchar(255) NOT NULL DEFAULT '', `de_root_index_use` tinyint(4) NOT NULL DEFAULT '0', + `de_shop_layout_use` tinyint(4) NOT NULL DEFAULT '0', `de_shop_skin` varchar(255) NOT NULL DEFAULT '', `de_shop_mobile_skin` varchar(255) NOT NULL DEFAULT '', `de_type1_list_use` tinyint(4) NOT NULL DEFAULT '0', diff --git a/mobile/_head.php b/mobile/_head.php index 6f97d69de..f85e42763 100644 --- a/mobile/_head.php +++ b/mobile/_head.php @@ -1,5 +1,8 @@ \ No newline at end of file diff --git a/mobile/_tail.php b/mobile/_tail.php index c9cb4b7c7..7cca285ef 100644 --- a/mobile/_tail.php +++ b/mobile/_tail.php @@ -1,5 +1,8 @@ \ No newline at end of file diff --git a/mobile/shop/index.php b/mobile/shop/index.php index 0186a4c9b..81620c124 100644 --- a/mobile/shop/index.php +++ b/mobile/shop/index.php @@ -1,9 +1,9 @@ @@ -158,5 +158,5 @@ $(function() { \ No newline at end of file diff --git a/mobile/shop/shop.head.php b/mobile/shop/shop.head.php index 2cefa06b4..fe79800b7 100644 --- a/mobile/shop/shop.head.php +++ b/mobile/shop/shop.head.php @@ -2,9 +2,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 include_once(G5_PATH.'/head.sub.php'); +include_once(G5_LIB_PATH.'/outlogin.lib.php'); include_once(G5_LIB_PATH.'/visit.lib.php'); include_once(G5_LIB_PATH.'/connect.lib.php'); include_once(G5_LIB_PATH.'/popular.lib.php'); +include_once(G5_LIB_PATH.'/latest.lib.php'); ?>
diff --git a/shop/_head.php b/shop/_head.php index dfcef8a8d..96f125286 100644 --- a/shop/_head.php +++ b/shop/_head.php @@ -1,4 +1,8 @@ \ No newline at end of file diff --git a/shop/_tail.php b/shop/_tail.php index cf2d7a276..d2327ec8a 100644 --- a/shop/_tail.php +++ b/shop/_tail.php @@ -1,4 +1,8 @@ \ No newline at end of file diff --git a/shop/index.php b/shop/index.php index 13acc7970..8dfad6637 100644 --- a/shop/index.php +++ b/shop/index.php @@ -8,9 +8,6 @@ if (G5_IS_MOBILE) { define("_INDEX_", TRUE); -include_once(G5_LIB_PATH.'/latest.lib.php'); -include_once(G5_LIB_PATH.'/poll.lib.php'); - include_once(G5_SHOP_PATH.'/shop.head.php'); ?> diff --git a/shop/shop.head.php b/shop/shop.head.php index 3ca3bb27c..946306dc7 100644 --- a/shop/shop.head.php +++ b/shop/shop.head.php @@ -7,6 +7,7 @@ include_once(G5_LIB_PATH.'/poll.lib.php'); include_once(G5_LIB_PATH.'/visit.lib.php'); include_once(G5_LIB_PATH.'/connect.lib.php'); include_once(G5_LIB_PATH.'/popular.lib.php'); +include_once(G5_LIB_PATH.'/latest.lib.php'); ?>