리뉴얼 수정중

This commit is contained in:
thisgun committed 2017-08-28 11:24:51 +09:00
1 parent 116bb30468
commit 597e4f711e
11 files changed
+500 -487

No files matched your search

+4 -6
View File
@@ -29,17 +29,15 @@ if(!$is_admin)
$sql .= " order by b.gr_order, a.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:15px";
if ($i%2==0) $lt_style = "clear:both";
if ($i%2==1) $lt_style = "margin-left:2%";
else $lt_style = "";
?>
<div style="float:left;<?php echo $lt_style ?>">
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr">
<?php
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 사용방법 : latest(스킨, 게시판아이디, 출력라인, 글자수);
// 테마의 스킨을 사용하려면 theme/basic 과 같이 지정
echo latest('basic', $row['bo_table'], 5, 17);
echo latest('basic', $row['bo_table'], 5, 37);
?>
</div>
<?php