게시판 상단내용 인클루드 출력.. 정보
게시판 상단내용 인클루드 출력..본문
<--- 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폴더와 그누보드 폴더에 모두 넣어놨습니다..ㅠㅠ
<?
$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폴더와 그누보드 폴더에 모두 넣어놨습니다..ㅠㅠ
댓글 전체

경로 틀린거 아닐까요? 에러 메시지 안뜨던가요?
에러메시지를 댓글로/....
에러메시지를 댓글로/....
위에 보이는 상단처럼 에러메세지가 전혀안떠요 ㅠㅠ 그냥 아무것도 안나와요;;

정말 감사합니다 ㅠㅠ!!!!
head.php파일에서 include_once("$g4[path]/head.php"); 는 ?????
include_once("$g4[path]/head.sub.php"); 로 바꿔서 해 보세요.
그래도 않되면 해당 소스를 전부 압축해서 올려 보세요.
include_once("$g4[path]/head.sub.php"); 로 바꿔서 해 보세요.
그래도 않되면 해당 소스를 전부 압축해서 올려 보세요.