From 061ad00cd9dac1c6a0280b6ff4ba90382be3b8b2 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 4 Jul 2013 10:59:49 +0900 Subject: [PATCH] =?UTF-8?q?#248=20=ED=9A=8C=EC=9B=90=EC=9D=98=20=EB=B3=B4?= =?UTF-8?q?=EC=9C=A0=EC=BF=A0=ED=8F=B0=20=EB=A6=AC=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/mypage.php | 21 ++++++++++-- shop/coupon.php | 73 ++++++++++++++++++++++++++++++++++++++++++ shop/mypage.php | 21 ++++++++++-- 3 files changed, 111 insertions(+), 4 deletions(-) create mode 100644 shop/coupon.php diff --git a/mobile/shop/mypage.php b/mobile/shop/mypage.php index 9a76b4932..c44b87038 100644 --- a/mobile/shop/mypage.php +++ b/mobile/shop/mypage.php @@ -6,6 +6,15 @@ if (!$is_member) $g4['title'] = '마이페이지'; include_once(G4_MSHOP_PATH.'/_head.php'); + +// 쿠폰 +$sql = " select count(*) as cnt + from {$g4['shop_coupon_table']} + where mb_id = '{$member['mb_id']}' + and cp_used = '0' + and cp_start <= '".G4_TIME_YMD."' + and cp_end >= '".G4_TIME_YMD."' "; +$cp = sql_fetch($sql); ?>
@@ -14,8 +23,6 @@ include_once(G4_MSHOP_PATH.'/_head.php');

회원정보 개요

-
회원권한
-
마일리지
@@ -23,6 +30,8 @@ include_once(G4_MSHOP_PATH.'/_head.php');
보유포인트
+
보유쿠폰
+
연락처
E-Mail
@@ -92,6 +101,14 @@ include_once(G4_MSHOP_PATH.'/_head.php');