diff --git a/skin/shop/basic/list.10.skin.php b/skin/shop/basic/list.10.skin.php index e9fb0ca6b..dc499b749 100644 --- a/skin/shop/basic/list.10.skin.php +++ b/skin/shop/basic/list.10.skin.php @@ -37,6 +37,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "
".item_icon($row)."
\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -73,10 +77,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "
".item_icon($row)."
\n"; - } - if ($this->view_sns) { $sns_top = $this->img_height + 10; $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; diff --git a/skin/shop/basic/list.20.skin.php b/skin/shop/basic/list.20.skin.php index 9c371005f..29bfc8b1a 100644 --- a/skin/shop/basic/list.20.skin.php +++ b/skin/shop/basic/list.20.skin.php @@ -37,6 +37,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "".item_icon($row)."\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -73,10 +77,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "".item_icon($row)."\n"; - } - if ($this->view_sns) { $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; $sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']); diff --git a/skin/shop/basic/list.30.skin.php b/skin/shop/basic/list.30.skin.php index 04bda8904..bc4f33e1b 100644 --- a/skin/shop/basic/list.30.skin.php +++ b/skin/shop/basic/list.30.skin.php @@ -46,6 +46,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "".item_icon($row)."\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -82,10 +86,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "".item_icon($row)."\n"; - } - if ($this->view_sns) { $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; $sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']); diff --git a/skin/shop/basic/list.40.skin.php b/skin/shop/basic/list.40.skin.php index cf480a7e2..ecffff318 100644 --- a/skin/shop/basic/list.40.skin.php +++ b/skin/shop/basic/list.40.skin.php @@ -48,6 +48,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "".item_icon($row)."\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -84,10 +88,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "".item_icon($row)."\n"; - } - if ($this->view_sns) { $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; $sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']); diff --git a/skin/shop/basic/main.10.skin.php b/skin/shop/basic/main.10.skin.php index 4699c35f9..ce247062b 100644 --- a/skin/shop/basic/main.10.skin.php +++ b/skin/shop/basic/main.10.skin.php @@ -37,6 +37,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "
".item_icon($row)."
\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -73,10 +77,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "
".item_icon($row)."
\n"; - } - if ($this->view_sns) { $sns_top = $this->img_height + 10; $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; diff --git a/skin/shop/basic/main.20.skin.php b/skin/shop/basic/main.20.skin.php index b85b9a517..48625b3c7 100644 --- a/skin/shop/basic/main.20.skin.php +++ b/skin/shop/basic/main.20.skin.php @@ -51,6 +51,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "
".item_icon($row)."
\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -87,10 +91,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "
".item_icon($row)."
\n"; - } - if ($this->view_sns) { $sns_top = $this->img_height + 10; $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; diff --git a/skin/shop/basic/main.30.skin.php b/skin/shop/basic/main.30.skin.php index 4591fcabf..ac0d39856 100644 --- a/skin/shop/basic/main.30.skin.php +++ b/skin/shop/basic/main.30.skin.php @@ -47,6 +47,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "
".item_icon($row)."
\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -83,10 +87,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "
".item_icon($row)."
\n"; - } - if ($this->view_sns) { $sns_top = $this->img_height + 10; $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; diff --git a/skin/shop/basic/main.40.skin.php b/skin/shop/basic/main.40.skin.php index 5bfa7a90b..0787c6819 100644 --- a/skin/shop/basic/main.40.skin.php +++ b/skin/shop/basic/main.40.skin.php @@ -51,6 +51,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "
".item_icon($row)."
\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -87,10 +91,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "
".item_icon($row)."
\n"; - } - if ($this->view_sns) { $sns_top = $this->img_height + 10; $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; diff --git a/skin/shop/basic/main.50.skin.php b/skin/shop/basic/main.50.skin.php index 9ac5c8d5c..764c8c437 100644 --- a/skin/shop/basic/main.50.skin.php +++ b/skin/shop/basic/main.50.skin.php @@ -50,6 +50,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "
".item_icon($row)."
\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -86,10 +90,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "
".item_icon($row)."
\n"; - } - if ($this->view_sns) { $sns_top = $this->img_height + 10; $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; diff --git a/skin/shop/basic/relation.10.skin.php b/skin/shop/basic/relation.10.skin.php index 8bc26da40..1c94c2e6d 100644 --- a/skin/shop/basic/relation.10.skin.php +++ b/skin/shop/basic/relation.10.skin.php @@ -37,6 +37,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_icon) { + echo "
".item_icon($row)."
\n"; + } + if ($this->view_it_id) { echo "<".stripslashes($row['it_id']).">\n"; } @@ -73,10 +77,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } - if ($this->view_it_icon) { - echo "
".item_icon($row)."
\n"; - } - if ($this->view_sns) { $sns_top = $this->img_height + 10; $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; diff --git a/skin/shop/basic/style.css b/skin/shop/basic/style.css index 9ccc6a216..24c27b10c 100644 --- a/skin/shop/basic/style.css +++ b/skin/shop/basic/style.css @@ -28,14 +28,13 @@ .sct_10 .sct_clear {clear:both} .sct_10 .sct_a {display:inline-block;position:relative;margin:0 0 5px;text-decoration:none} .sct_10 .sct_a:focus, .sct_10 .sct_a:hover {text-decoration:none} -.sct_10 .sct_img {margin:0 0 45px} +.sct_10 .sct_img {margin:0 0 10px} +.sct_10 .sct_icon {margin:0 0 10px} .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;left:0;width:100%;text-align:center} +.sct_10 .sct_sns {} /* 상품 목록 스킨 20 */ .sct_20 .sct_li {position:relative;float:left;margin:0 25px 15px 0} @@ -44,13 +43,13 @@ .sct_20 .sct_a {display:block;position:relative;text-decoration:none} .sct_20 .sct_a:focus, .sct_20 .sct_a:hover {text-decoration:none} .sct_20 .sct_img {} +.sct_20 .sct_icon {position:absolute;top:10px;left:-5px;margin:0 !important} +.sct_20 .sct_icon img {display:block;margin:0 0 3px} .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 */ @@ -60,12 +59,12 @@ .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_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important} +.sct_30 .sct_icon img {display:block;margin:0 0 3px} .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;margin:0 0 1px} .sct_30 .sct_sns {position:absolute;bottom:20px;right:10px} /* 상품 목록 스킨 40 */ @@ -73,12 +72,12 @@ .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 .sct_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important} +.sct_40 .sct_icon img {display:block;margin:0 0 4px} .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;margin:0 0 1px} .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} @@ -92,14 +91,13 @@ .smt_20 .sct_last {margin:0 0 15px !important} .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 {margin:0 0 45px} +.smt_20 .sct_img {margin:0 0 10px} +.smt_20 .sct_icon {margin:0 0 10px} .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;left:0;width:100%;text-align:center} +.smt_20 .sct_sns {} /* 메인 상품 목록 스킨 30 */ .smt_30 {position:relative;overflow-x:hidden} @@ -109,14 +107,13 @@ .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 {margin:0 0 45px} +.smt_30 .sct_img {margin:0 0 10px} +.smt_30 .sct_icon {margin:0 0 10px} .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;left:0;width:100%;text-align:center} +.smt_30 .sct_sns {} /* 메인 상품 목록 스킨 40 */ .smt_40 {clear:both;position:relative} @@ -126,14 +123,13 @@ .smt_40 .sct_last {margin:0 0 15px !important} .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 {margin:0 0 45px} +.smt_40 .sct_img {margin:0 0 10px} +.smt_40 .sct_icon {margin:0 0 10px} .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;left:0;width:100%;text-align:center} +.smt_40 .sct_sns {} /* 메인 상품 목록 스킨 50 */ .smt_50 {position:relative} @@ -143,13 +139,12 @@ .smt_50 .sct_last {margin:0 0 15px} .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 {margin:0 0 45px} +.smt_50 .sct_img {margin:0 0 10px} +.smt_50 .sct_icon {margin:0 0 10px} .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;left:0;width:100%;text-align:center} +.smt_50 .sct_sns {} /* ##### main(nn).skin.php, list.(nn).skin..php 공통 적용 끝 ##### */ \ No newline at end of file