diff --git a/adm/shop_admin/configform.php b/adm/shop_admin/configform.php
index e47a21487..b0e5343e8 100644
--- a/adm/shop_admin/configform.php
+++ b/adm/shop_admin/configform.php
@@ -51,6 +51,41 @@ if (!isset($default['de_sms_cont5'])) {
ADD `de_sms_use5` TINYINT(4) NOT NULL DEFAULT '0' AFTER `de_sms_use4` ", true);
}
+if (!isset($default['de_mobile_type1_list_use'])) {
+ sql_query(" ALTER TABLE `{$g4['shop_default_table']}`
+ ADD `de_mobile_type1_list_use` TINYINT(4) NOT NULL DEFAULT '0' AFTER `de_type5_img_height`,
+ ADD `de_mobile_type1_list_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `de_mobile_type1_list_use`,
+ ADD `de_mobile_type1_list_row` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type1_list_skin`,
+ ADD `de_mobile_type1_list_mod` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type1_list_row`,
+ ADD `de_mobile_type1_img_width` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type1_list_mod`,
+ ADD `de_mobile_type1_img_height` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type1_img_width`,
+ ADD `de_mobile_type2_list_use` TINYINT(4) NOT NULL DEFAULT '0' AFTER `de_mobile_type1_img_height`,
+ ADD `de_mobile_type2_list_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `de_mobile_type2_list_use`,
+ ADD `de_mobile_type2_list_row` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type2_list_skin`,
+ ADD `de_mobile_type2_list_mod` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type2_list_row`,
+ ADD `de_mobile_type2_img_width` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type2_list_mod`,
+ ADD `de_mobile_type2_img_height` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type2_img_width`,
+ ADD `de_mobile_type3_list_use` TINYINT(4) NOT NULL DEFAULT '0' AFTER `de_mobile_type2_img_height`,
+ ADD `de_mobile_type3_list_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `de_mobile_type3_list_use`,
+ ADD `de_mobile_type3_list_row` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type3_list_skin`,
+ ADD `de_mobile_type3_list_mod` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type3_list_row`,
+ ADD `de_mobile_type3_img_width` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type3_list_mod`,
+ ADD `de_mobile_type3_img_height` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type3_img_width`,
+ ADD `de_mobile_type4_list_use` TINYINT(4) NOT NULL DEFAULT '0' AFTER `de_mobile_type3_img_height`,
+ ADD `de_mobile_type4_list_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `de_mobile_type4_list_use`,
+ ADD `de_mobile_type4_list_row` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type4_list_skin`,
+ ADD `de_mobile_type4_list_mod` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type4_list_row`,
+ ADD `de_mobile_type4_img_width` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type4_list_mod`,
+ ADD `de_mobile_type4_img_height` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type4_img_width`,
+ ADD `de_mobile_type5_list_use` TINYINT(4) NOT NULL DEFAULT '0' AFTER `de_mobile_type4_img_height`,
+ ADD `de_mobile_type5_list_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `de_mobile_type5_list_use`,
+ ADD `de_mobile_type5_list_row` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type5_list_skin`,
+ ADD `de_mobile_type5_list_mod` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type5_list_row`,
+ ADD `de_mobile_type5_img_width` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type5_list_mod`,
+ ADD `de_mobile_type5_img_height` INT(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type5_img_width`
+ ", true);
+}
+
if (!$default['de_icode_server_ip']) $default['de_icode_server_ip'] = '211.172.232.124';
if (!$default['de_icode_server_port']) $default['de_icode_server_port'] = '7295';
@@ -262,6 +297,114 @@ $pg_anchor = '
+
+
결제정보
diff --git a/adm/shop_admin/configformupdate.php b/adm/shop_admin/configformupdate.php
index d81ac0708..5f11e342b 100644
--- a/adm/shop_admin/configformupdate.php
+++ b/adm/shop_admin/configformupdate.php
@@ -61,6 +61,36 @@ $sql = " update {$g4['shop_default_table']}
de_type5_list_row = '$de_type5_list_row',
de_type5_img_width = '$de_type5_img_width',
de_type5_img_height = '$de_type5_img_height',
+ de_mobile_type1_list_use = '$de_mobile_type1_list_use',
+ de_mobile_type1_list_skin = '$de_mobile_type1_list_skin',
+ de_mobile_type1_list_mod = '$de_mobile_type1_list_mod',
+ de_mobile_type1_list_row = '$de_mobile_type1_list_row',
+ de_mobile_type1_img_width = '$de_mobile_type1_img_width',
+ de_mobile_type1_img_height = '$de_mobile_type1_img_height',
+ de_mobile_type2_list_use = '$de_mobile_type2_list_use',
+ de_mobile_type2_list_skin = '$de_mobile_type2_list_skin',
+ de_mobile_type2_list_mod = '$de_mobile_type2_list_mod',
+ de_mobile_type2_list_row = '$de_mobile_type2_list_row',
+ de_mobile_type2_img_width = '$de_mobile_type2_img_width',
+ de_mobile_type2_img_height = '$de_mobile_type2_img_height',
+ de_mobile_type3_list_use = '$de_mobile_type3_list_use',
+ de_mobile_type3_list_skin = '$de_mobile_type3_list_skin',
+ de_mobile_type3_list_mod = '$de_mobile_type3_list_mod',
+ de_mobile_type3_list_row = '$de_mobile_type3_list_row',
+ de_mobile_type3_img_width = '$de_mobile_type3_img_width',
+ de_mobile_type3_img_height = '$de_mobile_type3_img_height',
+ de_mobile_type4_list_use = '$de_mobile_type4_list_use',
+ de_mobile_type4_list_skin = '$de_mobile_type4_list_skin',
+ de_mobile_type4_list_mod = '$de_mobile_type4_list_mod',
+ de_mobile_type4_list_row = '$de_mobile_type4_list_row',
+ de_mobile_type4_img_width = '$de_mobile_type4_img_width',
+ de_mobile_type4_img_height = '$de_mobile_type4_img_height',
+ de_mobile_type5_list_use = '$de_mobile_type5_list_use',
+ de_mobile_type5_list_skin = '$de_mobile_type5_list_skin',
+ de_mobile_type5_list_mod = '$de_mobile_type5_list_mod',
+ de_mobile_type5_list_row = '$de_mobile_type5_list_row',
+ de_mobile_type5_img_width = '$de_mobile_type5_img_width',
+ de_mobile_type5_img_height = '$de_mobile_type5_img_height',
de_rel_list_mod = '$de_rel_list_mod',
de_rel_img_width = '$de_rel_img_width',
de_rel_img_height = '$de_rel_img_height',
diff --git a/install/install_db.php b/install/install_db.php
index 423ed1e22..e6eeda3a1 100644
--- a/install/install_db.php
+++ b/install/install_db.php
@@ -231,6 +231,36 @@ if($shop_install) {
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_mod = '3',
+ de_mobile_type1_list_row = '2',
+ 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_mod = '3',
+ de_mobile_type2_list_row = '2',
+ 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_mod = '1',
+ de_mobile_type3_list_row = '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_mod = '3',
+ de_mobile_type4_list_row = '1',
+ 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_mod = '3',
+ de_mobile_type5_list_row = '1',
+ de_mobile_type5_img_width = '$mimg_width',
+ de_mobile_type5_img_height = '$mimg_height',
de_bank_use = '1',
de_bank_account = 'OO은행 12345-67-89012 예금주명',
de_vbank_use = '0',
diff --git a/install/shop.sql b/install/shop.sql
index b1956591a..c35d41ee5 100644
--- a/install/shop.sql
+++ b/install/shop.sql
@@ -147,36 +147,66 @@ CREATE TABLE IF NOT EXISTS `shop_default` (
`de_admin_company_addr` varchar(255) NOT NULL DEFAULT '',
`de_admin_info_name` varchar(255) NOT NULL DEFAULT '',
`de_admin_info_email` varchar(255) NOT NULL DEFAULT '',
- `de_type1_list_use` int(11) NOT NULL DEFAULT '0',
+ `de_type1_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_type1_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_type1_list_mod` int(11) NOT NULL DEFAULT '0',
`de_type1_list_row` int(11) NOT NULL DEFAULT '0',
`de_type1_img_width` int(11) NOT NULL DEFAULT '0',
`de_type1_img_height` int(11) NOT NULL DEFAULT '0',
- `de_type2_list_use` int(11) NOT NULL DEFAULT '0',
+ `de_type2_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_type2_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_type2_list_mod` int(11) NOT NULL DEFAULT '0',
`de_type2_list_row` int(11) NOT NULL DEFAULT '0',
`de_type2_img_width` int(11) NOT NULL DEFAULT '0',
`de_type2_img_height` int(11) NOT NULL DEFAULT '0',
- `de_type3_list_use` int(11) NOT NULL DEFAULT '0',
+ `de_type3_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_type3_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_type3_list_mod` int(11) NOT NULL DEFAULT '0',
`de_type3_list_row` int(11) NOT NULL DEFAULT '0',
`de_type3_img_width` int(11) NOT NULL DEFAULT '0',
`de_type3_img_height` int(11) NOT NULL DEFAULT '0',
- `de_type4_list_use` int(11) NOT NULL DEFAULT '0',
+ `de_type4_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_type4_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_type4_list_mod` int(11) NOT NULL DEFAULT '0',
`de_type4_list_row` int(11) NOT NULL DEFAULT '0',
`de_type4_img_width` int(11) NOT NULL DEFAULT '0',
`de_type4_img_height` int(11) NOT NULL DEFAULT '0',
- `de_type5_list_use` int(11) NOT NULL DEFAULT '0',
+ `de_type5_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_type5_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_type5_list_mod` int(11) NOT NULL DEFAULT '0',
`de_type5_list_row` int(11) NOT NULL DEFAULT '0',
`de_type5_img_width` int(11) NOT NULL DEFAULT '0',
`de_type5_img_height` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type1_list_use` tinyint(4) NOT NULL DEFAULT '0',
+ `de_mobile_type1_list_skin` varchar(255) NOT NULL DEFAULT '',
+ `de_mobile_type1_list_mod` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type1_list_row` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type1_img_width` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type1_img_height` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type2_list_use` tinyint(4) NOT NULL DEFAULT '0',
+ `de_mobile_type2_list_skin` varchar(255) NOT NULL DEFAULT '',
+ `de_mobile_type2_list_mod` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type2_list_row` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type2_img_width` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type2_img_height` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type3_list_use` tinyint(4) NOT NULL DEFAULT '0',
+ `de_mobile_type3_list_skin` varchar(255) NOT NULL DEFAULT '',
+ `de_mobile_type3_list_mod` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type3_list_row` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type3_img_width` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type3_img_height` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type4_list_use` tinyint(4) NOT NULL DEFAULT '0',
+ `de_mobile_type4_list_skin` varchar(255) NOT NULL DEFAULT '',
+ `de_mobile_type4_list_mod` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type4_list_row` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type4_img_width` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type4_img_height` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type5_list_use` tinyint(4) NOT NULL DEFAULT '0',
+ `de_mobile_type5_list_skin` varchar(255) NOT NULL DEFAULT '',
+ `de_mobile_type5_list_mod` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type5_list_row` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type5_img_width` int(11) NOT NULL DEFAULT '0',
+ `de_mobile_type5_img_height` int(11) NOT NULL DEFAULT '0',
`de_rel_list_mod` int(11) NOT NULL DEFAULT '0',
`de_rel_img_width` int(11) NOT NULL DEFAULT '0',
`de_rel_img_height` int(11) NOT NULL DEFAULT '0',