From fbbaae44c05d8506eeaf198a07be9597da5ddba2 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 12 Feb 2013 10:36:29 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=A0=ED=8F=B0=20=EC=B6=9C=EB=A0=A5?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20G4=5FTIME=20=EB=B0=8F=20G4=5FPATH=20?= =?UTF-8?q?=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cartcoupon.php | 8 ++++---- shop/cartsub.inc.php | 4 ++-- shop/orderform.php | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/shop/cartcoupon.php b/shop/cartcoupon.php index 5ab5ec353..e42faa5ae 100644 --- a/shop/cartcoupon.php +++ b/shop/cartcoupon.php @@ -134,8 +134,8 @@ $sql = " select * from {$g4['shop_coupon_table']} where cp_use = '1' and cp_type = '0' - and cp_start <= '{$g4['time_ymd']}' - and cp_end >= '{$g4['time_ymd']}' + and cp_start <= '".G4_TIME_YMD."' + and cp_end >= '".G4_TIME_YMD."' and ( it_id = '{$it['it_id']}' or cp_target = '2' ) and mb_id in ( '{$member['mb_id']}', '전체회원' ) and ca_id in ( '{$it['ca_id']}', '{$it['ca_id2']}', '{$it['ca_id3']}', '전체카테고리' ) @@ -189,7 +189,7 @@ if(!$cnt) { } $g4['title'] = '쿠폰적용'; -include_once ($g4['path'].'/head.sub.php'); +include_once (G4_PATH.'/head.sub.php'); ?>