게시판 상단내용 인클루드 출력..

inclue.jpg
<--- head.php 내용 --->

<?

$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/head.php");

if(!$s)$s=1;
include $check."/inc/menu_config.php";

?>

<head>
<script Language='javascript'>
function reSize() {
try{
var objBody = ifrm.document.body;
var objFrame = document.all["ifrm"];
ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight);

if (ifrmHeight > 300) {
objFrame.style.height = ifrmHeight
}else{
objFrame.style.height = '300';
}
objFrame.style.width = '100%'
}catch(e){}
}
function init_iframe() {
reSize();
setTimeout('init_iframe()',200)
}
init_iframe();
</script>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>VARAVON</title>
<style type="text/css">
IMG {border: 0px;}
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #000000;
scrollbar-face-color:(#FFFFFF;)
scrollbar-highlight-color:(#FFCCCC;)
scrollbar-3dlight-color:(#FFFFFF;)
scrollbar-shadow-color:(#FFCCCC;)
scrollbar-darkshadow-color:(#FFFFFF;)
scrollbar-track-color:(FFFFFF;)
scrollbar-arrow-color:(FFFFFF;)

}
-->
</style>
</head>

<body style="background-color:transparent" >
<table width="100%" background="http://varavon.godohosting.com/img/bg_top.gif" style="background-repeat:repeat-x;" height="380" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" cellspacing="0" cellpadding="0">
<table width="955" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="955" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td height="80"><table width="955" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td width="217"><a href="http://varavon.godohosting.com/main.html"><img src="http://varavon.godohosting.com/img/top_logo.jpg" width="217" height="80" /></a></td>
<td width="114"> </td>
<td><table width="624" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="624" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="463"> </td>
<td><? include_once("$g4_path/top.php"); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><? include_once("$g4_path/menu.php")?></td>
</tr>
</table>


============================================================

첨부파일에 보이는거와 같이 다른 서브페이지처럼 인클루드 시킨 menu와 top메뉴가
보여야 하는데 보이질 않습니다..ㅠㅠ

게시판 상단내용에 다른서브들같이 똑같이 복사해서 head.php와 tail.php에 넣어
경로지정해줬는데 ㅠㅠ 왜 안뜨는지 의문입니다.

여기서 검색해보고 답변에 나와있는대로 경로도 계속 바꿔봤지만;;;
인클루드 시킨 메뉴들은 오류조차 뜨지 않고 전혀 출력되지 않습니다.

menu.html/top.html 되어있던걸 php로도 바꿔보고 별별 방법을 다써봤지만 오류도 뜨지
않으니 뭐가 잘못되었는지 너무 답답합니다. 고수분들 도와주세요!! ㅠㅠ

menu,top html과 php파일은 menu와 top폴더와 그누보드 폴더에 모두 넣어놨습니다..ㅠㅠ

첨부파일

inclue.jpg (280.8 KB)
0회 2010-07-14 16:43
|

댓글 5개

경로 틀린거 아닐까요? 에러 메시지 안뜨던가요?
에러메시지를 댓글로/....
위에 보이는 상단처럼 에러메세지가 전혀안떠요 ㅠㅠ 그냥 아무것도 안나와요;;
정말 감사합니다 ㅠㅠ!!!!
head.php파일에서 include_once("$g4[path]/head.php"); 는 ?????

include_once("$g4[path]/head.sub.php"); 로 바꿔서 해 보세요.

그래도 않되면 해당 소스를 전부 압축해서 올려 보세요.
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
15년 전 조회 1,064
15년 전 조회 2,567
15년 전 조회 1,572
15년 전 조회 1,544
15년 전 조회 3,272
15년 전 조회 1,610
15년 전 조회 1,221
15년 전 조회 1,546
15년 전 조회 1,027
15년 전 조회 1,545
15년 전 조회 2,821
15년 전 조회 1,494
15년 전 조회 1,056
15년 전 조회 1,580
15년 전 조회 1,535
15년 전 조회 1,763
15년 전 조회 2,773
15년 전 조회 1,539
15년 전 조회 1,443
15년 전 조회 1,558