5.3 버전 내용 적용

This commit is contained in:
thisgun
2018-03-30 17:40:37 +09:00
parent 87fdbc7882
commit f7ac06d7d4
733 changed files with 36660 additions and 11623 deletions

View File

@ -23,6 +23,7 @@ include_once('./_head.php');
include_once(G5_LIB_PATH.'/latest.lib.php');
?>
<div class="latest_wr">
<!-- 메인화면 최신글 시작 -->
<?php
@ -38,21 +39,21 @@ $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:20px";
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(스킨, 게시판아이디, 출력라인, 글자수);
echo latest('basic', $row['bo_table'], 5, 70);
echo latest('basic', $row['bo_table'], 6, 25);
?>
</div>
<?php
}
?>
<!-- 메인화면 최신글 끝 -->
</div>
<?php
include_once('./_tail.php');
?>