d

기초적인 질문 드립니다..

index의 내용중 latest() 최신글 불러오는 함수대신 게시판 자체를 출력하고 싶은데
 
게시판을 불러오는 함수가 따로 있는지요.
 
링크는 xxx.xxx/board.php?bo_table=test 이런식으로 되는걸로 알고 있습니다만
 
include문으로는 ?bo_table=test 이 내용때문에 게시판을 불러오지 못하네요...ㅜㅜ
 
index의 내용은 다음과 같습니다...답변 부탁드립니다.
 
(index.php)파일은
 
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
  <!-- 왼쪽 메뉴-->
  <body bgcolor="#F7FCE8">
  <table cellpadding=0 cellspacing=0 width=850 height=503>
    <tr>
      <td width=388 valign=top background="<?=$g4[path]?>/gamman/img/bgL.jpg">
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="388" height="475">
        <param name="movie" value="<?=$g4[path]?>/gamman/flash/mainflash.swf">
        <param name="quality" value="high">
        <embed src="<?=$g4[path]?>/gamman/flash/mainflash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="388" height="475"></embed></object></td>
      <!-- 왼쪽 메뉴 끝 -->
  
   <!-- ¸메인화면 최신글 시작 -->
   <td valign=top width=462 background="<?=$g4[path]?>/gamman/img/bgR.jpg">
   <br>
        <table cellpadding=0 cellspacing=0 width=100%>
        <tr>
          <td colspan="2"> <? echo latest("movie", internet01, 1, 31, "4,25");?><br></td></tr>
        <tr>
          <td width="50%"> <? echo latest("yg_g", community01, 4, 20, "4,25");?><br></td>
         
          <td width="50%"> <? echo latest("yg_g", community04, 4, 20, "4,25");?><br></td></tr>
        <tr>
          <td width="50%"> <? echo latest("yg_g", community07, 4, 20, "4,25");?><br></td>
         
          <td width="50%"> <? echo latest("yg_gallery", community03, 1, 20, "4,25");?><br></td></tr>
      </table>
     </td>
    </tr>
  </table>
  <!-- ¸ 메인화면 최신글 끝 -->
<!-- 카피라이트 끝 -->
      <table cellpadding=0 cellspacing=0 width=850 height=52>
        <tr>
          <td valign=top background="<?=$g4[path]?>/gamman/img/bgBottom.jpg" width=850></td>
        </tr>
      </table></TD>
      <!-- 카피라이트 끝 -->
</TABLE>
|

댓글 2개

게시판을 불러 온다는 것은

결국 게시판에 다른 헤더를 붙히겠다는 것과 같은 겁니다.

http://sir.co.kr/bbs/board.php?bo_table=g4_qa&sca=&sfl=wr_subject%7C%7Cwr_content&stx=%B9%AB%C7%D1+%BD%BA%C5%B2&sop=and
index.php 내에 좌측메뉴가 있어서... 원하는 답이 될런지는 모르겠지만...
어찌보면... rolo님 의견과 마찬가지인 답변이기도 합니다만...

아래 내용을 응용해보시는게... (ㅡ.ㅡ;)a

(index.php 파일 내용)
<?
include_once("./_common.php");

$g4['title'] = "";
include_once("./_head.php");
?>

<META HTTP-EQUIV="Refresh" CONTENT="0;URL=<?=$g4[path]?>/bbs/board.php?bo_table=테이블명">

<?
include_once("./_tail.php");
?>
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
19년 전 조회 1,227
19년 전 조회 1,511
19년 전 조회 1,511
19년 전 조회 1,524
19년 전 조회 1,599
19년 전 조회 1,537
19년 전 조회 1,688
19년 전 조회 1,511
19년 전 조회 1,846
19년 전 조회 1,393
19년 전 조회 1,525
19년 전 조회 1,520
19년 전 조회 1,224
19년 전 조회 1,240
19년 전 조회 1,693
19년 전 조회 1,577
19년 전 조회 1,508
19년 전 조회 1,510
19년 전 조회 1,976
19년 전 조회 1,514
🐛 버그신고