답변 2개
index.html 파일 최상단에 아래 코드를 추가를 추가합니다.
<?
$g4_path = "./board"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
아래 charset 과 stylesheet 적용을 확인합니다.
<meta http-equiv="content-type" content="text/html; charset=<?=$g4['charset']?>">
<link rel="stylesheet" href="<?=$g4['path']?>/style.css" type="text/css">
최신글 출력할 부분에 아래 코드를 추가합니다.
<?
// latest(최근게시물스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", "notice", 10, 70);
?>
답변을 작성하려면 로그인이 필요합니다.