div속 테이블안에 게시판 넣기 질문드려요 > 그누4 질문답변

그누4 질문답변

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

div속 테이블안에 게시판 넣기 질문드려요 정보

div속 테이블안에 게시판 넣기 질문드려요

본문

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title> 페이지입니다.</title>
<style type="text/css">
#top{
        width:1100px;height:300px;
}
#line{
        width:1100px;height:20px;float:left;
}
#main_left{
        width:200px;height:900px;float:left;}


#vline{
width:25px;
height:900px;
float:left;
background-image: url(imgs/sub2/line_03.gif);
background-position: 7px 50px;
background-repeat: no-repeat;
}
#main_top{
        width:750px;height:150px;float:left;
}
#main_center{
        width:750px;height:750px;float:left;
}
#main_right{
        width:125px;height:750px;float:left;
}
#Layer1 {
height: 750px;
width: 750px;
}
#bottom{
width:1100px;
height:90px;
clear:both;
background-image: url(logogray.gif);
background-repeat: no-repeat;
background-position: 10px 20px;
padding-top: 30px;
padding-left: 300px;
border-top-width: thin;
border-bottom-width: thin;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #999;
border-bottom-color: #999;
font-family: "나눔고딕", "나눔명조";
font-size: 12px;
}
</style>

<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>

<body onload="MM_preloadImages('imgs/sub2/leftb_08.gif','imgs/sub2/leftb_10.gif','imgs/sub2/leftb_12.gif')">
<div style="width:1100px;height:300px;background-color:#FC3;">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1100" height="300" id="FlashID" title="navi">
    <param name="movie" value="sub1_navi.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="6.0.65.0" />
    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="Scripts/expressInstall.swf" />
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="sub1_navi.swf" width="1100" height="300">
      <!--<![endif]-->
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="6.0.65.0" />
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
      <div>
        <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
        <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
      </div>
      <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
  </object>
</div>
<div style="width:1100px;height:20px;">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1100" height="11" id="FlashID2" title="line">
    <param name="movie" value="line1_1.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="6.0.65.0" />
    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="Scripts/expressInstall.swf" />
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="line1_1.swf" width="1100" height="11">
      <!--<![endif]-->
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="6.0.65.0" />
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
      <div>
        <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
        <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
      </div>
      <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
  </object>
</div>
<div style="width:200px;height:900px;float:left;">
  <div style="width:98%;height:890px;">
          <div style="width:167;height:70px;"><img src="imgs/sub2/leftb_03.gif" width="167" height="70" /></div>
          <div style="width:167;height:31px;"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','imgs/sub2/leftb_08.gif',1)"><img src="imgs/sub2/leftb_07.gif" name="Image3" width="167" height="30" border="0" id="Image3" /></a></div>
          <div style="width:167;height:31px;"><a href="sub2_1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','imgs/sub2/leftb_10.gif',1)"><img src="imgs/sub2/leftb_09.gif" name="Image4" width="167" height="31" border="0" id="Image4" /></a></div>
          <div style="width:167;height:31px;"><a href="sub2_2.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','imgs/sub2/leftb_12.gif',1)"><img src="imgs/sub2/leftb_11.gif" name="Image5" width="167" height="31" border="0" id="Image5" /></a></div>
    <div style="width:167;height:10px;"></div>
          <div style="width:196;height:165px;"><img src="imgs/images/images/tel_03_03.gif" width="196" height="165" /></div>
         
         
  </div>
</div>

<script type="text/javascript">
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
</script>

<div id="vline" style="width:25px;height:900px;float:left;"></div>
<div style="width:750px;height:150px;float:left;"><img src="imgs/counsel.gif" width="750" height="150" /></div>
<div style="width:750px;height:750px;float:left;"><table border="0" cellspacing="0" cellpadding="0" width="750" height="750">
  <tr>
    <td height="25">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>//*****이부분에 게시판을 넣고 싶은데 어떻게 하면 좋을까요?*****
  </tr>
  <tr>
    <td height="50">&nbsp;</td>
  </tr>
</table>
</div>
<div style="width:125px;height:750px;float:left;"></div>

바로 윗부분 div안에 테이블 2번째줄에 게시판을 넣고자 하는데 자꾸 막히네요 어디 내용보니
div안에는 레이어코딩을 다시해야한다는 답변두 있긴한데 넘 헷갈리네요
이거 다시 레이아웃을 테이블로 바꾼다음에 해야되는건지.......참 게시판 넣기 힘드네요 ㅠㅠ
아이프레임으로 하면 간단한데... 최신글 클릭하면 프레임 페이지만 꽉차게 나와서 싫어서
이방법으로 할려하는데 참 힘듭니다.
팁 자료실엔 노프레임 테이블구조로 설명은 되어있던데 따라해봐두 전 div구조라 안되는건지
참 어렵네요 index1.php, head1.php, tail1.php 적용해서 게시판 관리자 ./head1.php  ./tail.php 다 적용
해보았는데 게시판 부분만 출력 안됩니다.
어떻게 해야되는지 알려주시면 감사하겠습니다.

댓글 전체

저 부분은 게시판 부분인가요? 우선 ./head1.php  ./tail.php 이 경로가 틀렸구요 ../head1.php  ../tail.php 앞에 점 하나 더 붙어야 맞구요

그누보드 구조를 잘 이해 하셔야 하는데요 게시판 구조를 보자면

head.sub.php

head.php

tail.php

tail.sub.php 이런식으로 출력 하거든요

head.sub.php 이 파일을 열어 보시면  맨 끝부분이 <body> 로 시작 하는걸 볼수가 있는데요

그럼 head.php는 컨덴츠 내용이겠죠? div table이든 상관 없구요

위에 코드 기준으로 ...생락 <td>&nbsp;</td>//*****이부분에 게시판을 넣고 싶은데 어떻게 하면 좋을까요?*****

이부분 보시면 <td> <--이까지가 head.php 부분인거죠 본인이 넣고 싶은 장소니깐요

그럼 tail.php 닫는 부터 넣으면 되겠죠?

</td> ... 생략 밑부분까지 그리고 저기 코드는 없는데 </html> 끝까지 다 넣어야 해요

이제 ftp에 올려서  앞에 설명 했듯이 게시판관리자에서 경로 수정 하시고~ 확인 해보세요
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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