사용자: 전체레이아웃 작업 중

This commit is contained in:
whitedot
2012-12-28 16:47:51 +09:00
parent 308fc16cf6
commit 3cc1b5463a
15 changed files with 134 additions and 62 deletions

View File

@ -6,8 +6,21 @@ $g4['title'] = '';
include_once('./_head.php');
?>
<?=latest("neo",1,5)?>
<?=latest("neo",1,5)?>
<!-- 메인화면 최신글 시작 -->
<?
// 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("neo", $row['bo_table'], 10, 70);
}
?>
<!-- 메인화면 최신글 끝 -->
<?
include_once('./_tail.php');