메인페이지에 최신글 추출 문제 부탁드립니다.

메인페이지에 최신글 추출 문제 부탁드립니다.

QA

메인페이지에 최신글 추출 문제 부탁드립니다.

본문

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
body {
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
}
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="8%"> </td>
    <td align="right" valign="top"><img src="images/notice.jpg" width="292" height="54" />
    </table></td>
</body>
</html> 

소스입니다.

진한 글씨 부분 밑으로 최신글을 추출하고 싶은데 소스 좀 자세히 알려주세요ㅠㅠ

7debc00e246f2025d3b66c21b5f14dbb_1427960581_1058.jpg

참고로 경로는 이렇게 되어있습니다. 

이 질문에 댓글 쓰기 :

답변 1

gnuboard4 폴더 안에 파일을 모두를 현재 index.html 폴더로 옮겨야 되요

그리고 나서 <?=latest("basic", "게시판ID", 5, 30)?>

이런식으로 하면 출력 되요 

파일을 옮기면 index.php 파일이 있어요
거기에 index.html 파일을 적용해도 되구요
index.html 파일에 적용하려면
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = "";
include_once("./_head.php");

이런 파일들을 인클루드 해야지요

답변을 작성하시기 전에 로그인 해주세요.
전체 123,669 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT