From 07982b6a1a5b3a9edce485a7fa72ff74204cfbd4 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 11 Nov 2013 14:27:26 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EB=AA=A8?= =?UTF-8?q?=EB=B0=94=EC=9D=BC=20=EC=A3=BC=EB=AC=B8=20=EB=B3=B4=EA=B4=80?= =?UTF-8?q?=ED=95=A8=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=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 | 6 ++-- mobile/shop/orderinquiry.sub.php | 59 +++++++++++++++++++++++++++----- mobile/shop/wishlist.php | 4 +-- 3 files changed, 56 insertions(+), 13 deletions(-) diff --git a/mobile/shop/mypage.php b/mobile/shop/mypage.php index ced95d4d5..6601c51cb 100644 --- a/mobile/shop/mypage.php +++ b/mobile/shop/mypage.php @@ -65,7 +65,7 @@ for($k=0; $cp=sql_fetch_array($res); $k++) { 이미지 상품명 - 보관일시 + 보관일 @@ -80,13 +80,13 @@ for($k=0; $cp=sql_fetch_array($res); $k++) { $result = sql_query($sql); for ($i=0; $row = sql_fetch_array($result); $i++) { - $image = get_it_image($row['it_id'], 70, 70, true); + $image = get_it_image($row['it_id'], 50, 50, true); ?> - + 주문번호 주문일시 - 주문금액 - 쿠폰 - 입금액 + 입금액 + + + 주문상품 + + + 배송정보 @@ -28,18 +32,57 @@ if (!defined("_ORDERINQUIRY_")) exit; // 개별 페이지 접근 불가 $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { + // 주문상품 + $sql = " select *, count(ct_id) as cnt + from {$g5['g5_shop_cart_table']} + where od_id = '{$row['od_id']}' + order by ct_id + limit 1 "; + $ct = sql_fetch($sql); + $ct_name = get_text($ct['it_name']).' '.get_text($ct['ct_option']); + if($ct['cnt'] > 1) + $ct_name .= ' 외 '.($ct['cnt'] - 1).'건'; + + switch($row['od_status']) { + case '입금': + $od_status = '입금완료'; + break; + case '준비': + $od_status = '상품준비중'; + break; + case '배송': + $od_status = '상품배송'; + break; + case '완료': + $od_status = '배송완료'; + break; + default: + $od_status = '입금확인중'; + break; + } + + $od_invoice = ''; + if($row['od_delivery_company'] && $row['od_invoice']) + $od_invoice = get_text($row['od_delivery_company']).' '.get_text($row['od_invoice']); + $uid = md5($row['od_id'].$row['od_time'].$row['od_ip']); ?> - - () - - - + + + + + + + + + + + @@ -52,7 +52,7 @@ include_once(G5_MSHOP_PATH.'/_head.php'); - 보관일시 +
보관일