경로 수정 작업 중
This commit is contained in:
@ -1,20 +1,20 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once("$g4[path]/lib/latest.lib.php");
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/latest.lib.php');
|
||||
|
||||
$list_mod = 2; // 한라인에 몇개씩 출력할것인지?
|
||||
$list_row = 3; // 한게시판당 몇행씩 출력할것인지?
|
||||
$subject_len = 70; // 제목의 길이는?
|
||||
|
||||
$g4[title] = "커뮤니티";
|
||||
include_once("./_head.php");
|
||||
$g4['title'] = '커뮤니티';
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<tr>
|
||||
<?
|
||||
// 최신글 시작
|
||||
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
|
||||
$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++) {
|
||||
|
||||
@ -32,7 +32,7 @@ include_once("./_head.php");
|
||||
// 사용방법
|
||||
// latest(스킨, 게시판아이디, 출력라인, 글자수);
|
||||
// 스킨은 입력하지 않을 경우 운영자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
|
||||
echo latest("", $row[bo_table], $list_row, $subject_len);
|
||||
echo latest("", $row['bo_table'], $list_row, $subject_len);
|
||||
|
||||
echo "</td></tr></table><br></td>";
|
||||
}
|
||||
@ -44,5 +44,5 @@ include_once("./_head.php");
|
||||
</table>
|
||||
|
||||
<?
|
||||
include_once("./_tail.php");
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
Reference in New Issue
Block a user