index 페이지에 게시판 불러오기ㅠㅠ
며칠 전에 질문을 올렸는데 뒤로 밀려나서 다시 작성합니다ㅠㅠ
그누보드를 설치 후 처음 만들어지는 페이지에서
index 부분에 게시판 하나를 넣으려고 하는데
index.php 부분에 게시판을 불러 오려면 어떻게 해야하는지 방법을 좀 알려주세요ㅠㅠ
참고로 index.php 내용은 현재
(댓글첨부)
이렇게 되어 있구요ㅠㅠ
저렇게 해놓으니까 인덱스 페이지에는 게시판이 안 뜨고 영어가 나옵니다ㅠㅠ
게시판 나오게 하는 소ㅡ스? 좀 부탁드려요ㅠㅠㅠㅠ
ㅡ
따로 메뉴가 없고 홈페이지 첫화면에 게시판이 뜨게 하고 싶습니다ㅠㅠ
예를들어 방명록 <- 이걸 클릭했을 때 게시판이 나오는 형태가 아니라
최신게시물처럼 맨 첫화면에 게시판이 뜨도록 ㅠㅠㅠㅠ 제발 부탁드려요 ㅠㅠㅠ
그누보드를 설치 후 처음 만들어지는 페이지에서
index 부분에 게시판 하나를 넣으려고 하는데
index.php 부분에 게시판을 불러 오려면 어떻게 해야하는지 방법을 좀 알려주세요ㅠㅠ
참고로 index.php 내용은 현재
(댓글첨부)
이렇게 되어 있구요ㅠㅠ
저렇게 해놓으니까 인덱스 페이지에는 게시판이 안 뜨고 영어가 나옵니다ㅠㅠ
게시판 나오게 하는 소ㅡ스? 좀 부탁드려요ㅠㅠㅠㅠ
ㅡ
따로 메뉴가 없고 홈페이지 첫화면에 게시판이 뜨게 하고 싶습니다ㅠㅠ
예를들어 방명록 <- 이걸 클릭했을 때 게시판이 나오는 형태가 아니라
최신게시물처럼 맨 첫화면에 게시판이 뜨도록 ㅠㅠㅠㅠ 제발 부탁드려요 ㅠㅠㅠ
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 15개
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<iframe scrolling=no frameborder=0 width=410 height=510 marginwidth=0 marginheight=0 src="홈페이지주소"></iframe
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
ㅡㅡㅡ
글에 첨부가 안 되서 댓글로 첨부합니다 ㅠㅠ
<iframe name='ifmain' width='800' height='600' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' src='/bbs/board.php?bo_table=bbs03_01' ></iframe>
</div>
<!--- 넓이 높이 좌여백 상단여백 테이블명(bbs_03_01) 수정해서 사용하세요 div줄에 left, top
으로 위조정하시면 됩니다. -->
http://zzzizi.dothome.co.kr/
여기서 home 버튼 누르면 인덱스(하얀페이지)에 게시판이 나오게 할 수는없는 건가요?ㅠㅠ..
죄송합니다ㅠㅠ
include_once("./_common.php");
$_SESSION["CH"]="";
include_once("./_head.php");
?>
<!-- ##### Main Copy ##### -->
<div id="main-copy">
<h1 id="introduction" style="border-top: none; padding-top: 0;">Introduction</h1>
<p>This is version two of Gila, a revision of the <a href="http://www.free-css.com/">original design</a> I submitted
to <a href="http://www.free-css.com/"><acronym title="Open Source Web Design">OSWD</acronym></a> in February 2003. Following is a summary of the major differences between this version and the
original.</p>
<h1 id="cross-browser">Improved Cross-browser Compatibility</h1>
<p>I did not test version one of Gila in Opera before submitting it to OSWD. As a result, the
original does not render properly in that browser. In contrast, this version of Gila has been
fully tested in <a href="http://www.free-css.com/">Opera</a> (7.01), Gecko
(<a href="http://www.free-css.com/">Mozilla</a> 1.3) and Internet Explorer (6.0) for consistent
rendering.</p>
<h1 id="stylesheets">Modified Stylesheets</h1>
<dl>
<dt>More comprehensive screen stylesheet</dt>
<dd>The improved cross-browser consistency is a result of Gila’s more comprehensive screen
stylesheet. Major style parameters are explicitly defined in the stylesheet, resulting in
less dependence on browser-determined defaults and thus fewer rendering idiosyncrasies.</dd>
<dt>Removal of colour scheme stylesheet</dt>
<dd>I’ve removed the separate colour scheme stylesheet found in the original version,
instead incorporating the colour definitions in the single screen stylesheet.</dd>
</dl>
<h1 id="accessibility">Improved Accessibility</h1>
<p>This version of Gila has improved accessibility features for people with impaired vision.
The template tentatively conforms to the <a href="http://www.w3.org/TR/WCAG10"> <acronym>WCAG</acronym> double A rating</a> and <a href="http://www.access-board.gov/508.htm">§ 508</a> guidelines for web content
accessibility. The relative simplicity of the template’s underlying markup ensures that
your page can be easily transformed for rendering in aural, tactile (braille) and other
non-visual user agents.</p>
</div>
<?
include_once("./_tail.php");
?>
ㅡ
이렇게 됩니다.ㅠㅠ
홈버튼이나 왼쪽에 겅지<- 라고 된 메뉴 클릭시
오른쪽 흰 화면에 게시판이 뜨게 하고 싶습니다ㅠㅠ 도와주세요ㅠㅠㅠㅠㅠㅠㅠㅠ
include_once("./_common.php");
include_once("./_head.php"); ?>
<!-- 메인화면 게시판 -->
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<div id=main1 style='z-index: 1; position: absolute; left:0; top:200; width:800; height:600'>
<iframe name='ifmain' width='800' height='600' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' src='/bbs/board.php?bo_table=bbs03_01' ></iframe>
</div>
</tr>
</table>
<!-- 메인화면 게시판 끝 -->
<? include_once("./_tail.php"); ?>
님에 index.php 따로 보관해두시고 위에내용을 넣어보세요
아래 aaa.php을 하나만들어 올리시고 aaa.php를 겅지에 연결해보세요
aaa.php
---------------
<?
include_once("./_common.php");
include_once("./_head.php"); //요기 빠저있네요 죄송
?>
<div id=main1 style='z-index: 1; position: absolute; left:240; top:200; width:800; height:600'>
<iframe name='ifmain' width='800' height='600' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' src='/bbs/board.php?bo_table=02' ></iframe>
</div>
---------------
aaa.php를 만들어서 그누보드 폴더에 넣고
겅지에 링크 건 것을 /html/gnuboard4/aaa.php로 설정하였더니
페이지를 찾을 수가 없다고 뜹니다 ㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠ
경로는 <a href="/html/gnuboard4/aaa.php">겅지</a> 지정!
그리고나서 말씀해주신데로 aaa파일 내용 수정하였는데..
페이지를 찾을 수 없다고 닷홈 이미지가 뜨네요ㅠ.ㅠ
head가있는폴더에 aaa.php를 넣어셨다면 경로가 잘못되었네요