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 "
\n";
}
- }
+ }
- echo "- \n";
+ $list_top_pad = 20;
+ $list_right_pad = 10;
+ $list_bottom_pad = 20;
+ $list_left_pad = $this->img_width + 10;
+ $list_real_width = 740;
+ $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');
diff --git a/skin/shop/basic/main.10.skin.php b/skin/shop/basic/main.10.skin.php
index 3cbccb7a2..fbf92dcff 100644
--- a/skin/shop/basic/main.10.skin.php
+++ b/skin/shop/basic/main.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/main.20.skin.php b/skin/shop/basic/main.20.skin.php
index e44bc6b31..5952fb86c 100644
--- a/skin/shop/basic/main.20.skin.php
+++ b/skin/shop/basic/main.20.skin.php
@@ -37,42 +37,63 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "
\n";
}
- echo "- ";
+ echo "
- img_width}px\">";
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";
- }
-
- 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_it_icon) {
+ echo "".item_icon($row)."
\n";
+ }
+
if ($this->view_sns) {
- echo "";
+ $sns_top = $this->img_height + 10;
+ echo "
";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_twt.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_goo.png');
diff --git a/skin/shop/basic/main.30.skin.php b/skin/shop/basic/main.30.skin.php
index 15a7662d1..c5db7b4af 100644
--- a/skin/shop/basic/main.30.skin.php
+++ b/skin/shop/basic/main.30.skin.php
@@ -33,42 +33,63 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "
";
}
- 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";
- }
-
- 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_it_icon) {
+ echo "".item_icon($row)."
\n";
+ }
+
if ($this->view_sns) {
- echo "";
+ $sns_top = $this->img_height + 10;
+ echo "
";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_twt.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_goo.png');
diff --git a/skin/shop/basic/main.40.skin.php b/skin/shop/basic/main.40.skin.php
index 97f2807e5..88f6635c6 100644
--- a/skin/shop/basic/main.40.skin.php
+++ b/skin/shop/basic/main.40.skin.php
@@ -37,42 +37,63 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "
\n";
}
- echo "- ";
+ echo "
- img_width}px\">";
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";
- }
-
- 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_it_icon) {
+ echo "".item_icon($row)."
\n";
+ }
+
if ($this->view_sns) {
- echo "";
+ $sns_top = $this->img_height + 10;
+ echo "
";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_twt.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_goo.png');
diff --git a/skin/shop/basic/main.50.skin.php b/skin/shop/basic/main.50.skin.php
index fa409762c..853ba3c42 100644
--- a/skin/shop/basic/main.50.skin.php
+++ b/skin/shop/basic/main.50.skin.php
@@ -36,42 +36,63 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "
\n";
}
- echo "- ";
+ echo "
- img_width}px\">";
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";
- }
-
- 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_it_icon) {
+ echo "".item_icon($row)."
\n";
+ }
+
if ($this->view_sns) {
- echo "";
+ $sns_top = $this->img_height + 10;
+ echo "
";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_twt.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_goo.png');
diff --git a/skin/shop/basic/style.css b/skin/shop/basic/style.css
index fbf857818..f2c4129eb 100644
--- a/skin/shop/basic/style.css
+++ b/skin/shop/basic/style.css
@@ -20,7 +20,7 @@
.sct_noitem {padding:100px 0;text-align:center}
.sct img {position:relative} /* 리스트뷰 갤러리뷰 변경 시 ie6,7 에서 이미지 사라지는 문제 해결하기 위해 */
.sct_icon img {margin:0 1px 0 0}
-.sct_sns img {margin:0 0 0 4px}
+.sct_sns img {margin:0 4px 0 0}
/* 상품 목록 스킨 10 */
.sct_10 .sct_li {position:relative;float:left;margin:0 25px 15px 0}
@@ -32,7 +32,7 @@
.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 {color:#999;font-weight:normal}
+.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;left:0;width:100%;text-align:center}
@@ -46,109 +46,111 @@
.sct_20 .sct_img {}
.sct_20 .sct_id {display:block;padding:5px 10px 0;background:#f2f5f9}
.sct_20 .sct_txt {padding:10px;background:#f2f5f9}
+.sct_20 .sct_basic {padding:0 10px 5px;background:#f2f5f9;line-height:1.5em}
.sct_20 .sct_cost {display:block;padding:0 10px 10px;background:#f2f5f9;font-weight:bold}
+.sct_20 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
.sct_20 .sct_icon {position:absolute;top:10px;left:-5px;margin:0 !important}
.sct_20 .sct_icon img {display:block}
.sct_20 .sct_sns {position:absolute;bottom:10px;right:10px}
/* 상품 목록 스킨 30 */
-.sct_30 .sct_li {position:relative;float:left;margin:0 16px 15px 0}
+.sct_30 .sct_li {position:relative;float:left;margin:0 16px 15px 0;border:1px solid #e9e9e9;background:#f5f6fa}
.sct_30 .sct_last {margin:0 0 15px !important}
.sct_30 .sct_clear {clear:both}
-.sct_30 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:221px;width:10px;height:19px;background:url('../shop/img/icon_arw_toleft.gif') no-repeat}
-.sct_30 .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_30 .sct_a:focus, .sct_30 .sct_a:hover {text-decoration:none}
-.sct_30 .sct_img {position:absolute;top:0;left:0}
-.sct_30 b {display:block;margin:0 0 15px;font-size:1.2em;letter-spacing:-0.1em}
-.sct_30 p {margin:0 0 15px;padding:0;line-height:1.5em}
-.sct_30 s {display:block}
+.sct_30 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:221px;width:10px;height:19px;background:url('img/icon_arw_toleft.gif') no-repeat}
+.sct_30 .sct_a {text-decoration:none}
+.sct_30 .sct_img img {position:absolute;top:0;left:0}
+.sct_30 .sct_txt {display:inline-block;margin:0 0 20px}
+.sct_30 .sct_basic {margin:0 0 15px;padding:0;line-height:1.5em}
.sct_30 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
+.sct_30 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
.sct_30 .sct_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important}
.sct_30 .sct_icon img {display:block}
.sct_30 .sct_sns {position:absolute;bottom:20px;right:10px}
/* 상품 목록 스킨 40 */
-.sct_40 .sct_li {position:relative;float:left;margin:0 0 16px 0;width:100%}
-.sct_40 .sct_last {}
-.sct_40 .sct_clear {clear:both}
-.sct_40 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:221px;width:10px;height:19px;background:url('../shop/img/icon_arw_toleft.gif') no-repeat}
-.sct_40 .sct_a {display:block;position:relative;padding:20px 10px 20px 240px;height:190px;border:1px solid #e9e9e9;background:#f5f6fa;text-decoration:none}
+.sct_40 .sct_li {position:relative;margin:0 0 16px 0;border:1px solid #e9e9e9;background:#f5f6fa}
+.sct_40 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:221px;width:10px;height:19px;background:url('img/icon_arw_toleft.gif') no-repeat}
+.sct_40 .sct_a {text-decoration:none}
.sct_40 .sct_a:focus, .sct_40 .sct_a:hover {text-decoration:none}
-.sct_40 .sct_img {position:absolute;top:0;left:0}
-.sct_40 b {display:block;margin:0 0 15px;font-size:1.2em;letter-spacing:-0.1em}
-.sct_40 p {margin:0 0 15px;padding:0;line-height:1.5em}
-.sct_40 s {display:block}
+.sct_40 .sct_img img {position:absolute;top:0;left:0}
+.sct_40 .sct_txt {display:inline-block;margin:0 0 20px}
+.sct_40 .sct_basic {margin:0 0 15px;padding:0;line-height:1.5em}
.sct_40 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
+.sct_40 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
.sct_40 .sct_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important}
.sct_40 .sct_icon img {display:block}
.sct_40 .sct_rel {position:absolute;bottom:20px;right:20px}
.sct_40 .sct_rel_ul {margin:0;padding:0;list-style:none}
.sct_40 .sct_rel_li {float:left;margin:0 0 0 10px}
-.sct_40 .sct_sns {position:absolute;top:20px;right:20px}
+.sct_40 .sct_sns {padding:10px 0 0}
/* 메인 상품 목록 스킨 20 */
-.smt_20 {position:relative;height:306px;overflow-y:hidden}
+.smt_20 {position:relative;overflow-y:hidden}
.smt_20 .sct_ul {display:none;position:absolute;top:306px;left:0;margin:0;padding:0;list-style:none}
.smt_20 .sct_ul_first {display:block;top:0}
-.smt_20 .sct_li {float:left;margin:0 25px 15px 0}
+.smt_20 .sct_li {position:relative;float:left;margin:0 25px 15px 0}
.smt_20 .sct_last {margin:0 0 15px !important}
-.smt_20 .sct_a {display:block;position:relative;text-decoration:none}
+.smt_20 .sct_a {display:inline-block;position:relative;margin:0 0 5px;text-decoration:none}
.smt_20 .sct_a:focus, .smt_20 .sct_a:hover {text-decoration:none}
-.smt_20 .sct_img {display:block;margin:0 0 15px}
-.smt_20 b {display:block;margin:0 0 8px;font-weight:normal}
-.smt_20 s {display:block}
+.smt_20 .sct_img {margin:0 0 45px}
+.smt_20 .sct_id {display:block;margin:0 0 5px}
+.smt_20 .sct_basic {margin:0 0 10px}
.smt_20 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
+.smt_20 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
.smt_20 .sct_icon {}
.smt_20 .sct_icon img {}
-.smt_20 .sct_sns {position:absolute;top:190px;right:20px}
+.smt_20 .sct_sns {position:absolute;left:0;width:100%;text-align:center}
/* 메인 상품 목록 스킨 30 */
-.smt_30 {position:relative;height:308px;overflow-x:hidden}
+.smt_30 {position:relative;overflow-x:hidden}
.smt_30 .sct_ul {position:absolute;top:0;left:765px;margin:0;padding:0;width:765px;list-style:none;zoom:1}
.smt_30 .sct_ul:after {display:block;visibility:hidden;clear:both;content:""}
.smt_30 .sct_ul_first {display:block;left:0}
-.smt_30 .sct_li {float:left;margin-right:25px}
-.smt_30 .sct_a {display:block;position:relative;text-decoration:none}
+.smt_30 .sct_li {position:relative;float:left;margin-right:25px}
+.smt_30 .sct_a {display:inline-block;position:relative;margin:0 0 5px;text-decoration:none}
.smt_30 .sct_a:focus, .smt_30 .sct_a:hover {text-decoration:none}
-.smt_30 .sct_img {display:block;margin:0 0 15px}
-.smt_30 b {display:block;margin:0 0 8px;font-weight:normal}
-.smt_30 s {display:block}
+.smt_30 .sct_img {margin:0 0 45px}
+.smt_30 .sct_id {display:block;margin:0 0 5px}
+.smt_30 .sct_basic {margin:0 0 10px}
.smt_30 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
+.smt_30 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
.smt_30 .sct_icon {}
.smt_30 .sct_icon img {}
-.smt_30 .sct_sns {position:absolute;top:190px;right:20px}
-.smt_30 .sct_sns a {display:inline-block;margin:0 0 0 2px}
+.smt_30 .sct_sns {position:absolute;left:0;width:100%;text-align:center}
/* 메인 상품 목록 스킨 40 */
-.smt_40 {position:relative;height:306px}
+.smt_40 {clear:both;position:relative}
.smt_40 .sct_ul {display:none;position:absolute;top:0;left:0;margin:0;padding:0;list-style:none}
.smt_40 .sct_ul_first {display:block}
-.smt_40 .sct_li {float:left;margin:0 25px 15px 0}
+.smt_40 .sct_li {position:relative;float:left;margin:0 25px 15px 0}
.smt_40 .sct_last {margin:0 0 15px !important}
-.smt_40 .sct_a {display:block;position:relative;text-decoration:none}
+.smt_40 .sct_a {display:inline-block;position:relative;margin:0 0 5px;text-decoration:none}
.smt_40 .sct_a:focus, .smt_40 .sct_a:hover {text-decoration:none}
-.smt_40 .sct_img {display:block;margin:0 0 15px}
-.smt_40 b {display:block;margin:0 0 8px;font-weight:normal}
-.smt_40 s {display:block}
+.smt_40 .sct_img {margin:0 0 45px}
+.smt_40 .sct_id {display:block;margin:0 0 5px}
+.smt_40 .sct_basic {margin:0 0 10px}
.smt_40 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
+.smt_40 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
.smt_40 .sct_icon {}
.smt_40 .sct_icon img {}
-.smt_40 .sct_sns {position:absolute;top:190px;right:20px}
+.smt_40 .sct_sns {position:absolute;left:0;width:100%;text-align:center}
/* 메인 상품 목록 스킨 50 */
-.smt_50 {position:relative;height:306px}
+.smt_50 {position:relative}
.smt_50 .sct_ul {display:none;position:absolute;top:0;left:0;height:306px;margin:0;padding:0;list-style:none;overflow-y:hidden}
.smt_50 .sct_ul_first {display:block}
-.smt_50 .sct_li {float:left;position:relative;top:-306px;margin:0 25px 15px 0}
+.smt_50 .sct_li {position:relative;float:left;position:relative;top:-306px;margin:0 25px 15px 0}
.smt_50 .sct_last {margin:0 0 15px}
-.smt_50 .sct_a {display:block;position:relative;text-decoration:none}
+.smt_50 .sct_a {display:inline-block;position:relative;margin:0 0 5px;text-decoration:none}
.smt_50 .sct_a:focus, .smt_50 .sct_a:hover {text-decoration:none}
-.smt_50 .sct_img {display:block;margin:0 0 15px}
-.smt_50 b {display:block;margin:0 0 8px;font-weight:normal}
-.smt_50 s {display:block}
+.smt_50 .sct_img {margin:0 0 45px}
+.smt_50 .sct_id {display:block;margin:0 0 5px}
+.smt_50 .sct_basic {margin:0 0 10px}
.smt_50 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
+.smt_50 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
.smt_50 .sct_icon {}
.smt_50 .sct_icon img {}
-.smt_50 .sct_sns {position:absolute;top:190px;right:20px}
+.smt_50 .sct_sns {position:absolute;left:0;width:100%;text-align:center}
/* ##### main(nn).skin.php, list.(nn).skin..php 공통 적용 끝 ##### */