head.php 제외하기

index.php 페이지에서 head.php, tail.php를 제외하는 방법은 무엇인지요.
부탁드립니다.
|

댓글 1개

<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");//**로그인 이용하지 않을시 주석처리
include_once("$g4[path]/lib/poll.lib.php");//투표 이용하지 않을시 주석
include_once("$g4[path]/lib/visit.lib.php");//방문자 "
include_once("$g4[path]/lib/connect.lib.php");//현재접속자 "
include_once("$g4[path]/lib/popular.lib.php");//인기검색어 "
include_once("$g4[path]/lib/latest.lib.php"); // 최신글 "
//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 1004;


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

<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<?
// 최신글
$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("scroll", $row['bo_table'], 12, 70, "4,25");
echo "<p>\n";
}
?>
</td></tr></table>
<!-- 메인화면 최신글 끝 -->

<?
include_once("./tail.sub.php");
?>
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
19년 전 조회 1,427
19년 전 조회 1,698
19년 전 조회 1,605
19년 전 조회 1,563
19년 전 조회 1,331
19년 전 조회 1,539
19년 전 조회 1,258
19년 전 조회 2,023
19년 전 조회 4,013
19년 전 조회 1,609
19년 전 조회 1,557
19년 전 조회 1,936
19년 전 조회 1,641
19년 전 조회 1,637
19년 전 조회 1,580
19년 전 조회 1,513
19년 전 조회 1,799
19년 전 조회 1,361
19년 전 조회 1,596
19년 전 조회 1,597