메인 정리, 게시판 작업중

This commit is contained in:
leebokyung committed 2018-11-12 17:58:58 +09:00
1 parent 5f766ae06b
commit aad3eca303
10 files changed
+207 -201

No files matched your search

+14 -4
View File
@@ -26,8 +26,8 @@ include_once(G5_THEME_PATH.'/head.php');
$sql .= " order by b.gr_order, a.bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i%2==1) $lt_style = "margin-left:2%";
else $lt_style = "";
$lt_style = '';
if ($i%3 !== 0 ) $lt_style = "margin-left:2%";
?>
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr">
<?php
@@ -41,7 +41,6 @@ include_once(G5_THEME_PATH.'/head.php');
}
?>
<!-- } 최신글 끝 -->
</div>
<div class="latest_wr">
@@ -50,7 +49,18 @@ include_once(G5_THEME_PATH.'/head.php');
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 사용방법 : latest(스킨, 게시판아이디, 출력라인, 글자수);
// 테마의 스킨을 사용하려면 theme/basic 과 같이 지정
echo latest('theme/pic_block', 'gallery', 5, 23);
echo latest('theme/pic_list', 'free', 4, 23);
?>
<!-- } 사진 최신글2 끝 -->
</div>
<div class="latest_wr">
<!-- 사진 최신글2 { -->
<?php
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 사용방법 : latest(스킨, 게시판아이디, 출력라인, 글자수);
// 테마의 스킨을 사용하려면 theme/basic 과 같이 지정
echo latest('theme/pic_block', 'gallery', 4, 23);
?>
<!-- } 사진 최신글2 끝 -->
</div>