From 4ae1d1a34596782ca21e6188e1c6bcf4945a07f7 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 31 Mar 2014 13:33:10 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EB=B0=94=EA=B5=AC=EB=8B=88=20?= =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=EB=B3=80=EA=B2=BD=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EB=9E=A8=20=EC=99=84=EB=A3=8C=20=EB=AC=B8?= =?UTF-8?q?=EA=B5=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- orderupgrade.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/orderupgrade.php b/orderupgrade.php index 14a84ceca..3c5914002 100644 --- a/orderupgrade.php +++ b/orderupgrade.php @@ -4,6 +4,9 @@ include_once('./_common.php'); if($is_admin != 'super') alert('최고관리자로 로그인 후 실행해 주십시오.', G5_URL); +$g5['title'] = '장바구니 테이블 업그레이드'; +include_once(G5_PATH.'/head.sub.php'); + // 배송비정보 필드 cart 테이블에 추가 if(!sql_query(" select it_sc_type from {$g5['g5_shop_cart_table']} limit 1 ", false)) { sql_query(" ALTER TABLE `{$g5['g5_shop_cart_table']}` @@ -29,11 +32,15 @@ if(!sql_query(" select it_sc_type from {$g5['g5_shop_cart_table']} limit 1 ", fa $sql = " update {$g5['g5_shop_cart_table']} set it_sc_type = '{$it['it_sc_type']}', it_sc_method = '{$it['it_sc_method']}', - it_sc_price = '{$it['it_sc_price']}, + it_sc_price = '{$it['it_sc_price']}', it_sc_minimum = '{$it['it_sc_minimum']}', it_sc_qty = '{$it['it_sc_qty']}' where ct_id = '{$row['ct_id']}' "; sql_query($sql); } + + echo '

장바구니 테이블 업그레이드 완료!

'; } + +include_once(G5_PATH.'/tail.sub.php'); ?> \ No newline at end of file