From f8e1e9eb9c452f044680bed22bf6b2100967257f Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 30 Sep 2013 13:28:22 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EB=B0=B0?= =?UTF-8?q?=EC=86=A1=EC=A7=80=EB=AA=A9=EB=A1=9D=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/orderaddress.php | 46 ++++++++++++++++++++++--- mobile/shop/orderform.php | 60 +++++++++++++++++++++------------ mobile/shop/orderformupdate.php | 46 ++++++++++--------------- shop/orderaddress.php | 5 --- shop/orderform.php | 8 ++--- 5 files changed, 100 insertions(+), 65 deletions(-) diff --git a/mobile/shop/orderaddress.php b/mobile/shop/orderaddress.php index 103b3c1d0..5989d493a 100644 --- a/mobile/shop/orderaddress.php +++ b/mobile/shop/orderaddress.php @@ -3,15 +3,23 @@ include_once('./_common.php'); $g5['title'] = '배송지 목록'; include_once(G5_PATH.'/head.sub.php'); -?> -
-

+$order_action_url = G5_HTTPS_SHOP_URL.'/orderaddressupdate.php'; + +?> +
+
+ +

배송지 목록

+ + @@ -25,13 +33,18 @@ include_once(G5_PATH.'/head.sub.php'); $addr = $row['ad_name'].$sep.$row['ad_tel'].$sep.$row['ad_hp'].$sep.$row['ad_zip1'].$sep.$row['ad_zip2'].$sep.$row['ad_addr1'].$sep.$row['ad_addr2'].$sep.$row['ad_subject']; ?> - + + + @@ -40,7 +53,13 @@ include_once(G5_PATH.'/head.sub.php'); ?>
+ + 배송지명기본
배송지
이름 전화번호 주소
+ + + >
- + 삭제
+
+ +
+
+ + diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index 8f83be467..00fe4705d 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -431,6 +431,11 @@ ob_end_clean(); // 배송지 이력 $addr_list = ''; $sep = chr(30); + + // 주문자와 동일 + $addr_list .= ''.PHP_EOL; + $addr_list .= ''.PHP_EOL; + // 기본배송지 $sql = " select * from {$g5['g5_shop_order_address_table']} @@ -447,6 +452,7 @@ ob_end_clean(); $sql = " select * from {$g5['g5_shop_order_address_table']} where mb_id = '{$member['mb_id']}' + and ad_default = '0' order by ad_id desc limit 2 "; $result = sql_query($sql); @@ -468,7 +474,11 @@ ob_end_clean(); - + + + + +
- -

배송지 목록

diff --git a/shop/orderform.php b/shop/orderform.php index 180d33ac4..0c5eb7be8 100644 --- a/shop/orderform.php +++ b/shop/orderform.php @@ -664,7 +664,7 @@ function get_intall_file() $sep = chr(30); // 주문자와 동일 - $addr_list .= ''.PHP_EOL; + $addr_list .= ''.PHP_EOL; $addr_list .= ''.PHP_EOL; // 기본배송지 @@ -707,10 +707,8 @@ function get_intall_file() - '.PHP_EOL.' - '; - }?> + +