diff --git a/mobile/shop/cartsub.inc.php b/mobile/shop/cartsub.inc.php deleted file mode 100644 index a97a47b0f..000000000 --- a/mobile/shop/cartsub.inc.php +++ /dev/null @@ -1,334 +0,0 @@ - - - - -
- - - - - - - - - -'; -} else if($s_page == 'orderinquiryview.php') { - echo ''; -} -?> - - - - '$ctime' "; -} -$sql .= " order by a.ct_id "; -$result = sql_query($sql); - -$good_info = ''; - -for ($i=0; $row=mysql_fetch_array($result); $i++) -{ - // 합계금액 계산 - $sql = " select SUM(IF(io_type = 1, (io_price * ct_qty), ((ct_price + io_price) * ct_qty))) as price, - SUM(ct_point * ct_qty) as point, - SUM(ct_qty) as qty - from {$g4['shop_cart_table']} - where it_id = '{$row['it_id']}' - and uq_id = '$s_uq_id' "; - $sum = sql_fetch($sql); - - if (!$goods) - { - //$goods = addslashes($row[it_name]); - //$goods = get_text($row[it_name]); - $goods = preg_replace("/\'|\"|\||\,|\&|\;/", "", $row['it_name']); - $goods_it_id = $row['it_id']; - } - $goods_count++; - - // 에스크로 상품정보 - if($s_page == 'orderform.php' && $default['de_escrow_use']) { - if ($i>0) - $good_info .= chr(30); - $good_info .= "seq=".($i+1).chr(31); - $good_info .= "ordr_numb={$od_id}_".sprintf("%04d", $i).chr(31); - $good_info .= "good_name=".addslashes($row['it_name']).chr(31); - $good_info .= "good_cntx=".$row['ct_qty'].chr(31); - $good_info .= "good_amtx=".$row['ct_price'].chr(31); - } - - if ($i==0) { // 계속쇼핑 - $continue_ca_id = $row['ca_id']; - } - - if ($s_page == 'cart.php' || $s_page == 'orderinquiryview.php') { // 링크를 붙이고 - $a1 = ''; - $a2 = ''; - $image = get_it_image($row['it_id'], 70, 70); - } else { // 붙이지 않고 - $a1 = ''; - $a2 = ''; - $image = get_it_image($row['it_id'], 50, 50); - } - - $it_name = $a1 . stripslashes($row['it_name']) . $a2; - $it_options = print_item_options($row['it_id'], $s_uq_id); - if($it_options) { - $mod_options = ''; - if($s_page == 'cart.php') - $mod_options = '
'; - $it_name .= '
'.$it_options.'
'; - } - - $point = $sum['point']; - $sell_amount = $sum['price']; -?> - - - - - - - - - - - '; - else if ($s_page == 'orderinquiryview.php') - echo ''; - ?> - - -'; -} else { - // 배송비가 넘어왔다면 - if ($_POST['od_send_cost']) { - $send_cost = (int)$_POST['od_send_cost']; - } else { - // 배송비 계산 - if ($default['de_send_cost_case'] == '없음') - $send_cost = 0; - else { - // 배송비 상한 : 여러단계의 배송비 적용 가능 - $send_cost_limit = explode(";", $default['de_send_cost_limit']); - $send_cost_list = explode(";", $default['de_send_cost_list']); - $send_cost = 0; - for ($k=0; $k 0) - $send_cost = $row['od_send_cost']; - } -} -?> - -
상품이미지상품명총수량판매가소계포인트상태
- - - - '.$row['ct_status'].'
장바구니에 담긴 상품이 없습니다.
- - - - 0) -{ -?> - -
- 배송비 - -
- - - - 0) { -?> - -
- 총계 - -
- - - - -
- - 쇼핑 계속하기 - - - - -

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

- 쇼핑 계속하기 - 주문하기 - 선택삭제 - 비우기 - -
- - -
- - - - diff --git a/shop/cartsub.inc.php b/shop/cartsub.inc.php deleted file mode 100644 index 3a738160d..000000000 --- a/shop/cartsub.inc.php +++ /dev/null @@ -1,440 +0,0 @@ - - - - -
- - - - - - - - - - - - -'; -else if ($s_page == 'orderinquiryview.php') - echo ''; -?> - - - - '$ctime' "; -} -$sql .= " order by a.ct_id "; -$result = sql_query($sql); - -$good_info = ''; - -for ($i=0; $row=mysql_fetch_array($result); $i++) -{ - // 합계금액 계산 - $sql = " select SUM(IF(io_type = 1, (io_price * ct_qty), ((ct_price + io_price) * ct_qty))) as price, - SUM(ct_point * ct_qty) as point, - SUM(ct_qty) as qty - from {$g4['shop_cart_table']} - where it_id = '{$row['it_id']}' - and uq_id = '$s_uq_id' "; - $sum = sql_fetch($sql); - - if (!$goods) - { - //$goods = addslashes($row[it_name]); - //$goods = get_text($row[it_name]); - $goods = preg_replace("/\'|\"|\||\,|\&|\;/", "", $row['it_name']); - $goods_it_id = $row['it_id']; - } - $goods_count++; - - // 에스크로 상품정보 - if($s_page == 'orderform.php' && $default['de_escrow_use']) { - if ($i>0) - $good_info .= chr(30); - $good_info .= "seq=".($i+1).chr(31); - $good_info .= "ordr_numb={$od_id}_".sprintf("%04d", $i).chr(31); - $good_info .= "good_name=".addslashes($row['it_name']).chr(31); - $good_info .= "good_cntx=".$row['ct_qty'].chr(31); - $good_info .= "good_amtx=".$row['ct_price'].chr(31); - } - - if ($i==0) { // 계속쇼핑 - $continue_ca_id = $row['ca_id']; - } - - if ($s_page == 'cart.php' || $s_page == 'orderinquiryview.php') { // 링크를 붙이고 - $a1 = ''; - $a2 = ''; - $image = get_it_image($row['it_id'], 70, 70); - } else { // 붙이지 않고 - $a1 = ''; - $a2 = ''; - $image = get_it_image($row['it_id'], 50, 50); - } - - $it_name = $a1 . stripslashes($row['it_name']) . $a2; - $it_options = print_item_options($row['it_id'], $s_uq_id); - if($it_options) { - $mod_options = ''; - if($s_page == 'cart.php') - $mod_options = '
'; - $it_name .= '
'.$it_options.'
'; - } - - $point = $sum['point']; - $sell_amount = $sum['price']; - - // 쿠폰 - if($s_page == 'orderform.php' && $is_member) { - $cp_button = ''; - - $sql = " select count(*) as cnt - from {$g4['shop_coupon_table']} - where mb_id = '{$member['mb_id']}' - and cp_used = '0' - and cp_start <= '".G4_TIME_YMD."' - and cp_end >= '".G4_TIME_YMD."' - and ( - ( cp_method = '0' and cp_target = '{$row['it_id']}' ) - OR - ( cp_method = '1' and ( cp_target IN ( '{$row['ca_id']}', '{$row['ca_id2']}', '{$row['ca_id3']}' ) ) ) - ) "; - $cp = sql_fetch($sql); - - if($cp['cnt']) - $cp_button = ''; - } -?> - - - - - - - - - - - - - '; - else if ($s_page == 'orderinquiryview.php') - echo ''; - ?> - - -'; -} else { - // 배송비가 넘어왔다면 - if ($_POST['od_send_cost']) { - $send_cost = (int)$_POST['od_send_cost']; - } else { - // 배송비 계산 - if ($default['de_send_cost_case'] == '없음') - $send_cost = 0; - else { - // 배송비 상한 : 여러단계의 배송비 적용 가능 - $send_cost_limit = explode(";", $default['de_send_cost_limit']); - $send_cost_list = explode(";", $default['de_send_cost_list']); - $send_cost = 0; - for ($k=0; $k 0) - $send_cost = $row['od_send_cost']; - } -} -?> - -
상품이미지상품명총수량판매가쿠폰소계포인트상태
- - - - - - '.$row['ct_status'].'
장바구니에 담긴 상품이 없습니다.
- - - - 0) -{ -?> - -
- 배송비 - -
- - - - 0) { -?> - -
- 총계 - -
- - - - -
- - 쇼핑 계속하기 - - - - -

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

- 쇼핑 계속하기 - 주문하기 - 선택삭제 - 비우기 - -
- - -
- - - - - -