diff --git a/css/mobile_shop.css b/css/mobile_shop.css index 1004bb75a..30f5c1c25 100644 --- a/css/mobile_shop.css +++ b/css/mobile_shop.css @@ -687,14 +687,14 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f .sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto !important} .sv_nojs .sv {display:block} -/* pagination */ +/* 페이징 */ .pg_wrap {clear:both;margin:0 0 10px;padding-top:10px;text-align:center} .pg {display:inline-block;border:1px solid #cfded8;letter-spacing:-4px} .pg a:focus, .pg a:hover, .pg a:active {text-decoration:none} -.pg_page, .pg_current, .qa_page {display:inline-block;padding:0 5px;color:#000;letter-spacing:0;line-height:1.9em;vertical-align:middle} +.pg_page, .pg_current, .qa_page {display:inline-block;padding:0 10px;color:#000;letter-spacing:0;line-height:2.5em;vertical-align:middle} .pg_page, .qa_page {background:#f9f9f9;text-decoration:none} -.pg_start, .pg_prev, .qa_start, .qa_prev {border-right:1px solid #cfded8} -.pg_end, .pg_next, .qa_end, .qa_next {border-left:1px solid #cfded8} +.pg_start, .pg_prev, .qa_start, .qa_prev {padding:0 5px;border-right:1px solid #cfded8} +.pg_end, .pg_next, .qa_end, .qa_next {padding:0 5px;border-left:1px solid #cfded8} .pg_current {background:#333;color:#fff;font-weight:bold} /* 상품상세 메뉴 floating */ diff --git a/mobile/shop/category.php b/mobile/shop/category.php index 5453f9307..5c90ee8c3 100644 --- a/mobile/shop/category.php +++ b/mobile/shop/category.php @@ -22,8 +22,8 @@ $result = sql_query($sql);
@@ -63,7 +66,7 @@ $result = sql_query($sql);
- +
diff --git a/mobile/skin/shop/basic/list.10.skin.php b/mobile/skin/shop/basic/list.10.skin.php index 4a034dff4..58f1e545d 100644 --- a/mobile/skin/shop/basic/list.10.skin.php +++ b/mobile/skin/shop/basic/list.10.skin.php @@ -16,38 +16,58 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { } } - echo "
  • \n"; + echo "
  • img_width}px\">\n"; if ($this->href) { - echo "href}{$row['it_id']}\" class=\"sct_a\">\n"; + echo "href}{$row['it_id']}\" class=\"sct_a sct_img\">\n"; } if ($this->view_it_img) { - echo "".get_it_image($row['it_id'], $this->img_width, $this->img_height)."\n"; + echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name']))."\n"; + } + + if ($this->href) { + echo "\n"; } if ($this->view_it_id) { - echo "".stripslashes($row['it_id'])."\n"; + echo "<".stripslashes($row['it_id']).">\n"; + } + + if ($this->href) { + echo "href}{$row['it_id']}\" class=\"sct_a sct_txt\">\n"; } if ($this->view_it_name) { - $it_name = $row['it_name']; - if ($this->is_mobile && $row['it_mobile_name']) { - $it_name = $row['it_mobile_name']; + echo stripslashes($row['it_name'])."\n"; + } + + if ($this->href) { + echo "\n"; + } + + if ($this->view_it_basic && $row['it_basic']) { + echo "
    ".stripslashes($row['it_basic'])."
    \n"; + } + + if ($this->view_it_cust_price || $this->view_it_price) { + + echo "
    \n"; + + if ($this->view_it_cust_price && $row['it_cust_price']) { + echo "".display_price($row['it_cust_price'])."\n"; } - echo "".stripslashes($it_name)."\n"; - } - if ($this->view_it_cust_price && $row['it_cust_price']) { - echo "".display_price($row['it_cust_price'])."\n"; - } + if ($this->view_it_price) { + echo display_price(get_price($row), $row['it_tel_inq'])."\n"; + } + + echo "
    \n"; - if ($this->view_it_price) { - echo "".display_price(get_price($row), $row['it_tel_inq'])."\n"; } if ($this->view_it_icon) { - echo "".item_icon($row)."\n"; + echo "
    ".item_icon($row)."
    \n"; } if ($this->view_sns) { diff --git a/mobile/skin/shop/basic/main.10.skin.php b/mobile/skin/shop/basic/main.10.skin.php index a352f9d05..35dfc6e88 100644 --- a/mobile/skin/shop/basic/main.10.skin.php +++ b/mobile/skin/shop/basic/main.10.skin.php @@ -16,34 +16,54 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { } } - echo "
  • \n"; + echo "
  • img_width}px\">\n"; if ($this->href) { - echo "href}{$row['it_id']}\" class=\"sct_a\">\n"; + echo "href}{$row['it_id']}\" class=\"sct_a sct_img\">\n"; } if ($this->view_it_img) { - echo "".get_it_image($row['it_id'], $this->img_width, $this->img_height)."\n"; + echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name']))."\n"; + } + + if ($this->href) { + echo "\n"; } if ($this->view_it_id) { - echo "".stripslashes($row['it_id'])."\n"; + echo "<".stripslashes($row['it_id']).">\n"; + } + + if ($this->href) { + echo "href}{$row['it_id']}\" class=\"sct_a sct_txt\">\n"; } if ($this->view_it_name) { - $it_name = $row['it_name']; - if ($this->is_mobile && $row['it_mobile_name']) { - $it_name = $row['it_mobile_name']; + echo stripslashes($row['it_name'])."\n"; + } + + if ($this->href) { + echo "\n"; + } + + if ($this->view_it_basic && $row['it_basic']) { + echo "
    ".stripslashes($row['it_basic'])."
    \n"; + } + + if ($this->view_it_cust_price || $this->view_it_price) { + + echo "
    \n"; + + if ($this->view_it_cust_price && $row['it_cust_price']) { + echo "".display_price($row['it_cust_price'])."\n"; } - echo "".stripslashes($it_name)."\n"; - } - if ($this->view_it_cust_price && $row['it_cust_price']) { - echo "".display_price($row['it_cust_price'])."\n"; - } + if ($this->view_it_price) { + echo display_price(get_price($row), $row['it_tel_inq'])."\n"; + } + + echo "
    \n"; - if ($this->view_it_price) { - echo "".display_price(get_price($row), $row['it_tel_inq'])."\n"; } if ($this->view_it_icon) { diff --git a/mobile/skin/shop/basic/style.css b/mobile/skin/shop/basic/style.css index 5c63819ed..7eb378199 100644 --- a/mobile/skin/shop/basic/style.css +++ b/mobile/skin/shop/basic/style.css @@ -13,72 +13,24 @@ .sct:after {display:block;visibility:hidden;clear:both;content:""} .sct_li {position:relative} .sct_noitem {padding:100px 0;text-align:center} +.sct_icon img {margin:0 1px 0 0} +.sct_sns img {margin:0 4px 0 0} .sct_more {margin:30px 0 0} .sct_more a {display:block;padding:10px 0;background:#383838;color:#fff;font-weight:bold;text-align:center} /* 상품 목록 스킨 10 */ -.sct_10 .sct_li {float:left;padding:0 25px 15px 0;} +.sct_10 .sct_li {position:relative;float:left;padding:0 25px 15px 0} .sct_10 .sct_last {margin:0 0 15px !important} .sct_10 .sct_clear {clear:both} -.sct_10 .sct_a {display:block;position:relative;text-decoration:none} -.sct_10 .sct_a:focus, .sct_10 .sct_a:hover {text-decoration:none} -.sct_10 .sct_img {display:block;margin:0 0 15px} -.sct_10 b {display:block;margin:0 0 8px;font-weight:normal} -.sct_10 s {display:block} +.sct_10 .sct_a {display:inline-block;position:relative;margin:0 0 5px;text-decoration:none} +.sct_10 .sct_id {display:block;margin:0 0 5px} +.sct_10 .sct_basic {margin:0 0 10px} .sct_10 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} +.sct_10 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal} .sct_10 .sct_icon {} .sct_10 .sct_icon img {} -.sct_10 .sct_sns {position:absolute;top:190px;right:20px} - -/* 상품 목록 스킨 11 */ -.sct_11 .sct_li {float:left;margin:0 25px 15px 0;} -.sct_11 .sct_last {margin:0 0 15px !important} -.sct_11 .sct_clear {clear:both} -.sct_11 .sct_a {display:block;position:relative;padding:0 0 5px;background:#f5f6fa;text-decoration:none} -.sct_11 .sct_a:focus, .sct_11 .sct_a:hover {text-decoration:none} -.sct_11 .sct_img {display:block;margin:0 0 15px} -.sct_11 b {display:block;margin:0 0 8px;padding:0 5px;font-weight:normal} -.sct_11 s {display:block} -.sct_11 .sct_cost {display:block;margin:0 0 10px;padding:0 5px;font-weight:bold} -.sct_11 .sct_icon {position:absolute;top:10px;left:-5px;margin:0 !important} -.sct_11 .sct_icon img {display:block} -.sct_11 .sct_sns {position:absolute;bottom:10px;right:10px} - -/* 상품 목록 스킨 12 */ -.sct_12 .sct_li {float:left;margin:0 16px 15px 0;} -.sct_12 .sct_last {margin:0 0 15px !important} -.sct_12 .sct_clear {clear:both} -.sct_12 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:221px;width:10px;height:19px;background:url('../img/shop/icon_arw_toleft.gif') no-repeat} -.sct_12 .sct_a {display:block;position:relative;padding:20px 10px 20px 240px;width:110px;height:190px;border:1px solid #e9e9e9;background:#f5f6fa;text-decoration:none} -.sct_12 .sct_a:focus, .sct_12 .sct_a:hover {text-decoration:none} -.sct_12 .sct_img {position:absolute;top:0;left:0} -.sct_12 b {display:block;margin:0 0 15px;font-size:1.2em;letter-spacing:-0.1em} -.sct_12 p {margin:0 0 15px;padding:0;line-height:1.5em} -.sct_12 s {display:block} -.sct_12 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} -.sct_12 .sct_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important} -.sct_12 .sct_icon img {display:block} -.sct_12 .sct_sns {position:absolute;bottom:20px;right:10px} - -/* 상품 목록 스킨 13 */ -.sct_13 .sct_li {float:left;margin:0 0 16px 0;width:100%} -.sct_13 .sct_last {} -.sct_13 .sct_clear {clear:both} -.sct_13 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:221px;width:10px;height:19px;background:url('../img/shop/icon_arw_toleft.gif') no-repeat} -.sct_13 .sct_a {display:block;position:relative;padding:20px 10px 20px 240px;height:190px;border:1px solid #e9e9e9;background:#f5f6fa;text-decoration:none} -.sct_13 .sct_a:focus, .sct_13 .sct_a:hover {text-decoration:none} -.sct_13 .sct_img {position:absolute;top:0;left:0} -.sct_13 b {display:block;margin:0 0 15px;font-size:1.2em;letter-spacing:-0.1em} -.sct_13 p {margin:0 0 15px;padding:0;line-height:1.5em} -.sct_13 s {display:block} -.sct_13 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} -.sct_13 .sct_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important} -.sct_13 .sct_icon img {display:block} -.sct_13 .sct_rel {position:absolute;bottom:20px;right:20px} -.sct_13 .sct_rel_ul {margin:0;padding:0;list-style:none} -.sct_13 .sct_rel_li {float:left;margin:0 0 0 10px} -.sct_13 .sct_sns {position:absolute;top:20px;right:20px} +.sct_10 .sct_sns {margin:15px 0 0} /* ##### maint.(nn).skin.php, list.(nn).skin.php 공통 적용 끝 ##### */ /* 상품상세 */ diff --git a/skin/shop/basic/img/icon_arw_toleft.gif b/skin/shop/basic/img/icon_arw_toleft.gif new file mode 100644 index 000000000..a9d338b5e Binary files /dev/null and b/skin/shop/basic/img/icon_arw_toleft.gif differ diff --git a/skin/shop/basic/list.10.skin.php b/skin/shop/basic/list.10.skin.php index 13f5d3a7d..a874d922b 100644 --- a/skin/shop/basic/list.10.skin.php +++ b/skin/shop/basic/list.10.skin.php @@ -30,7 +30,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } if ($this->view_it_img) { - echo get_it_image($row['it_id'], $this->img_width, $this->img_height)."\n"; + echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name']))."\n"; } if ($this->href) { @@ -53,7 +53,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } - if ($this->view_it_basic) { + if ($this->view_it_basic && $row['it_basic']) { echo "
    ".stripslashes($row['it_basic'])."
    \n"; } @@ -62,7 +62,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "
    \n"; if ($this->view_it_cust_price && $row['it_cust_price']) { - echo "".display_price($row['it_cust_price'])." >\n"; + echo "".display_price($row['it_cust_price'])."\n"; } if ($this->view_it_price) { diff --git a/skin/shop/basic/list.20.skin.php b/skin/shop/basic/list.20.skin.php index 755482e24..e07236600 100644 --- a/skin/shop/basic/list.20.skin.php +++ b/skin/shop/basic/list.20.skin.php @@ -53,12 +53,16 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_basic && $row['it_basic']) { + echo "
    ".stripslashes($row['it_basic'])."
    \n"; + } + if ($this->view_it_cust_price || $this->view_it_price) { echo "
    \n"; if ($this->view_it_cust_price && $row['it_cust_price']) { - echo "".display_price($row['it_cust_price'])." >\n"; + echo "".display_price($row['it_cust_price'])."\n"; } if ($this->view_it_price) { diff --git a/skin/shop/basic/list.30.skin.php b/skin/shop/basic/list.30.skin.php index 2fde5ca1c..3e1f821e6 100644 --- a/skin/shop/basic/list.30.skin.php +++ b/skin/shop/basic/list.30.skin.php @@ -24,42 +24,64 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } } - echo "
  • \n"; + $list_top_pad = 20; + $list_right_pad = 10; + $list_bottom_pad = 20; + $list_left_pad = $this->img_width + 10; + $list_real_width = 360; + $list_width = $list_real_width - $list_right_pad - $list_left_pad; + $list_height = $this->img_height - $list_top_pad - $list_bottom_pad; + + echo "
  • \n"; if ($this->href) { - echo "href}{$row['it_id']}\" class=\"sct_a\">\n"; + echo "href}{$row['it_id']}\" class=\"sct_a sct_img\">\n"; } - echo "\n"; - if ($this->view_it_img) { - echo "".get_it_image($row['it_id'], $this->img_width, $this->img_height)."\n"; - } - - if ($this->view_it_id) { - echo "".stripslashes($row['it_id'])."\n"; - } - - if ($this->view_it_name) { - echo "".stripslashes($row['it_name'])."\n"; - } - - if ($this->view_it_cust_price && $row['it_cust_price']) { - echo "".display_price($row['it_cust_price'])."\n"; - } - - if ($this->view_it_price) { - echo "".display_price(get_price($row), $row['it_tel_inq'])."\n"; - } - - if ($this->view_it_icon) { - echo "".item_icon($row)."\n"; + echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name']))."\n"; } if ($this->href) { echo "\n"; } + if ($this->view_it_id) { + echo "<".stripslashes($row['it_id']).">\n"; + } + + if ($this->href) { + echo "href}{$row['it_id']}\" class=\"sct_a sct_txt\">\n"; + } + + if ($this->view_it_name) { + echo stripslashes($row['it_name'])."\n"; + } + + if ($this->href) { + echo "\n"; + } + + if ($this->view_it_basic && $row['it_basic']) { + echo "
    ".stripslashes($row['it_basic'])."
    \n"; + } + + if ($this->view_it_cust_price || $this->view_it_price) { + + echo "
    \n"; + + if ($this->view_it_cust_price && $row['it_cust_price']) { + echo "".display_price($row['it_cust_price'])."\n"; + } + + if ($this->view_it_price) { + echo display_price(get_price($row), $row['it_tel_inq'])."\n"; + } + + echo "
    \n"; + + } + if ($this->view_sns) { echo "
    "; echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb.png'); @@ -68,6 +90,8 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "
    \n"; } + echo "
    "; + echo "
  • \n"; } diff --git a/skin/shop/basic/list.40.skin.php b/skin/shop/basic/list.40.skin.php index e716ea0c2..01016f5fe 100644 --- a/skin/shop/basic/list.40.skin.php +++ b/skin/shop/basic/list.40.skin.php @@ -24,44 +24,66 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } else { echo "