게시판설정시 tail.php 가 나오지 않네요. 정보
게시판설정시 tail.php 가 나오지 않네요.본문
head.php
------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="22" align="center" valign="top">
<table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<!-- 빈공간 -->
<td width="354"></td>
<!-- 처음으로 버튼 -->
<td width="78"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/top_m01.gif" width="78" height="21" border="0"></a></td>
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>"><img src="<?=$g4['path']?>/img/top_m02.gif" width="78" height="21" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$g4['path']?>/img/top_m03.gif" width="78" height="21" border="0"></a></td>
<? } else { ?>
<!-- 로그인 이후 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$g4['path']?>/img/top_m04.gif" width="78" height="21" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="<?=$g4['path']?>/img/top_m05.gif" width="78" height="21" border="0"></a></td>
<? } ?>
<!-- 최근게시물 버튼 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/new.php"><img src="<?=$g4['path']?>/img/top_m06.gif" width="78" height="21" border="0"></a></td>
<!-- 테스트 버튼 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/notice.php"><img src="<?=$g4['path']?>/img/top_m07.gif" width="78" height="21" border="0"></a></td>
<!-- 뒤 빈공간 -->
<td width="50"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="150" align="center" valign="top">
<table cellpadding="0" cellspacing="0" width="900" height="150">
<tr>
<td width="1199"> <p>상단배경 및 메뉴</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="23" align="center" valign="middle">
<!-- 검색 시작 -->
<table width="900" height="23" cellspacing="0" cellpadding="0">
<form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
<!-- <input type="hidden" name="sfl" value="concat(wr_subject,wr_content)"> -->
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<tr>
<td width="656"></td>
<td width="146" valign="middle" bgcolor="#F4F4F4"><INPUT name="stx" maxlengt=20 style="BORDER : 1px solid; width: 145px; HEIGHT: 20px; BACKGROUND-COLOR: #ECDFED" maxlength="20"></td>
<td width="48"><input type="image" src="<?=$g4['path']?>/img/search_button.gif" width="48" height="23" border="0"></td>
<td width="50"></td>
</tr>
</form>
</table>
<script language="JavaScript">
function fsearchbox_submit(f)
{
if (f.stx.value == '')
{
alert("검색어를 입력하세요.");
f.stx.select();
f.stx.focus();
return;
}
/*
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++)
{
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1)
{
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return;
}
*/
f.action = "<?=$g4['bbs_path']?>/search.php";
f.submit();
}
</script>
<!-- 검색 끝 -->
</td>
</tr>
<tr>
<td width="100%" height="9" align="center" valign="top">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="190" align="left" valign="top">
<!-- 로그인및 좌측 -->
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width="700" align="left" valign="top">
===========================================
tail.php
------------------------------------------------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="middle">카피라이트</td>
</tr>
</table>
<?
include_once("$g4[path]/tail.sub.php");
?>
다른페이지에선 위아래 다 나오지만
게시판에서만 아래부분이 나오질 않습니다.
부탁합니다.
------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="22" align="center" valign="top">
<table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<!-- 빈공간 -->
<td width="354"></td>
<!-- 처음으로 버튼 -->
<td width="78"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/top_m01.gif" width="78" height="21" border="0"></a></td>
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>"><img src="<?=$g4['path']?>/img/top_m02.gif" width="78" height="21" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$g4['path']?>/img/top_m03.gif" width="78" height="21" border="0"></a></td>
<? } else { ?>
<!-- 로그인 이후 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$g4['path']?>/img/top_m04.gif" width="78" height="21" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="<?=$g4['path']?>/img/top_m05.gif" width="78" height="21" border="0"></a></td>
<? } ?>
<!-- 최근게시물 버튼 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/new.php"><img src="<?=$g4['path']?>/img/top_m06.gif" width="78" height="21" border="0"></a></td>
<!-- 테스트 버튼 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/notice.php"><img src="<?=$g4['path']?>/img/top_m07.gif" width="78" height="21" border="0"></a></td>
<!-- 뒤 빈공간 -->
<td width="50"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="150" align="center" valign="top">
<table cellpadding="0" cellspacing="0" width="900" height="150">
<tr>
<td width="1199"> <p>상단배경 및 메뉴</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="23" align="center" valign="middle">
<!-- 검색 시작 -->
<table width="900" height="23" cellspacing="0" cellpadding="0">
<form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
<!-- <input type="hidden" name="sfl" value="concat(wr_subject,wr_content)"> -->
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<tr>
<td width="656"></td>
<td width="146" valign="middle" bgcolor="#F4F4F4"><INPUT name="stx" maxlengt=20 style="BORDER : 1px solid; width: 145px; HEIGHT: 20px; BACKGROUND-COLOR: #ECDFED" maxlength="20"></td>
<td width="48"><input type="image" src="<?=$g4['path']?>/img/search_button.gif" width="48" height="23" border="0"></td>
<td width="50"></td>
</tr>
</form>
</table>
<script language="JavaScript">
function fsearchbox_submit(f)
{
if (f.stx.value == '')
{
alert("검색어를 입력하세요.");
f.stx.select();
f.stx.focus();
return;
}
/*
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++)
{
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1)
{
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return;
}
*/
f.action = "<?=$g4['bbs_path']?>/search.php";
f.submit();
}
</script>
<!-- 검색 끝 -->
</td>
</tr>
<tr>
<td width="100%" height="9" align="center" valign="top">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="190" align="left" valign="top">
<!-- 로그인및 좌측 -->
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width="700" align="left" valign="top">
===========================================
tail.php
------------------------------------------------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="middle">카피라이트</td>
</tr>
</table>
<?
include_once("$g4[path]/tail.sub.php");
?>
다른페이지에선 위아래 다 나오지만
게시판에서만 아래부분이 나오질 않습니다.
부탁합니다.
댓글 전체

관리자 상하단 연결 설정에서
상단과 하단을 지정해 주세요..
../head.php ../tail.php
상단과 하단을 지정해 주세요..
../head.php ../tail.php
답변감사합니다.
지정해 주어도 다른페이지(로그인,최근게시물...등)에서는 상.하단 다 잘나오고요.
게시판 설정시엔 상단만 나오네요.
원본 설치후에도 게시판 설정시엔 카테고리 부분이 나오지 않았고요.
설치가 잘못된건 아닐까요?
설치-- www/gnuboard4/
지정해 주어도 다른페이지(로그인,최근게시물...등)에서는 상.하단 다 잘나오고요.
게시판 설정시엔 상단만 나오네요.
원본 설치후에도 게시판 설정시엔 카테고리 부분이 나오지 않았고요.
설치가 잘못된건 아닐까요?
설치-- www/gnuboard4/