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 index 7a92361d7..b41ea42ca 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -18,7 +18,7 @@ if (get_cart_count($tmp_uq_id) == 0) $g4['title'] = '주문서 작성'; -include_once('./_head.php'); +include_once(G4_MSHOP_PATH.'/_head.php'); // 새로운 주문번호 생성 $od_id = get_uniqid(); @@ -32,10 +32,10 @@ set_session('ss_order_uniqid', $od_id); $s_uq_id = $tmp_uq_id; echo '

주문하실 상품을 확인하세요.

'; - include_once('./cartsub.inc.php'); + include_once(G4_MSHOP_PATH.'/cartsub.inc.php'); - if (file_exists('./settle_'.$default['de_card_pg'].'.inc.php')) { - include './settle_'.$default['de_card_pg'].'.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; @@ -43,303 +43,13 @@ set_session('ss_order_uniqid', $od_id); $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php'; ?> - - - - - - - - - - 카드결제시 결제창에 일시불부터 5개월까지 선택가능 - */ - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "> - - - - - - - - - - - - - */ - - /* 신용카드 결제시 OK캐쉬백 적립 여부를 묻는 창을 설정하는 파라미터 입니다 - OK캐쉬백 포인트 가맹점의 경우에만 창이 보여집니다 - */ - - /* 고정 할부 개월 수 선택 - value값을 "7" 로 설정했을 경우 => 카드결제시 결제창에 할부 7개월만 선택가능 - */ - - /* 무이자 옵션 - ※ 설정할부 (가맹점 관리자 페이지에 설정 된 무이자 설정을 따른다) - "" 로 설정 - ※ 일반할부 (KCP 이벤트 이외에 설정 된 모든 무이자 설정을 무시한다) - "N" 로 설정 - ※ 무이자 할부 (가맹점 관리자 페이지에 설정 된 무이자 이벤트 중 원하는 무이자 설정을 세팅한다) - "Y" 로 설정 - */ - - - /* 무이자 설정 - ※ 주의 1 : 할부는 결제금액이 50,000 원 이상일 경우에만 가능 - ※ 주의 2 : 무이자 설정값은 무이자 옵션이 Y일 경우에만 결제 창에 적용 - 예) 전 카드 2,3,6개월 무이자(국민,비씨,엘지,삼성,신한,현대,롯데,외환) : ALL-02:03:04 - BC 2,3,6개월, 국민 3,6개월, 삼성 6,9개월 무이자 : CCBC-02:03:06,CCKM-03:06,CCSS-03:06:04 - */ - - /* 사용카드 설정 여부 파라미터 입니다.(통합결제창 노출 유무) - - /* 사용카드 설정 파라미터 입니다. (해당 카드만 결제창에 보이게 설정하는 파라미터입니다. used_card_YN 값이 Y일때 적용됩니다. - / - - /* 해외카드 구분하는 파라미터 입니다.(해외비자, 해외마스터, 해외JCB로 구분하여 표시) - - - /* 가상계좌 은행 선택 파라미터 - ※ 해당 은행을 결제창에서 보이게 합니다.(은행코드는 매뉴얼을 참조) */ - ?> - - */ - - - /* 가상계좌 입금 시간 설정하는 파라미터 - HHMMSS형식으로 입력하시기 바랍니다 - 설정을 안하시는경우 기본적으로 23시59분59초가 세팅이 됩니다 - */ - - - /* 포인트 결제시 복합 결제(신용카드+포인트) 여부를 결정할 수 있습니다.- N 일경우 복합결제 사용안함 - */ - - - /* 문화상품권 결제시 가맹점 고객 아이디 설정을 해야 합니다.(필수 설정) - */ - - - /* 현금영수증 등록 창을 출력 여부를 설정하는 파라미터 입니다 - ※ Y : 현금영수증 등록 창 출력 - ※ N : 현금영수증 등록 창 출력 안함 - ※ 주의 : 현금영수증 사용 시 KCP 상점관리자 페이지에서 현금영수증 사용 동의를 하셔야 합니다 */ - ?> - - - - */ - ?> - - - - - */ - - /* = -------------------------------------------------------------------------- = */ - /* = 4. 옵션 정보 END = */ - /* ============================================================================== */ - ?>

주문하시는 분

@@ -856,5 +566,5 @@ $(function() { \ No newline at end of file diff --git a/mobile/shop/orderinquiry.php b/mobile/shop/orderinquiry.php index 1b9f7e7ff..997e6a6cf 100644 --- a/mobile/shop/orderinquiry.php +++ b/mobile/shop/orderinquiry.php @@ -1,5 +1,5 @@
@@ -60,12 +60,12 @@ include_once('./_head.php');
diff --git a/mobile/shop/orderinquiryview.php b/mobile/shop/orderinquiryview.php index 473b5f353..13e7e0d74 100644 --- a/mobile/shop/orderinquiryview.php +++ b/mobile/shop/orderinquiryview.php @@ -23,19 +23,12 @@ $settle_case = $od['od_settle_case']; set_session('ss_temp_uq_id', $uq_id); $g4['title'] = '주문상세내역'; -include_once('./_head.php'); +include_once(G4_MSHOP_PATH.'/_head.php'); $s_uq_id = $od['uq_id']; $s_page = 'orderinquiryview.php'; ?> - -

주문번호

@@ -53,7 +46,7 @@ if(openwin != null) {
완료
상품 배송이 완료되었습니다.
- +
@@ -449,7 +442,7 @@ if(openwin != null) {
- + @@ -489,5 +482,5 @@ if(openwin != null) {
\ 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'].' > '; } ?>
$image".stripslashes($row['it_name'])."$row[wi_time]
'.$image.''.stripslashes($row['it_name']).''.$row['wi_time'].'
- + - + - + /cartupdate.php"; f.submit(); } @@ -144,5 +144,5 @@ include_once('./_head.php'); \ No newline at end of file
상품 상품
이미지 @@ -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');
삭제삭제