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');
?>
-
쇼핑 계속하기
+
쇼핑 계속하기
-
+
장바구니의 상품을 주문하시려면 주문하기 를 클릭하세요. 비우기 는 장바구니의 상품을 모두 비웁니다.
쇼핑 계속하기
주문하기
@@ -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)
$nav_ca_id = $ca_id;
- include G4_SHOP_PATH.'/navigation1.inc.php';
+ include G4_MSHOP_PATH.'/navigation1.inc.php';
// 상단 HTML
echo '
'.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 "$image ";
- echo "".stripslashes($row['it_name'])." ";
- echo "$row[wi_time] ";
- echo " ";
+ echo '';
+ echo ''.$image.' ';
+ echo ''.stripslashes($row['it_name']).' ';
+ echo ''.$row['wi_time'].' ';
+ 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';
?>
-
-
-
-