diff --git a/mobile/shop/cart.php b/mobile/shop/cart.php index 125db590c..8e248075c 100644 --- a/mobile/shop/cart.php +++ b/mobile/shop/cart.php @@ -2,7 +2,7 @@ include_once('./_common.php'); $g4['title'] = '장바구니'; -include_once('./_head.php'); +include_once(G4_MSHOP_PATH.'/_head.php'); ?>
@@ -16,5 +16,5 @@ include_once('./_head.php');
\ No newline at end of file diff --git a/mobile/shop/cartsub.inc.php b/mobile/shop/cartsub.inc.php index e14858305..9ff78d73b 100644 --- a/mobile/shop/cartsub.inc.php +++ b/mobile/shop/cartsub.inc.php @@ -137,7 +137,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) 삭제'; + echo '삭제'; else if ($s_page == 'orderinquiryview.php') echo ''.$row['ct_status'].''; ?> @@ -220,9 +220,9 @@ if ($tot_amount > 0) {
- 쇼핑 계속하기 + 쇼핑 계속하기 - +

장바구니의 상품을 주문하시려면 주문하기를 클릭하세요. 비우기는 장바구니의 상품을 모두 비웁니다.

쇼핑 계속하기 주문하기 @@ -250,7 +250,7 @@ function form_check(act) { /cartupdate.php"; f.submit(); } else if (act == "allupdate") @@ -293,7 +293,7 @@ function form_check(act) { } } f.act.value = act; - f.action = "./cartupdate.php"; + f.action = "/cartupdate.php"; f.submit(); } diff --git a/mobile/shop/item.php b/mobile/shop/item.php index b70725778..b5cf4948a 100644 --- a/mobile/shop/item.php +++ b/mobile/shop/item.php @@ -63,23 +63,19 @@ if ($_COOKIE['ck_it_id'] != $it_id) { $g4['title'] = $it['it_name'].' > '.$it['ca_name']; -include_once('./_head.php'); +include_once(G4_MSHOP_PATH.'/_head.php'); // 분류 위치 // HOME > 1단계 > 2단계 ... > 6단계 분류 $ca_id = $it['ca_id']; -include G4_SHOP_PATH.'/navigation1.inc.php'; +include G4_MSHOP_PATH.'/navigation1.inc.php'; // 이 분류에 속한 하위분류 출력 -include G4_SHOP_PATH.'/listcategory.inc.php'; +include G4_MSHOP_PATH.'/listcategory.inc.php'; if ($is_admin) echo '
상품 관리
'; -$himg = G4_DATA_PATH.'/item/'.$it_id.'_h'; -if (file_exists($himg)) - echo '
'; - // 상단 HTML echo '
'.stripslashes($it['it_mobile_head_html']).'
'; @@ -93,7 +89,7 @@ $sql = " select it_id, it_name from {$g4['shop_item_table']} $row = sql_fetch($sql); if ($row['it_id']) { $prev_title = '이전상품보기 '.$row['it_name']; - $prev_href = ''; + $prev_href = ''; $prev_href = ''; } else { $prev_title = ''; @@ -111,7 +107,7 @@ $sql = " select it_id, it_name from {$g4['shop_item_table']} $row = sql_fetch($sql); if ($row['it_id']) { $next_title = '다음 상품 '.$row['it_name']; - $next_href = ''; + $next_href = ''; $next_href2 = ''; } else { $next_title = ''; @@ -148,7 +144,7 @@ function pg_anchor($anc_id) { if (G4_HTTPS_DOMAIN) $action_url = G4_HTTPS_DOMAIN.'/'.G4_SHOP_DIR.'/cartupdate.php'; else - $action_url = './cartupdate.php'; + $action_url = G4_SHOP_URL.'/cartupdate.php'; ?>
@@ -335,7 +331,7 @@ else } else { - url = "./itemrecommend.php?it_id=" + it_id; + url = "/itemrecommend.php?it_id=" + it_id; opt = "scrollbars=yes,width=616,height=420,top=10,left=10"; popup_window(url, "itemrecommend", opt); } @@ -393,9 +389,9 @@ else
- +
- +
@@ -434,7 +430,7 @@ else @@ -444,7 +440,7 @@ else @@ -487,7 +483,7 @@ else $result = sql_query($sql); $num = @mysql_num_rows($result); if ($num) - include G4_SHOP_PATH.'/maintype10.inc.php'; + include G4_MSHOP_PATH.'/maintype10.inc.php'; else echo '

이 상품과 관련된 상품이 없습니다.

'; ?> @@ -731,7 +727,7 @@ else diff --git a/mobile/shop/list.php b/mobile/shop/list.php index ef8ca778d..ddd237106 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -11,7 +11,7 @@ if (!$ca['ca_id']) $g4['title'] = $ca['ca_name'].' 상품리스트'; -include_once('./_head.php'); +include_once(G4_MSHOP_PATH.'/_head.php'); // 스킨을 지정했다면 지정한 스킨을 사용함 (스킨의 다양화) //if ($skin) $ca[ca_skin] = $skin; @@ -24,7 +24,7 @@ if ($is_admin) '.stripslashes($ca['ca_mobile_head_html']).'
'; @@ -96,7 +96,7 @@ echo get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SEL ?> \n"; +echo "\n\n"; ?> diff --git a/mobile/shop/mypage.php b/mobile/shop/mypage.php index 9318cde54..4ffe67a8e 100644 --- a/mobile/shop/mypage.php +++ b/mobile/shop/mypage.php @@ -5,7 +5,7 @@ if (!$is_member) goto_url(G4_BBS_URL."/login.php?url=".urlencode(G4_SHOP_URL."/mypage.php")); $g4['title'] = '마이페이지'; -include_once('./_head.php'); +include_once(G4_MSHOP_PATH.'/_head.php'); ?>

@@ -60,7 +60,7 @@ function member_leave() - +
@@ -76,7 +76,7 @@ include G4_MSHOP_PATH.'/orderinquiry.sub.php'; - + @@ -100,11 +100,11 @@ for ($i=0; $row = sql_fetch_array($result); $i++) $image = get_it_image($row['it_id']."_s", 50, 50, $row['it_id']); - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; } if ($i == 0) @@ -115,5 +115,5 @@ if ($i == 0) \ No newline at end of file diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php new file mode 100644 index 000000000..b41ea42ca --- /dev/null +++ b/mobile/shop/orderform.php @@ -0,0 +1,570 @@ + + +
+ + 주문하실 상품을 확인하세요.

'; + include_once(G4_MSHOP_PATH.'/cartsub.inc.php'); + + if (file_exists(G4_MSHOP_PATH.'/settle_'.$default['de_card_pg'].'.inc.php')) { + include G4_MSHOP_PATH.'/settle_'.$default['de_card_pg'].'.inc.php'; + } + + $good_mny = (int)$tot_sell_amount + (int)$send_cost; + + $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php'; + ?> + + + +
+ + + + + +
+

주문하시는 분

+ +
$image".stripslashes($row['it_name'])."$row[wi_time]
'.$image.''.stripslashes($row['it_name']).''.$row['wi_time'].'
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + 영,숫자 3~20자 (주문서 조회시 필요) +
주소 + + + - + + + + + + + + +
+ +
+ + +

+

받으시는 분

+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
주소 + + + - + + + + + + + + +
+
+ +
+

결제정보 입력

+ + '; + echo '결제방법 선택'; + } + + // 무통장입금 사용 + if ($default['de_bank_use']) { + $multi_settle++; + echo ' '.PHP_EOL; + $checked = ''; + } + + // 가상계좌 사용 + if ($default['de_vbank_use']) { + $multi_settle++; + echo ' '.PHP_EOL; + $checked = ''; + } + + // 계좌이체 사용 + if ($default['de_iche_use']) { + $multi_settle++; + echo ' '.PHP_EOL; + $checked = ''; + } + + // 휴대폰 사용 + if ($default['de_hp_use']) { + $multi_settle++; + echo ' '.PHP_EOL; + $checked = ''; + } + + // 신용카드 사용 + if ($default['de_card_use']) { + $multi_settle++; + echo ' '.PHP_EOL; + $checked = ''; + } + + if ($default['de_bank_use']) { + // 은행계좌를 배열로 만든후 + $str = explode("\n", trim($default['de_bank_account'])); + if (count($str) <= 1) + { + $bank_account = ''.$str[0].PHP_EOL; + } + else + { + $bank_account = ''.PHP_EOL; + } + echo ''; + } + + if ($default['de_bank_use'] || $default['de_vbank_use'] || $default['de_bank_use'] || $default['de_bank_use'] || $default['de_bank_use']) { + echo ''; + + } + + // 회원이면서 포인트사용이면 + $temp_point = 0; + if ($is_member && $config['cf_use_point']) + { + // 포인트 결제 사용 포인트보다 회원의 포인트가 크다면 + if ($member['mb_point'] >= $default['de_point_settle']) + { + $temp_point = $tot_amount * ($default['de_point_per'] / 100); // 포인트 결제 % 적용 + $temp_point = (int)((int)($temp_point / 100) * 100); // 100점 단위 + + $member_point = (int)((int)($member['mb_point'] / 100) * 100); // 100점 단위 + if ($temp_point > $member_point) + $temp_point = $member_point; + + echo '
결제포인트 : 점 (100점 단위로 입력하세요.)
'; + echo '
회원님의 보유포인트('.display_point($member['mb_point']).')중 '.display_point($temp_point).'(주문금액 '.$default['de_point_per'].'%) 내에서 결제가 가능합니다.
'; + $multi_settle++; + } + } + ?> + + 무통장입금 이외의 결제 수단으로 결제하시는 경우 포인트를 적립해드리지 않습니다.

'; + + if ($multi_settle == 0) + echo '

결제할 방법이 없습니다.
운영자에게 알려주시면 감사하겠습니다.

'; + ?> +
+ + + + + + + + +
+

에스크로 안내

+
+ + + + + + + + +
+
+ 에스크로(escrow) 제도란? +
상거래 시에, 판매자와 구매자의 사이에 신뢰할 수 있는 중립적인 제삼자(여기서는 KCP)가 중개하여 + 금전 또는 물품을 거래를 하도록 하는 것, 또는 그러한 서비스를 말한다. 거래의 안전성을 확보하기 위해 이용된다. + (2006.4.1 전자상거래 소비자보호법에 따른 의무 시행) +

+ 5만원 이상의 현금 거래에만 해당(에스크로 결제를 선택했을 경우에만 해당)되며, + 신용카드로 구매하는 거래, 배송이 필요하지 않은 재화 등을 구매하는 거래(컨텐츠 등), + 5만원 미만의 현금 거래에는 해당되지 않는다. +
+
+
+ + 가입사실확인 + +
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/mobile/shop/orderinquiry.php b/mobile/shop/orderinquiry.php new file mode 100644 index 000000000..997e6a6cf --- /dev/null +++ b/mobile/shop/orderinquiry.php @@ -0,0 +1,71 @@ + + +
+

주문서번호 링크를 누르시면 주문상세내역을 조회하실 수 있습니다.

+ + + + +
+ + diff --git a/mobile/shop/orderinquiry.sub.php b/mobile/shop/orderinquiry.sub.php new file mode 100644 index 000000000..46c785cf2 --- /dev/null +++ b/mobile/shop/orderinquiry.sub.php @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +'; +?> + +
주문서번호주문일시상품수주문금액입금액미입금액
+ + + ()
주문 내역이 없습니다.
diff --git a/mobile/shop/orderinquiryview.php b/mobile/shop/orderinquiryview.php new file mode 100644 index 000000000..13e7e0d74 --- /dev/null +++ b/mobile/shop/orderinquiryview.php @@ -0,0 +1,486 @@ + + +
+ +

주문번호

+ +
+

주문하신 상품

+ 상품 상태 설명 +
+
주문
+
주문이 접수되었습니다.
+
준비
+
상품 준비 중입니다.
+
배송
+
상품 배송 중입니다.
+
완료
+
상품 배송이 완료되었습니다.
+
+ +
+ +
+

결제/배송 정보

+ + +
+

결제정보

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + '; ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0) + { + ?> + + + + + + 0) + { + ?> + + + + + 0) + { + ?> + + + + + + + + + + + +
주문번호
주문일시
결제방식신용카드 결제
결제금액
승인일시
승인번호
영수증영수증 출력
결제방식휴대폰 결제
결제금액
승인일시
휴대폰번호
영수증영수증 출력
영수증영수증 출력
결제방식
입금액
입금확인일시 +
입금액아직 입금되지 않았거나 입금정보를 입력하지 못하였습니다.
계좌번호
입금자명
KCP 거래번호
포인트사용
승인취소 금액
환불 금액
현금영수증 + + 현금영수증 확인하기 + + 현금영수증을 발급하시려면 클릭하십시오. + +
+
+ +
+

주문하신 분

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
이 름
전화번호
핸드폰
주 소
E-mail
+
+ +
+

받으시는 분

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
이 름
전화번호
핸드폰
주 소
희망배송일 +
전하실 말씀 +
+
+ +
+

배송정보

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
배송회사 [배송조회하기]
운송장번호
배송일시
고객센터 전화
아직 배송하지 않았거나 배송정보를 입력하지 못하였습니다.
+
+
+ +
+

결제합계

+ + +
+ +
+

주문취소

+ 0 && $od['od_receipt_bank'] == 0) { + ?> + + +
+
+ + + + + + + + +
+
+ +

주문 취소, 반품, 품절된 내역이 있습니다.

+ +
+ + +
+ 모의입금처리 +

관리자가 가상계좌 테스트를 한 경우에만 보입니다.

+
+
+
+
+

+ +
+
+ + +
+ + \ No newline at end of file diff --git a/mobile/shop/search.php b/mobile/shop/search.php index 59d41531f..baef689dc 100644 --- a/mobile/shop/search.php +++ b/mobile/shop/search.php @@ -2,7 +2,7 @@ include_once('./_common.php'); $g4['title'] = "상품 검색 결과"; -include_once('./_head.php'); +include_once(G4_MSHOP_PATH.'/_head.php'); // QUERY 문에 공통적으로 들어가는 내용 // 상품명에 검색어가 포한된것과 상품판매가능인것만 @@ -95,11 +95,11 @@ $total_count = $row['cnt']; { $sql2 = " select ca_name from $g4[shop_category_table] where ca_id='".substr($save['ca_id'],0,2)."' "; $row2 = sql_fetch($sql2); - $ca_temp = ''.$row2['ca_name'].' > '; + $ca_temp = ''.$row2['ca_name'].' > '; } ?> - + - + - + /cartupdate.php"; f.submit(); } @@ -144,5 +144,5 @@ include_once('./_head.php'); \ No newline at end of file diff --git a/shop/cartsub.inc.php b/shop/cartsub.inc.php index e14858305..207c9067a 100644 --- a/shop/cartsub.inc.php +++ b/shop/cartsub.inc.php @@ -220,7 +220,7 @@ if ($tot_amount > 0) {
- 쇼핑 계속하기 + 쇼핑 계속하기

장바구니의 상품을 주문하시려면 주문하기를 클릭하세요. 비우기는 장바구니의 상품을 모두 비웁니다.

diff --git a/shop/orderform.php b/shop/orderform.php index 962c9ac82..f41a98283 100644 --- a/shop/orderform.php +++ b/shop/orderform.php @@ -1,6 +1,11 @@
상품 상품
이미지 @@ -143,5 +143,5 @@ $total_count = $row['cnt']; diff --git a/mobile/shop/wishlist.php b/mobile/shop/wishlist.php index 6cbbfa0df..d2d67ec6f 100644 --- a/mobile/shop/wishlist.php +++ b/mobile/shop/wishlist.php @@ -5,7 +5,7 @@ if (!$is_member) goto_url(G4_BBS_URL."/login.php?url=".urlencode(G4_SHOP_URL.'/mypage.php')); $g4['title'] = "보관함"; -include_once('./_head.php'); +include_once(G4_MSHOP_PATH.'/_head.php'); ?>
@@ -73,9 +73,9 @@ include_once('./_head.php');
삭제삭제