게시판 상단내용 인클루드 출력.. > 그누4 질문답변

그누4 질문답변

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

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

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

본문

<---  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">&nbsp;</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">&nbsp;</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"); 로 바꿔서 해 보세요.

그래도 않되면 해당 소스를 전부 압축해서 올려 보세요.
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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