5.4 버전 그룹 최신글 코드 수정

This commit is contained in:
thisgun
2020-03-11 16:50:01 +09:00
parent 86f8c1a1c1
commit ae75f5bf7a
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ $sql .= " order by bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
$lt_style = "";
if ($i%2==1) $lt_style = "margin-left:2%";
if ($i%3 !== 0) $lt_style = "margin-left:2%";
else $lt_style = "";
?>
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr">