페이지 소스좀 봐 주세요 초보가 공부하는 중 입니다. > 그누4 질문답변

그누4 질문답변

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

페이지 소스좀 봐 주세요 초보가 공부하는 중 입니다. 정보

페이지 소스좀 봐 주세요 초보가 공부하는 중 입니다.

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://mfilm.myi.cc/gnu4/page/sub_2_1.php


<!------------------ 여기서 부터Start ------------------------------>
<SCRIPT language="javascript"  src="/gnu4/js/common.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
function resizeIframe(fr) {
  fr.setExpression('height',aaa.document.body.scrollHeight);
  fr.setExpression('width',aaa.document.body.scrollWidth);
}
//-->
</SCRIPT>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="984" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="984" height="100%" valign="top"><table width="984" height="100%" border="0" cellpadding="0" cellspacing="0">
<td width=100% background="/img/sub/sub_kr.jpg" height="129">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="756" height="129" align=center>
<?$SwfMk_Width="400"; $SwfMk_Height="129"; $SwfMk_Url="/swf/Swish_sub_kr.swf";?>
<SCRIPT>
JS_viewObj('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="<?=$SwfMk_Width?>" height="<?=$SwfMk_Height?>"> <param name=movie value="<?=$SwfMk_Url?>"> <param name=quality value=high> <param name=bgcolor value="#000000"> <param name=wmode value=transparent> <param name=menu value=false> <embed src="<?=$SwfMk_Url?>" style="position:absolute;left:0;top:20;width:500;height:50;border:gray 1 solid;z-index:-10;" menu=false quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="<?=$SwfMk_Width?>" height="<?=$SwfMk_Height?>"> </embed> </object> ');
  </SCRIPT>
</td>
<td width="228" height="129"></td>
              </tr>
</table>

</td>
              <tr>
                <td valign="top" bgcolor="#FFFFFF"><table width="984" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="200" valign="top" background="/img/sub/bg.gif"><table width="200" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td colspan="3"><img src="/gnu4/img/sub/Left_logo_sub_2_kr.gif" width="200" height="63"></td>
                          </tr>
                          <tr>
                            <td width="7"><img src="/img/sub/sub_16.gif" width="7" height="288"></td>
                            <td width="183" height="100%" valign="top" bgcolor="#FFFFFF"><table width="183" height="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td valign="top"><table width="183" border="0" cellspacing="0" cellpadding="0">
<? include"./sub_2/Left_kr.php";?>
                                    </table></td>
                                </tr>
                                <tr>
                                  <td height="13"><img src="/img/sub/sub_22.gif" width="183" height="13"></td>
                                </tr>
                              </table></td>
                            <td valign="top"><img src="/img/sub/sub_18.gif" width="10" height="288"></td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                            <td valign="top">&nbsp;</td>
                            <td></td>
                          </tr>
                        </table>                       
                      </td>
                      <td width="784" height="100%" valign="top">

                        <!------------------ 라인Start ------------------------------>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" background="/img/sub/sub_09.gif" align=center>
                                <tr>
                                  <td width="18"><img src="/img/sub/sub_07.gif" width="18" height="43"></td>
                                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td><img src="/gnu4/img/sub/t_13_sub_2_kr.gif" width="173" height="28"></td>
                                        <td align="right"><strong>
<? include"./sub_2/Line_kr.php";?>
  </td>
                                      </tr>
                                    </table></td>
                                  <td width="13"><img src="/img/sub/sub_11.gif" width="13" height="43"></td>
                                </tr>
                              </table>
                        <!--------------------------  라인 End --------------------------->


  <!---------------- 내용 Start ------------------>
<table width="750" border="0" cellspacing="0" cellpadding="10" align=center>
                                <tr>
                                  <td valign=top>
  <a href="http://mfilm.myi.cc/bbs/board.php?bo_table=free_kr">자유게시판</a>
    </td>
                                </tr>
                              </table>
  <!---------------- 내용 End  ------------------>

                          <table border="0" cellspacing="0" cellpadding="5" width=100% align=center>
                                <tr>
                                  <td align=right><a href="#" onfocus="blur()"><img src="/img/sub/top.gif" width="24" height="20" border="0"></a></td>
                                </tr>
                              </table>

</td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td valign="top" background="/img/sub/sub_12.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="1000" height="100%" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="116" align="right" background="/img/sub/sub_04.gif">&nbsp;</td>
              </tr>
              <tr>
                <td height="354" valign="top" background="/img/sub/sub_12.gif">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>


  <?include"../tail.php";?>


질문1,

자유 게시판 리스트를 불러 오려면 어떻게 고쳐야 하나요..상단 소스를 어떻게 불러 와야 하는지..등등


질문 2.
플레시 메뉴를 불러오기 해야 하는데 잘 안됩니다.
http://mfilm.myi.cc/gnu4/head_sub.php


메뉴 플레시를 불러 오려면  어찌 해야 하나요..

개념없이 질문 드리는 점 죄송하게 생각 합니다.

댓글 전체

아직 저도 초급 수준밖에 않되 조금이나마 도움을 드리고자 남깁니다 -ㅁ-!!
정확한 답변이 아닐수도 혹은 틀린 답변이 될수도 있습니다 ㅠ.ㅠ

게시판 리스트를 보여주면서 페이지를 구성하실려고 하는지요?
게시판 생성부분에 상단과 하단파일 불러오는 부분으로 이용하여 구성해보시는건?!

그게 아니면 bbs에 있는 파일들을 다시 복사 or 수정 하셔야 되고

쉽게 가실려면 아이프레임으로 (으헉 -ㅁ-);;

Warning: include(./gnu4/head_sub.php) [function.include]: failed to open stream: No such file or directory in /home/mfilm/www/gnu4/page/sub_2_1.php on line 3
 
  include가 잘못 되있는듯 싶습니다. 파일이 없다고 나오는거 봐서는
  실제 현재 경로가 gnu4/page/ 라는 경로에서 실행되기때문에
  gnu4/page/gnu4/head_sub.php 라고 인식을 하는거 같습니다.
  common.php와 연결하여 $g4[path]/head_sub.php로 인클루드 하시는게...

(정확한 답변을 못드린점 양해 부탁드립니다 -ㅁ-!!)
블레이드헤드님 감사 합니다. 아래 소스 넣으니까 플레시 메뉴 됩니다. 게시판 불러오기 만 하면 될것 같네요..
<?
$g4_path = ".."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
전체 38 |RSS
그누4 질문답변 내용 검색

회원로그인

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