메인에 최신글을 달려면 ....
본문
질문게시판을 검색해서 아래처럼 소스를 넣어서 index.php 로 해서 올렸는데요,
최신글을 나오는데 헤더와 푸터 부분이 그누보드게 나오는게 그걸 제가 만든걸로 바꾸어서 넣을수는 없는건지요?
아래 그림에 표시한 것처럼 나와서요...이걸 제가 만든 헤더와 푸터로 바꾸려면 어떻게 소스를 바꾸어야 하는기 도움을 부탁드립니다.
<?php
include_once('./_common.php');
// 초기화면 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
if ($config['cf_include_index']) {
if (!@include_once($config['cf_include_index'])) {
die('기본환경 설정에서 초기화면 파일 경로가 잘못 설정되어 있습니다.');
}
return; // 이 코드의 아래는 실행을 하지 않습니다.
}
// 루트 index를 쇼핑몰 index 설정했을 때
if(isset($default['de_root_index_use']) && $default['de_root_index_use']) {
require_once(G5_SHOP_PATH.'/index.php');
return;
}
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/index.php');
return;
}
include_once('./_head.php');
?>
-----본인의 콘텐츠 영역 및 최신글 나오는 부분-----
<?php
include_once('./_tail.php');
?>