Head랑 Tail이 제대로 안되요ㅠㅠ 정보
Head랑 Tail이 제대로 안되요ㅠㅠ본문
완전 쌩초보인데
어디를 고쳐야 할 지 모르겠네요ㅠ
head를 넣었더니 게시판에 여백이 둥둥 뜨고;;
tail은 나타나지를 않고..ㅠㅠ
박씨빌더에서 제공하는
조카들을 위한 빌더 03
으로 설치했는데;
견본 페이지 (☞http://boxi02.boxi.kr/boxi/)
처럼 안되네요ㅠ
어디를 고쳐야 head tail 아이들이 안쪼개지고 다 나타날까요..ㅠ
밑에 지금 제 계정에 올려진 head.php랑 tail.php 파일 내용 적습니다...
도움 부탁드려요~!
아래는 head 소스에요...
--
<?
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");
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 1004;
?>
<!-- 상단 배경 시작 -->
<table id="Table_01" width="1006" height="717" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign=top colspan="3" rowspan="3">
<img src="<?=$g4['path']?>/images/s_01.jpg" border=0 width="300" height="252" alt=""></td>
<td valign=top colspan="3" width="705" height="32">
<!--로그인 및 검색-->
<table width=100% border="0" cellspacing="0" cellpadding="0">
<tr>
<td align=right>
<a href="<?=$g4['path']?>/">HOME</a>
ㅣ
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전-->
<a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>">로그인</a>
ㅣ
<a href="<?=$g4['bbs_path']?>/register.php">회원가입</a>
ㅣ
<? } else { ?>
<!--로그인 이후-->
<a href="<?=$g4['bbs_path']?>/logout.php">로그아웃</a>
ㅣ
<a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">정보수정</a>
<? } ?>
</td>
<td width="190" align="right">
<!--검색 시작-->
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" height="24" 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="10"></td>
<td width="126" valign="middle"><INPUT name="stx" maxlengt=20 style="BORDER : 1px solid; border-color:#CCCCCC; width: 126px; HEIGHT: 20px; BACKGROUND-COLOR: #FFFFFF" maxlength="20"></td>
<td width="5"></td>
<td width="44"><input type="image" src="<?=$g4['path']?>/img/search_button.gif" border="0"></td>
<td width="5"></td>
</tr>
</form>
</table>
</td>
</tr>
</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>
</table>
<!--로그인 및 검색끝-->
</td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="32" alt=""></td>
</tr>
<tr>
<td valign=top colspan="3" background=<?=$g4['path']?>/images/s_03.jpg" border=0 width="705" height="72">
<? echo select_gr_list("sel_gr", "m1", 10)?>
</td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="72" alt=""></td>
</tr>
<tr>
<td valign=top colspan="3" rowspan="2">
<img src="<?=$g4['path']?>/images/s_04.jpg" border=0 width="705" height="240" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="148" alt=""></td>
</tr>
<tr>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_05.jpg" border=0 width="56" height="92" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_06.jpg" border=0 width="190" height="92" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_07.jpg" border=0 width="54" height="92" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="92" alt=""></td>
</tr>
<tr>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_08.jpg" border=0 width="56" height="286" alt=""></td>
<td valign=top width="190" height="286">
<!--왼쪽시작-->
<?=outlogin("basic2"); // 외부 로그인 ?>
<? include_once("$g4[path]/include/leftmenu/leftmenu.php"); //왼쪽메뉴?>
<?=latest_banner("leftbn","leftbanner", 100, 1); //왼쪽배너 ?>
<!--왼쪽끝-->
</td>
<td valign=top colspan="2">
<img src="<?=$g4['path']?>/images/s_10.jpg" border=0 width="88" height="286" alt=""></td>
<td valign=top width="660" height="286">
--
이거는 tail.php 파일에 적힌거구요..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_12.jpg" border=0 width="11" height="286" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="286" alt=""></td>
</tr>
<tr>
<td valign=top colspan="6">
<img src="<?=$g4['path']?>/images/s_13.jpg" border=0 width="1005" height="86" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="86" alt=""></td>
</tr>
<tr>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="56" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="190" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="54" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="34" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="660" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="11" height="1" alt=""></td>
<td valign=top></td>
</tr>
</table>
<!-- 카피라이트 끝 -->
<?
include_once("$g4[path]/tail.sub.php");
?>
어디를 고쳐야 할 지 모르겠네요ㅠ
head를 넣었더니 게시판에 여백이 둥둥 뜨고;;
tail은 나타나지를 않고..ㅠㅠ
박씨빌더에서 제공하는
조카들을 위한 빌더 03
으로 설치했는데;
견본 페이지 (☞http://boxi02.boxi.kr/boxi/)
처럼 안되네요ㅠ
어디를 고쳐야 head tail 아이들이 안쪼개지고 다 나타날까요..ㅠ
밑에 지금 제 계정에 올려진 head.php랑 tail.php 파일 내용 적습니다...
도움 부탁드려요~!
아래는 head 소스에요...
--
<?
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");
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 1004;
?>
<!-- 상단 배경 시작 -->
<table id="Table_01" width="1006" height="717" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign=top colspan="3" rowspan="3">
<img src="<?=$g4['path']?>/images/s_01.jpg" border=0 width="300" height="252" alt=""></td>
<td valign=top colspan="3" width="705" height="32">
<!--로그인 및 검색-->
<table width=100% border="0" cellspacing="0" cellpadding="0">
<tr>
<td align=right>
<a href="<?=$g4['path']?>/">HOME</a>
ㅣ
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전-->
<a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>">로그인</a>
ㅣ
<a href="<?=$g4['bbs_path']?>/register.php">회원가입</a>
ㅣ
<? } else { ?>
<!--로그인 이후-->
<a href="<?=$g4['bbs_path']?>/logout.php">로그아웃</a>
ㅣ
<a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">정보수정</a>
<? } ?>
</td>
<td width="190" align="right">
<!--검색 시작-->
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" height="24" 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="10"></td>
<td width="126" valign="middle"><INPUT name="stx" maxlengt=20 style="BORDER : 1px solid; border-color:#CCCCCC; width: 126px; HEIGHT: 20px; BACKGROUND-COLOR: #FFFFFF" maxlength="20"></td>
<td width="5"></td>
<td width="44"><input type="image" src="<?=$g4['path']?>/img/search_button.gif" border="0"></td>
<td width="5"></td>
</tr>
</form>
</table>
</td>
</tr>
</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>
</table>
<!--로그인 및 검색끝-->
</td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="32" alt=""></td>
</tr>
<tr>
<td valign=top colspan="3" background=<?=$g4['path']?>/images/s_03.jpg" border=0 width="705" height="72">
<? echo select_gr_list("sel_gr", "m1", 10)?>
</td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="72" alt=""></td>
</tr>
<tr>
<td valign=top colspan="3" rowspan="2">
<img src="<?=$g4['path']?>/images/s_04.jpg" border=0 width="705" height="240" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="148" alt=""></td>
</tr>
<tr>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_05.jpg" border=0 width="56" height="92" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_06.jpg" border=0 width="190" height="92" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_07.jpg" border=0 width="54" height="92" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="92" alt=""></td>
</tr>
<tr>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_08.jpg" border=0 width="56" height="286" alt=""></td>
<td valign=top width="190" height="286">
<!--왼쪽시작-->
<?=outlogin("basic2"); // 외부 로그인 ?>
<? include_once("$g4[path]/include/leftmenu/leftmenu.php"); //왼쪽메뉴?>
<?=latest_banner("leftbn","leftbanner", 100, 1); //왼쪽배너 ?>
<!--왼쪽끝-->
</td>
<td valign=top colspan="2">
<img src="<?=$g4['path']?>/images/s_10.jpg" border=0 width="88" height="286" alt=""></td>
<td valign=top width="660" height="286">
--
이거는 tail.php 파일에 적힌거구요..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td>
<td valign=top>
<img src="<?=$g4['path']?>/images/s_12.jpg" border=0 width="11" height="286" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="286" alt=""></td>
</tr>
<tr>
<td valign=top colspan="6">
<img src="<?=$g4['path']?>/images/s_13.jpg" border=0 width="1005" height="86" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="1" height="86" alt=""></td>
</tr>
<tr>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="56" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="190" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="54" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="34" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="660" height="1" alt=""></td>
<td valign=top>
<img src="<?=$g4['path']?>/images/spacer.gif" width="11" height="1" alt=""></td>
<td valign=top></td>
</tr>
</table>
<!-- 카피라이트 끝 -->
<?
include_once("$g4[path]/tail.sub.php");
?>
댓글 전체
질문답변해드리고싶어서 연구할겸 들어가봤는데
싫어졌습니다...-_-+
싫어졌습니다...-_-+
솔로들이여 영원하라!!!
인클루드 제대로 하셨나요? 푸터부분안뜨던데 확인한번해보세요