5.4 버전 그룹 최신글 코드 수정
This commit is contained in:
@ -39,7 +39,7 @@ $sql .= " order by bo_order ";
|
|||||||
$result = sql_query($sql);
|
$result = sql_query($sql);
|
||||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||||
$lt_style = "";
|
$lt_style = "";
|
||||||
if ($i%2==1) $lt_style = "margin-left:2%";
|
if ($i%3 !== 0) $lt_style = "margin-left:2%";
|
||||||
else $lt_style = "";
|
else $lt_style = "";
|
||||||
?>
|
?>
|
||||||
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr">
|
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr">
|
||||||
|
|||||||
@ -30,7 +30,7 @@ $sql .= " order by bo_order ";
|
|||||||
$result = sql_query($sql);
|
$result = sql_query($sql);
|
||||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||||
$lt_style = "";
|
$lt_style = "";
|
||||||
if ($i%2==1) $lt_style = "margin-left:2%";
|
if ($i%3 !== 0) $lt_style = "margin-left:2%";
|
||||||
else $lt_style = "";
|
else $lt_style = "";
|
||||||
?>
|
?>
|
||||||
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr">
|
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr">
|
||||||
|
|||||||
Reference in New Issue
Block a user