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

This commit is contained in:
whitedot
2014-01-16 17:19:04 +09:00
parent a012b69613
commit 9dbad37e76
11 changed files with 61 additions and 66 deletions

View File

@ -37,6 +37,10 @@ for ($i=1; $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";
}
@ -73,10 +77,6 @@ for ($i=1; $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_top = $this->img_height + 10;
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];