모바일쇼핑몰: 목록에서 특정 요소 표시하지 않을 경우 스타일 대응 (ex. SNS 미사용)

This commit is contained in:
whitedot
2014-01-16 17:22:52 +09:00
parent 9dbad37e76
commit a43fb5b24e
3 changed files with 9 additions and 10 deletions

View File

@ -30,6 +30,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "</a>\n";
}
if ($this->view_it_icon) {
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
}
if ($this->view_it_id) {
echo "<span class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</span>\n";
}
@ -66,10 +70,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->view_it_icon) {
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\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']);

View File

@ -30,6 +30,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "</a>\n";
}
if ($this->view_it_icon) {
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
}
if ($this->view_it_id) {
echo "<span class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</span>\n";
}
@ -66,10 +70,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->view_it_icon) {
echo "<span class=\"sct_icon\">".item_icon($row)."</span>\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']);

View File

@ -28,8 +28,7 @@
.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_icon {margin:0 0 10px}
.sct_10 .sct_sns {margin:15px 0 0}
/* ##### maint.(nn).skin.php, list.(nn).skin.php 공통 적용 끝 ##### */