diff --git a/adm/shop_admin/configform.php b/adm/shop_admin/configform.php index 42c3b172c..d95eb2da3 100644 --- a/adm/shop_admin/configform.php +++ b/adm/shop_admin/configform.php @@ -557,10 +557,10 @@ $pg_anchor = ''; - -if($i == 1) echo '

등록된 상품이 없습니다.

'; -?> diff --git a/mobile/shop/list.sub.php b/mobile/shop/list.sub.php deleted file mode 100644 index d02189f03..000000000 --- a/mobile/shop/list.sub.php +++ /dev/null @@ -1,17 +0,0 @@ - diff --git a/mobile/shop/listcategory.inc.php b/mobile/shop/listcategory.inc.php deleted file mode 100644 index aafcff0f7..000000000 --- a/mobile/shop/listcategory.inc.php +++ /dev/null @@ -1,33 +0,0 @@ -'.$row['ca_name'].' ('.$row2['cnt'].')'; - $exists = true; -} - -if ($exists) { -?> - - - - \ No newline at end of file diff --git a/mobile/shop/listcategory2.inc.php b/mobile/shop/listcategory2.inc.php deleted file mode 100644 index c0307aaf7..000000000 --- a/mobile/shop/listcategory2.inc.php +++ /dev/null @@ -1,68 +0,0 @@ -'; - if ($cnt) { - $str .= ''.$row['ca_name'].''; - $sql2 = " select ca_id, ca_name from {$g5['g5_shop_category_table']} - where ca_id like '{$row['ca_id']}%' - and ca_use = '1' - and length(ca_id) = $len4 order by ca_id "; - $result2 = sql_query($sql2); - $k=0; - while ($row2=sql_fetch_array($result2)) { - $str .= ''.$row2['ca_name'].''; - $k++; - } - } else { - $str .= ''.$row['ca_name'].''; - } - $str .= ''; - $exists = true; - } -} - - -if ($exists) { -?> - - - - \ No newline at end of file diff --git a/mobile/shop/listcategory3.inc.php b/mobile/shop/listcategory3.inc.php deleted file mode 100644 index 25fc8c4b0..000000000 --- a/mobile/shop/listcategory3.inc.php +++ /dev/null @@ -1,32 +0,0 @@ -'.$row['ca_name'].''; - $exists = true; -} - -if ($exists) { -?> - - - - \ No newline at end of file diff --git a/mobile/shop/listtype.php b/mobile/shop/listtype.php index 54ab5e3b7..5e68d1b25 100644 --- a/mobile/shop/listtype.php +++ b/mobile/shop/listtype.php @@ -29,7 +29,7 @@ if ($sort != '') $error = ''; if (!$skin) - $skin = "list.10.skin.php"; + $skin = 'list.10.skin.php'; // 리스트 유형별로 출력 $list_file = G5_SHOP_SKIN_PATH.'/'.$skin; @@ -43,7 +43,7 @@ if (file_exists($list_file)) { $list = new item_list(); $list->set_type($type); - $list->set_list_skin('list.10.skin.php'); + $list->set_list_skin($skin); $list->set_list_mod($list_mod); $list->set_list_row($list_row); $list->set_img_size($img_width, $img_height); diff --git a/mobile/shop/maintype10.inc.php b/mobile/shop/maintype10.inc.php deleted file mode 100644 index de9b6ffc4..000000000 --- a/mobile/shop/maintype10.inc.php +++ /dev/null @@ -1,33 +0,0 @@ -'; -?> -
  • - - - - - - - - -
    - - - -
    -
  • - 1) echo ''; - -if($i == 1) echo '

    등록된 상품이 없습니다.

    '; -?> diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index e09ac3772..8f83be467 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -205,7 +205,7 @@ ob_start(); alert('장바구니가 비어 있습니다.', G5_SHOP_URL.'/cart.php'); } else { // 배송비 계산 - $send_cost = get_sendcost($tot_sell_price, $s_cart_id); + $send_cost = get_sendcost($s_cart_id); } // 복합과세처리 diff --git a/mobile/shop/orderformupdate.php b/mobile/shop/orderformupdate.php index a59ae46e1..148ffa150 100644 --- a/mobile/shop/orderformupdate.php +++ b/mobile/shop/orderformupdate.php @@ -187,7 +187,7 @@ if ((int)($row['od_price'] - $tot_cp_price) !== $i_price) { } // 배송비가 상이함 -$send_cost = get_sendcost($row['od_price'], $tmp_cart_id); +$send_cost = get_sendcost($tmp_cart_id); $tot_sc_cp_price = 0; if($is_member && $send_cost > 0) { diff --git a/mobile/shop/orderinquiry.sub.php b/mobile/shop/orderinquiry.sub.php index ad64fca90..0facac7f4 100644 --- a/mobile/shop/orderinquiry.sub.php +++ b/mobile/shop/orderinquiry.sub.php @@ -21,9 +21,8 @@ if (!defined("_ORDERINQUIRY_")) exit; // 개별 페이지 접근 불가 $sql = " select *, (od_cart_coupon + od_coupon + od_send_coupon) as couponprice from {$g5['g5_shop_order_table']} - where a.mb_id = '{$member['mb_id']}' - group by a.od_id - order by a.od_id desc + where mb_id = '{$member['mb_id']}' + order by od_id desc $limit "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) diff --git a/mobile/skin/shop/basic/img/sns_fb.png b/mobile/skin/shop/basic/img/sns_fb.png new file mode 100644 index 000000000..3422bbad9 Binary files /dev/null and b/mobile/skin/shop/basic/img/sns_fb.png differ diff --git a/mobile/skin/shop/basic/img/sns_fb2.png b/mobile/skin/shop/basic/img/sns_fb2.png new file mode 100644 index 000000000..8c8db682b Binary files /dev/null and b/mobile/skin/shop/basic/img/sns_fb2.png differ diff --git a/mobile/skin/shop/basic/img/sns_goo.png b/mobile/skin/shop/basic/img/sns_goo.png new file mode 100644 index 000000000..e5754a1e7 Binary files /dev/null and b/mobile/skin/shop/basic/img/sns_goo.png differ diff --git a/mobile/skin/shop/basic/img/sns_goo2.png b/mobile/skin/shop/basic/img/sns_goo2.png new file mode 100644 index 000000000..c8c4df824 Binary files /dev/null and b/mobile/skin/shop/basic/img/sns_goo2.png differ diff --git a/mobile/skin/shop/basic/img/sns_twt.png b/mobile/skin/shop/basic/img/sns_twt.png new file mode 100644 index 000000000..e4c3ceebf Binary files /dev/null and b/mobile/skin/shop/basic/img/sns_twt.png differ diff --git a/mobile/skin/shop/basic/img/sns_twt2.png b/mobile/skin/shop/basic/img/sns_twt2.png new file mode 100644 index 000000000..80c97494e Binary files /dev/null and b/mobile/skin/shop/basic/img/sns_twt2.png differ diff --git a/mobile/skin/shop/basic/item.form.skin.php b/mobile/skin/shop/basic/item.form.skin.php new file mode 100644 index 000000000..b0a6e90bc --- /dev/null +++ b/mobile/skin/shop/basic/item.form.skin.php @@ -0,0 +1,434 @@ + '$it_id' + and SUBSTRING(ca_id,1,4) = '".substr($it['ca_id'],0,4)."' + and it_use = '1' + order by it_id asc + limit 1 "; +$row = sql_fetch($sql); +if ($row['it_id']) { + $prev_title = '이전상품보기 '.$row['it_name']; + $prev_href = ''; + $prev_href = ''; +} else { + $prev_title = ''; + $prev_href = ''; + $prev_href2 = ''; +} + +// 다음 상품보기 +$sql = " select it_id, it_name from {$g5['g5_shop_item_table']} + where it_id < '$it_id' + and SUBSTRING(ca_id,1,4) = '".substr($it['ca_id'],0,4)."' + and it_use = '1' + order by it_id desc + limit 1 "; +$row = sql_fetch($sql); +if ($row['it_id']) { + $next_title = '다음 상품 '.$row['it_name']; + $next_href = ''; + $next_href2 = ''; +} else { + $next_title = ''; + $next_href = ''; + $next_href2 = ''; +} +?> + + + +
    + + + + +
    +
    + + + '; + $thumb = get_it_thumbnail($it['it_img'.$i], 280, 280); + + if(!$thumb) + continue; + + echo '
  • '; + echo ''.$thumb.''; + echo '
  • '; + + $thumb_count++; + } + if ($thumb_count > 0) echo ''; + ?> + +
    + +
    +

    상품간략정보 및 구매기능

    +
    + + +
    + + 고객선호도 + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ + ?> + + + + + + + + + + + + + + +
    제조사
    원산지
    브랜드
    모델
    판매가격전화문의
    시중가격
    판매가격 + 원 + +
    재고수량
    + 점 +
    + + + +
    + + +
    +

    선택옵션

    + + + + + + + + +
    +
    + + + +
    +

    추가옵션

    + + + + + + + + +
    +
    + + + + +
    + +
      +
    • + + + + + + + (+0원) +
      + + + +
      +
    • +
    + + +
    + +
    + + + + + + +
    +
    + +
    + + + + \ No newline at end of file diff --git a/mobile/skin/shop/basic/item.info.skin.php b/mobile/skin/shop/basic/item.info.skin.php new file mode 100644 index 000000000..df9ebb2fe --- /dev/null +++ b/mobile/skin/shop/basic/item.info.skin.php @@ -0,0 +1,216 @@ + + + + + + +
    +

    상품 정보

    + + + +
    + +
    + + + +
    + +
    + + +

    상품 정보 고시

    + + + + + + + + + $val) { + $ii_title = $info_array[$key][0]; + $ii_value = $val; + ?> + + + + + +
    +
    + + + +
    + + +
    +

    사용후기

    + + +
    +
    + +
    +

    상품문의

    + + +
    +
    + + + +
    +

    배송정보

    + + + +
    + + + + +
    +

    교환/반품

    + + + +
    + + +
    +

    관련상품

    + + +
    + set_mobile(true); + $list->set_query($sql); + echo $list->run(); + ?> +
    +
    + + + + \ No newline at end of file diff --git a/mobile/skin/shop/basic/item.relation.skin.php b/mobile/skin/shop/basic/item.relation.skin.php new file mode 100644 index 000000000..ab820b857 --- /dev/null +++ b/mobile/skin/shop/basic/item.relation.skin.php @@ -0,0 +1,79 @@ + + + + + +list_mod >= 2) { // 1줄 이미지 : 2개 이상 + if ($i%$this->list_mod == 0) $sct_last = ' sct_last'; // 줄 마지막 + else if ($i%$this->list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째 + else $sct_last = ''; + } else { // 1줄 이미지 : 1개 + $sct_last = 'sct_clear'; + } + + if ($i == 1) { + if ($this->css) { + echo "