From 1ca71b06ccb1a964c8c49829fd8c68230a1583cc Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 4 Jun 2013 17:00:20 +0900 Subject: [PATCH] =?UTF-8?q?#209=20=EC=A3=BC=EB=AC=B8=ED=8F=BC=EC=97=90=20?= =?UTF-8?q?=EC=BF=A0=ED=8F=B0=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80=20?= =?UTF-8?q?=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cartsub.inc.php | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/shop/cartsub.inc.php b/shop/cartsub.inc.php index ab9743753..3e92b9361 100644 --- a/shop/cartsub.inc.php +++ b/shop/cartsub.inc.php @@ -8,7 +8,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 $s_uq_id 는 유일한 키 */ -if ($s_page == 'cart.php' || $s_page == 'orderinquiryview.php') +if ($s_page == 'cart.php' || $s_page == 'orderinquiryview.php' || $s_page == 'orderform.php') $colspan = 7; else $colspan = 6; @@ -24,6 +24,9 @@ else 상품명 총수량 판매가 + + 쿠폰 + 소계 포인트 = '".G4_TIME_YMD."' + and ( + ( cp_method = '0' and cp_target = '{$row['it_id']}' ) + OR + ( cp_method = '1' and ( cp_target IN ( '{$row['ca_id']}', '{$row['ca_id2']}', '{$row['ca_id3']}' ) ) ) + ) "; + $cp = sql_fetch($sql); + + if($cp['cnt']) + $cp_button = ''; + } ?> @@ -131,6 +157,9 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) + + +