Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -67,27 +67,27 @@ $sql = " update {$g4['shop_default_table']}
|
|||||||
de_type5_img_height = '$de_type5_img_height',
|
de_type5_img_height = '$de_type5_img_height',
|
||||||
de_mobile_type1_list_use = '$de_mobile_type1_list_use',
|
de_mobile_type1_list_use = '$de_mobile_type1_list_use',
|
||||||
de_mobile_type1_list_skin = '$de_mobile_type1_list_skin',
|
de_mobile_type1_list_skin = '$de_mobile_type1_list_skin',
|
||||||
de_mobile_type1_list_row = '$de_mobile_type1_list_row',
|
de_mobile_type1_list_mod = '$de_mobile_type1_list_mod',
|
||||||
de_mobile_type1_img_width = '$de_mobile_type1_img_width',
|
de_mobile_type1_img_width = '$de_mobile_type1_img_width',
|
||||||
de_mobile_type1_img_height = '$de_mobile_type1_img_height',
|
de_mobile_type1_img_height = '$de_mobile_type1_img_height',
|
||||||
de_mobile_type2_list_use = '$de_mobile_type2_list_use',
|
de_mobile_type2_list_use = '$de_mobile_type2_list_use',
|
||||||
de_mobile_type2_list_skin = '$de_mobile_type2_list_skin',
|
de_mobile_type2_list_skin = '$de_mobile_type2_list_skin',
|
||||||
de_mobile_type2_list_row = '$de_mobile_type2_list_row',
|
de_mobile_type2_list_mod = '$de_mobile_type2_list_mod',
|
||||||
de_mobile_type2_img_width = '$de_mobile_type2_img_width',
|
de_mobile_type2_img_width = '$de_mobile_type2_img_width',
|
||||||
de_mobile_type2_img_height = '$de_mobile_type2_img_height',
|
de_mobile_type2_img_height = '$de_mobile_type2_img_height',
|
||||||
de_mobile_type3_list_use = '$de_mobile_type3_list_use',
|
de_mobile_type3_list_use = '$de_mobile_type3_list_use',
|
||||||
de_mobile_type3_list_skin = '$de_mobile_type3_list_skin',
|
de_mobile_type3_list_skin = '$de_mobile_type3_list_skin',
|
||||||
de_mobile_type3_list_row = '$de_mobile_type3_list_row',
|
de_mobile_type3_list_mod = '$de_mobile_type3_list_mod',
|
||||||
de_mobile_type3_img_width = '$de_mobile_type3_img_width',
|
de_mobile_type3_img_width = '$de_mobile_type3_img_width',
|
||||||
de_mobile_type3_img_height = '$de_mobile_type3_img_height',
|
de_mobile_type3_img_height = '$de_mobile_type3_img_height',
|
||||||
de_mobile_type4_list_use = '$de_mobile_type4_list_use',
|
de_mobile_type4_list_use = '$de_mobile_type4_list_use',
|
||||||
de_mobile_type4_list_skin = '$de_mobile_type4_list_skin',
|
de_mobile_type4_list_skin = '$de_mobile_type4_list_skin',
|
||||||
de_mobile_type4_list_row = '$de_mobile_type4_list_row',
|
de_mobile_type4_list_mod = '$de_mobile_type4_list_mod',
|
||||||
de_mobile_type4_img_width = '$de_mobile_type4_img_width',
|
de_mobile_type4_img_width = '$de_mobile_type4_img_width',
|
||||||
de_mobile_type4_img_height = '$de_mobile_type4_img_height',
|
de_mobile_type4_img_height = '$de_mobile_type4_img_height',
|
||||||
de_mobile_type5_list_use = '$de_mobile_type5_list_use',
|
de_mobile_type5_list_use = '$de_mobile_type5_list_use',
|
||||||
de_mobile_type5_list_skin = '$de_mobile_type5_list_skin',
|
de_mobile_type5_list_skin = '$de_mobile_type5_list_skin',
|
||||||
de_mobile_type5_list_row = '$de_mobile_type5_list_row',
|
de_mobile_type5_list_mod = '$de_mobile_type5_list_mod',
|
||||||
de_mobile_type5_img_width = '$de_mobile_type5_img_width',
|
de_mobile_type5_img_width = '$de_mobile_type5_img_width',
|
||||||
de_mobile_type5_img_height = '$de_mobile_type5_img_height',
|
de_mobile_type5_img_height = '$de_mobile_type5_img_height',
|
||||||
de_rel_list_mod = '$de_rel_list_mod',
|
de_rel_list_mod = '$de_rel_list_mod',
|
||||||
|
|||||||
@ -380,4 +380,14 @@ if (!isset($default['de_shop_skin'])) {
|
|||||||
ADD `de_shop_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `de_admin_info_email`,
|
ADD `de_shop_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `de_admin_info_email`,
|
||||||
ADD `de_shop_mobile_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `de_shop_skin` ", false);
|
ADD `de_shop_mobile_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `de_shop_skin` ", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 모바일 상품유형 필드 수정
|
||||||
|
if (!sql_query(" select de_mobile_type1_list_mod from {$g4['shop_default_table']} ", false)) {
|
||||||
|
sql_query(" ALTER TABLE `{$g4['shop_default_table']}`
|
||||||
|
CHANGE `de_mobile_type1_list_row` `de_mobile_type1_list_mod` INT(11) NOT NULL DEFAULT '0',
|
||||||
|
CHANGE `de_mobile_type2_list_row` `de_mobile_type2_list_mod` INT(11) NOT NULL DEFAULT '0',
|
||||||
|
CHANGE `de_mobile_type3_list_row` `de_mobile_type3_list_mod` INT(11) NOT NULL DEFAULT '0',
|
||||||
|
CHANGE `de_mobile_type4_list_row` `de_mobile_type4_list_mod` INT(11) NOT NULL DEFAULT '0',
|
||||||
|
CHANGE `de_mobile_type5_list_row` `de_mobile_type5_list_mod` INT(11) NOT NULL DEFAULT '0' ", true);
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
@ -216,27 +216,27 @@ CREATE TABLE IF NOT EXISTS `shop_default` (
|
|||||||
`de_type5_img_height` 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_use` tinyint(4) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type1_list_skin` varchar(255) NOT NULL DEFAULT '',
|
`de_mobile_type1_list_skin` varchar(255) NOT NULL DEFAULT '',
|
||||||
`de_mobile_type1_list_row` int(11) NOT NULL DEFAULT '0',
|
`de_mobile_type1_list_mod` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type1_img_width` 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_type1_img_height` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type2_list_use` tinyint(4) 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_skin` varchar(255) NOT NULL DEFAULT '',
|
||||||
`de_mobile_type2_list_row` int(11) NOT NULL DEFAULT '0',
|
`de_mobile_type2_list_mod` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type2_img_width` 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_type2_img_height` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type3_list_use` tinyint(4) 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_skin` varchar(255) NOT NULL DEFAULT '',
|
||||||
`de_mobile_type3_list_row` int(11) NOT NULL DEFAULT '0',
|
`de_mobile_type3_list_mod` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type3_img_width` 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_type3_img_height` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type4_list_use` tinyint(4) 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_skin` varchar(255) NOT NULL DEFAULT '',
|
||||||
`de_mobile_type4_list_row` int(11) NOT NULL DEFAULT '0',
|
`de_mobile_type4_list_mod` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type4_img_width` 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_type4_img_height` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type5_list_use` tinyint(4) 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_skin` varchar(255) NOT NULL DEFAULT '',
|
||||||
`de_mobile_type5_list_row` int(11) NOT NULL DEFAULT '0',
|
`de_mobile_type5_list_mod` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_mobile_type5_img_width` 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_mobile_type5_img_height` int(11) NOT NULL DEFAULT '0',
|
||||||
`de_rel_list_mod` int(11) NOT NULL DEFAULT '0',
|
`de_rel_list_mod` int(11) NOT NULL DEFAULT '0',
|
||||||
|
|||||||
Reference in New Issue
Block a user