From 8abf82eab1e44221441e39cabed1b3b0efdc8809 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 14 Nov 2013 18:22:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=EC=B2=B4=ED=9A=8C=EC=9B=90=EC=97=90?= =?UTF-8?q?=20=EB=B0=9C=EA=B8=89=EB=90=9C=20=EC=BF=A0=ED=8F=B0=EC=9D=B4=20?= =?UTF-8?q?=ED=9A=8C=EC=9B=90=EC=9D=98=20=EC=BF=A0=ED=8F=B0=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EC=97=90=20=EB=82=98=EC=98=A4=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/mypage.php | 2 +- shop/coupon.php | 2 +- shop/mypage.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/shop/mypage.php b/mobile/shop/mypage.php index 6601c51cb..45f4475a4 100644 --- a/mobile/shop/mypage.php +++ b/mobile/shop/mypage.php @@ -11,7 +11,7 @@ include_once(G5_MSHOP_PATH.'/_head.php'); $cp_count = 0; $sql = " select cp_id from {$g5['g5_shop_coupon_table']} - where mb_id = '{$member['mb_id']}' + where mb_id IN ( '{$member['mb_id']}', '전체회원' ) and cp_start <= '".G5_TIME_YMD."' and cp_end >= '".G5_TIME_YMD."' "; $res = sql_query($sql); diff --git a/shop/coupon.php b/shop/coupon.php index 2fd458970..7558224aa 100644 --- a/shop/coupon.php +++ b/shop/coupon.php @@ -9,7 +9,7 @@ include_once(G5_PATH.'/head.sub.php'); $sql = " select cp_id, cp_subject, cp_method, cp_target, cp_start, cp_end, cp_type, cp_price from {$g5['g5_shop_coupon_table']} - where mb_id = '{$member['mb_id']}' + where mb_id IN ( '{$member['mb_id']}', '전체회원' ) and cp_start <= '".G5_TIME_YMD."' and cp_end >= '".G5_TIME_YMD."' order by cp_no "; diff --git a/shop/mypage.php b/shop/mypage.php index 6a8e97833..14191f255 100644 --- a/shop/mypage.php +++ b/shop/mypage.php @@ -16,7 +16,7 @@ include_once('./_head.php'); $cp_count = 0; $sql = " select cp_id from {$g5['g5_shop_coupon_table']} - where mb_id = '{$member['mb_id']}' + where mb_id IN ( '{$member['mb_id']}', '전체회원' ) and cp_start <= '".G5_TIME_YMD."' and cp_end >= '".G5_TIME_YMD."' "; $res = sql_query($sql);