diff --git a/mobile/skin/shop/basic/list.10.skin.php b/mobile/skin/shop/basic/list.10.skin.php index 4a034dff4..81db2d0d4 100644 --- a/mobile/skin/shop/basic/list.10.skin.php +++ b/mobile/skin/shop/basic/list.10.skin.php @@ -19,35 +19,55 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { 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"; } 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 공통 적용 끝 ##### */ /* 상품상세 */