쇼핑몰: #276 스킨 파일명 변경에 따른 마크업 수정

This commit is contained in:
whitedot
2013-08-08 17:05:45 +09:00
parent 49a499e91c
commit 1cc4ef239e
5 changed files with 11 additions and 11 deletions

View File

@ -12,7 +12,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
else if ($i%$this->list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째
else $sct_last = '';
} else { // 1줄 이미지 : 1개
$sct_last = 'sct_clear';
$sct_last = ' sct_clear';
}
if ($i == 1) {

View File

@ -19,7 +19,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
if ($this->css) {
echo "<ul class=\"{$this->css}\">\n";
} else {
echo "<ul class=\"sct sct_11\">\n";
echo "<ul class=\"sct sct_20\">\n";
}
}

View File

@ -13,18 +13,18 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
else if ($i%$list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째
else $sct_last = '';
} else { // 1줄 이미지 : 1개
$sct_last = 'sct_clear';
$sct_last = ' sct_clear';
}
if ($i == 1) {
if ($this->css) {
echo "<ul class=\"{$this->css}\">\n";
} else {
echo "<ul class=\"sct sct_12\">\n";
echo "<ul class=\"sct sct_30\">\n";
}
}
echo "<li class=\"sct_li{$sct_last}\" style=\"width:{$this->img_width}px\">\n";
echo "<li class=\"sct_li{$sct_last}\">\n";
if ($this->href) {
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";

View File

@ -22,11 +22,11 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
if ($this->css) {
echo "<ul class=\"{$this->css}\">\n";
} else {
echo "<ul class=\"sct sct_13\">\n";
echo "<ul class=\"sct sct_40\">\n";
}
}
echo "<li class=\"sct_li{$sct_last}\" style=\"width:{$this->img_width}px\">\n";
echo "<li class=\"sct_li{$sct_last}\">\n";
if ($this->href) {
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";

View File

@ -20,7 +20,7 @@
.sct_sns img {margin:0 0 0 4px}
/* 상품 목록 스킨 10 */
.sct_10 .sct_li {float:left;margin:0 25px 15px 0}
.sct_10 .sct_li {position:relative;float:left;margin: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}
@ -34,7 +34,7 @@
.sct_10 .sct_sns {position:absolute;top:190px;right:20px}
/* 상품 목록 스킨 11 */
.sct_20 .sct_li {float:left;margin:0 25px 15px 0}
.sct_20 .sct_li {position:relative;float:left;margin:0 25px 15px 0}
.sct_20 .sct_last {margin:0 0 15px !important}
.sct_20 .sct_clear {clear:both}
.sct_20 .sct_a {display:block;position:relative;padding:0 0 5px;background:#f5f6fa;text-decoration:none}
@ -48,7 +48,7 @@
.sct_20 .sct_sns {position:absolute;bottom:10px;right:10px}
/* 상품 목록 스킨 12 */
.sct_30 .sct_li {float:left;margin:0 16px 15px 0}
.sct_30 .sct_li {position:relative;float:left;margin:0 16px 15px 0}
.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}
@ -64,7 +64,7 @@
.sct_30 .sct_sns {position:absolute;bottom:20px;right:10px}
/* 상품 목록 스킨 13 */
.sct_40 .sct_li {float:left;margin:0 0 16px 0;width:100%}
.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}