그누보드메인이 아닌 외부메인에서 최근게시물만 뽑아내려고 합니다.
공지사항,보도자료 2개의 최근게시물입니다.
외부메인은 테이블로 아래와 같은 소스입니다.
해더,푸터 인클루드 되어있습니다.(외부메인루트안에)
그런데 공지사항,보도자료 td안에 최근게시물을 어떻게 인클루드 시켜야할지 모르겠어요.-.-;
소스찾아보면서 해봤는데 링크에서 자꾸 오류문이 뜨네요.
td안에
<? include "http://www.dbpaper.net/gnuboard4/bbs/board.php?bo_table=free" ?>
이렇게 넣어보니 안뜨더라구요.
도와주세요~~
ftp 경로는 루트에 index2.php 가 젤 앞이고 그다음에 그누보드 폴더순입니다.
http://www.dbpaper.net/index2.php
index2.php 소스입니다
<head>
<script type="text/javascript" src="swf.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>BRAND CREATING COMMUNICATION IDIUS </title>
<link href="css/db.css" rel="stylesheet" type="text/css">
</head>
<? include "inc/function.php" ?>
<? explorerTitle() ?>
<body leftmargin="0" topmargin="0">
<!-------------------------------------------flah navigation section sta----------------------------------------------------->
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td valign="bottom"><? include "inc/header.php" ?> </td>
</tr>
</table>
<!-------------------------------------------flah navigation section fin----------------------------------------------------->
<table width="980" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="680" rowspan="5"><img src="images/img_main2.jpg">
<!--
<script>insertSWF("intro.swf","top",733,400,"transparent","#000000")</script>-->
</td>
<td>사이트맵</td>
</tr>
<tr>
<td height="100">공지사항(최근게시물1)</td>
</tr>
<tr>
<td height="100">보도자료(최근게시물2)</td>
</tr>
<tr>
<td height="200">제품소개</td>
</tr>
<tr>
<td>고객센터</td>
</tr>
</table>
<!---------------------------------------------------------copyright section sta----------------------------------->
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td height='2' bgcolor='c2c2c2'></td>
</tr>
</table>
<table>
<tr><td align="center"> <? bottom()?> </td></tr></table>
<!---------------------------------------------------------copyright section fin----------------------------------->
</body>
</html>
공지사항,보도자료 2개의 최근게시물입니다.
외부메인은 테이블로 아래와 같은 소스입니다.
해더,푸터 인클루드 되어있습니다.(외부메인루트안에)
그런데 공지사항,보도자료 td안에 최근게시물을 어떻게 인클루드 시켜야할지 모르겠어요.-.-;
소스찾아보면서 해봤는데 링크에서 자꾸 오류문이 뜨네요.
td안에
<? include "http://www.dbpaper.net/gnuboard4/bbs/board.php?bo_table=free" ?>
이렇게 넣어보니 안뜨더라구요.
도와주세요~~
ftp 경로는 루트에 index2.php 가 젤 앞이고 그다음에 그누보드 폴더순입니다.
http://www.dbpaper.net/index2.php
index2.php 소스입니다
<head>
<script type="text/javascript" src="swf.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>BRAND CREATING COMMUNICATION IDIUS </title>
<link href="css/db.css" rel="stylesheet" type="text/css">
</head>
<? include "inc/function.php" ?>
<? explorerTitle() ?>
<body leftmargin="0" topmargin="0">
<!-------------------------------------------flah navigation section sta----------------------------------------------------->
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td valign="bottom"><? include "inc/header.php" ?> </td>
</tr>
</table>
<!-------------------------------------------flah navigation section fin----------------------------------------------------->
<table width="980" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="680" rowspan="5"><img src="images/img_main2.jpg">
<!--
<script>insertSWF("intro.swf","top",733,400,"transparent","#000000")</script>-->
</td>
<td>사이트맵</td>
</tr>
<tr>
<td height="100">공지사항(최근게시물1)</td>
</tr>
<tr>
<td height="100">보도자료(최근게시물2)</td>
</tr>
<tr>
<td height="200">제품소개</td>
</tr>
<tr>
<td>고객센터</td>
</tr>
</table>
<!---------------------------------------------------------copyright section sta----------------------------------->
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td height='2' bgcolor='c2c2c2'></td>
</tr>
</table>
<table>
<tr><td align="center"> <? bottom()?> </td></tr></table>
<!---------------------------------------------------------copyright section fin----------------------------------->
</body>
</html>
첨부파일
댓글 3개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기