그누보드를 사용해서 처음으로 홈페이지를 만들었는데요 정보
그누보드를 사용해서 처음으로 홈페이지를 만들었는데요관련링크
본문
문제는 연동부분에서 게시판을 인크루드하는 방법을 모르고 있어요
예를 들어 서브페이지(sub01.html)을 만들고 코딩을 하기와 같이 봤다면
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td align="center">
<table width="960" cellpadding=0 cellspacing=0>
<tr>
<td><? include_once("../inc/left_menu.php"); ?></td>
<td width="20"> </td>
<td valign="top">
<table width="700" cellpadding=0 cellspacing=0>
<tr>
<? include "../inc/title.php";?>
</tr>
<tr>
<td height="20"> </td>
</tr>
<!------ 본문 start -------->
<tr>
<td> 여기부분을 어떻게 적는건가요???</td> </tr>
<!------ 본문 end -------->
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
include_once("./_tail.php");
?>
예를 들어 서브페이지(sub01.html)을 만들고 코딩을 하기와 같이 봤다면
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td align="center">
<table width="960" cellpadding=0 cellspacing=0>
<tr>
<td><? include_once("../inc/left_menu.php"); ?></td>
<td width="20"> </td>
<td valign="top">
<table width="700" cellpadding=0 cellspacing=0>
<tr>
<? include "../inc/title.php";?>
</tr>
<tr>
<td height="20"> </td>
</tr>
<!------ 본문 start -------->
<tr>
<td> 여기부분을 어떻게 적는건가요???</td> </tr>
<!------ 본문 end -------->
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
include_once("./_tail.php");
?>
댓글 전체
게시판은 인크루드가 되지 않습니다.
여기 게시판처럼 게시판이 포함된 서브페이지를 만드시려면
아래처럼 한페이지를 만드신후 이걸 head_이름.php와 tail_이름.php로 쪼개서 게시판관리페이지에서
상단과 하단에 아래처럼 불러오게 넣으시면 됩니다.
../head_이름.php
../tail_이름.php
아래와 같은 형식으로 꾸며져야 적용이 됩니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
//필요한 인크르드 추가
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 960;
?>
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td align="center">
<table width="960" cellpadding=0 cellspacing=0>
<tr>
<td><? include_once("../inc/left_menu.php"); ?></td>
<td width="20"> </td>
<td valign="top">
<table width="700" cellpadding=0 cellspacing=0>
<tr>
<td></td>
<? include "../inc/title.php";?>
</tr>
<tr>
<td height="20"> </td>
</tr>
<tr>
<td>
<!------ 여기에서 위는 head_이름.php로 저장 -------->
여기에서 위는 head_이름.php / 아래는 tail_이름.php 로 나눔
<!------ 아래는 tail_이름.php 로 저장 -------->
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td> </tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
include_once("./_tail.php");
?>
여기 게시판처럼 게시판이 포함된 서브페이지를 만드시려면
아래처럼 한페이지를 만드신후 이걸 head_이름.php와 tail_이름.php로 쪼개서 게시판관리페이지에서
상단과 하단에 아래처럼 불러오게 넣으시면 됩니다.
../head_이름.php
../tail_이름.php
아래와 같은 형식으로 꾸며져야 적용이 됩니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
//필요한 인크르드 추가
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 960;
?>
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td align="center">
<table width="960" cellpadding=0 cellspacing=0>
<tr>
<td><? include_once("../inc/left_menu.php"); ?></td>
<td width="20"> </td>
<td valign="top">
<table width="700" cellpadding=0 cellspacing=0>
<tr>
<td></td>
<? include "../inc/title.php";?>
</tr>
<tr>
<td height="20"> </td>
</tr>
<tr>
<td>
<!------ 여기에서 위는 head_이름.php로 저장 -------->
여기에서 위는 head_이름.php / 아래는 tail_이름.php 로 나눔
<!------ 아래는 tail_이름.php 로 저장 -------->
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td> </tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
include_once("./_tail.php");
?>