게시판 이탈문제인데요 정보
그누보드 게시판 이탈문제인데요본문
일딴 홈페이지 만들려고 기본 프레임을 조금 나눠볼려고
헤드에서 프레임을 나눴는데 저렇게 게시판이 아래로 내려가버려요
어떻게 해야 하는지 모르겠네요..
검색해서 찾아봐도 잘 모르겠고..
쉽게 설명해주시면 감사해요..^^
헤드에서 프레임을 나눴는데 저렇게 게시판이 아래로 내려가버려요
어떻게 해야 하는지 모르겠네요..
검색해서 찾아봐도 잘 모르겠고..
쉽게 설명해주시면 감사해요..^^
댓글 전체
해피 아이님 감사해요..^^
제가 좀더 알아보고 다시 질문 드릴께요..
제가 좀더 알아보고 다시 질문 드릴께요..
head.php를 정확히 복사하지 않으셨네요.. ^.^~
하지만..
님의 홈피..http://kissyme.live21.net/gnu3/
를 보면..
분명히..
head.php 마지막 부분에..
아래와같은 내용이 있고...
*********************************여기부터 내용*************************************
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
</td>
<td height="196" width="58"></td>
<td valign=top height="196" width="629">
<td width="129" height="196" valign="top"> </td>
**************여기까지 ************************************************
이중에서 맨 마지막 줄..
즉...
요부분.. ==> <td width="129" height="196" valign="top"> </td>
은 불필요 구절입니다.
확인해보세요~~
하지만..
님의 홈피..http://kissyme.live21.net/gnu3/
를 보면..
분명히..
head.php 마지막 부분에..
아래와같은 내용이 있고...
*********************************여기부터 내용*************************************
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
</td>
<td height="196" width="58"></td>
<td valign=top height="196" width="629">
<td width="129" height="196" valign="top"> </td>
**************여기까지 ************************************************
이중에서 맨 마지막 줄..
즉...
요부분.. ==> <td width="129" height="196" valign="top"> </td>
은 불필요 구절입니다.
확인해보세요~~
http://www.sir.co.kr/?doc=bbs/gnuboard.php&bo_table=qa&sselect=wr_name&stext=%C7%D8%C7%C7%BE%C6%C0%CC&soperator=0&page=1&wr_id=32099
이 글과 똑같은 문제입니다.
즉..
main.php에서..
table태그를 잘못 사용한 문제이므로..
이곳을 수정 바랍니다.
main.php 파일을 첨부 시켰으며 좋았을 텐데요~~
이 글과 똑같은 문제입니다.
즉..
main.php에서..
table태그를 잘못 사용한 문제이므로..
이곳을 수정 바랍니다.
main.php 파일을 첨부 시켰으며 좋았을 텐데요~~
head.php 부분도 잘 못 썼군요..
198줄 정도에 보면..
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
</td>
<td height="196" width="58"></td>
<td valign=top height="196" width="629">
<td width="129" height="196" valign="top"> </td>
<table width='100%' cellpadding=0 cellspacing=0>
이렇게 된 부분이 있습니다.
여기에서..
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
</td>
<td height="196" width="58"></td>
<td valign=top height="196" width="629">
===>이부분이 불필요한 부분임... <td width="129" height="196" valign="top"> </td>
<table width='100%' cellpadding=0 cellspacing=0>
불필요한 부분을 삭제 하면..
게시판이 일단 틀 안으로 들어옵니다..
198줄 정도에 보면..
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
</td>
<td height="196" width="58"></td>
<td valign=top height="196" width="629">
<td width="129" height="196" valign="top"> </td>
<table width='100%' cellpadding=0 cellspacing=0>
이렇게 된 부분이 있습니다.
여기에서..
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
</td>
<td height="196" width="58"></td>
<td valign=top height="196" width="629">
===>이부분이 불필요한 부분임... <td width="129" height="196" valign="top"> </td>
<table width='100%' cellpadding=0 cellspacing=0>
불필요한 부분을 삭제 하면..
게시판이 일단 틀 안으로 들어옵니다..
해피아이님 감사합니다..^^
저도 링크 걸어주신걸 보긴 봤는데 잘 모르겠어서 다시 질문 드린거구요..
그리고 두번째로 올려주신 답변은요.. head.php 에서 셀을 그렇게 나누어서 내보고 싶은데
그렇게하면 자꾸 게시판이 아래로 내려가는 문제를 질문드린거여요..
<td width="129" height="196" valign="top"> </td> <~~ 이거를 끼어 넣고
게시판도 제자리로 갈수는 없나요?
저도 링크 걸어주신걸 보긴 봤는데 잘 모르겠어서 다시 질문 드린거구요..
그리고 두번째로 올려주신 답변은요.. head.php 에서 셀을 그렇게 나누어서 내보고 싶은데
그렇게하면 자꾸 게시판이 아래로 내려가는 문제를 질문드린거여요..
<td width="129" height="196" valign="top"> </td> <~~ 이거를 끼어 넣고
게시판도 제자리로 갈수는 없나요?
엠님 해피아이님 다시 감사드려요.. 위에 링크 걸어놔서 그거 보심 아실줄 알았어요..^^
head.phpㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
/*
사용자 화면 상단과 좌측을 담당하는 페이지입니다.
상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
*/
include "./bbs/gblayer.php";
?>
<table width=1000 align=center><tr><td height="378" align="left" valign="top">
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td height=60>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td><a href='./'><img src='image/logo.gif' border=0 alt='그누보드'></a></td>
</tr>
</table>
</td>
<td align=right valign=top>
<?
echo "<a href='./' class=tm>HOME</a> | ";
if (!$member[mb_id]) {
echo "<a href='./?doc=bbs/mblogin.php&url=$urlencode' class=tm>로그인</a> | ";
echo "<a href='./?doc=bbs/mbform.php' class=tm>회원가입</a>";
} else {
echo "<a href='./?doc=bbs/mblogout.php&url=$urlencode' class=tm>로그아웃</a> | ";
echo "<a href='./?doc=bbs/mbform.php&w=u' class=tm>정보수정</a>";
if ($is_admin == "default" || $is_admin == "group") {
echo " <a href='./?doc=bbs/admin/index.php' class=tm>(ADMIN)</a>";
}
}
?>
</td>
</tr>
<tr>
<td colspan=2>
<table width=100% height=30 cellpadding=0 cellspacing=0>
<tr>
<td bgcolor=#217AF9 width=75%>
<?
echo "<a href='./' class=tm2>HOME</a> ";
if (!$member[mb_id]) {
echo "<a href='./?doc=bbs/mblogin.php&url=$urlencode' class=tm2>로그인</a> ";
echo "<a href='./?doc=bbs/mbform.php' class=tm2>회원가입</a>";
} else {
echo "<a href='./?doc=bbs/mblogout.php&url=$urlencode' class=tm2>로그아웃</a> ";
echo "<a href='./?doc=bbs/mbform.php&w=u' class=tm2>정보수정</a>";
if ($is_admin == "default" || $is_admin == "group") {
echo " <a href='./?doc=bbs/admin/index.php' class=tm2>(ADMIN)</a>";
}
}
?>
</td>
<td width=25% align=right background='image/bg_search.gif'>
<!-- 그누보드 외부 검색 폼 -->
<table cellpadding=0 cellspacing=0>
<form name=fgnusearch method=get action='<?="./"?>'>
<tr>
<td>
<input type='hidden' name='doc' value='bbs/gnusearch.php'>
<input type='hidden' name='sselect' value='concat(wr_subject,wr_content)'>
<input type='hidden' name='soperator' value='1'>
<input type='hidden' name='srch_rows' value='5'>
<input type='hidden' name='srch_comment' value='1'>
<input type='hidden' name='srch_days' value='0'>
<img src='image/title_search.gif' align=absmiddle>
<input type=text class=input name='stext' size=15 required minlength=2 itemname='검색어'>
<input type=image src='image/btn_go.gif' border=0 align=absmiddle>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width='100%' cellpadding=0 cellspacing=0>
<colgroup width=170>
<colgroup width=5>
<colgroup width=''>
<tr>
<!-- 왼쪽 메뉴 부분 -->
<td valign=top height="196" width="178">
<!-- 외부 로그인 -->
<? include "./bbs/outlogin.php"; ?>
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
</td>
<td height="196" width="58"></td>
<td valign=top heig
main.phpㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
define("_DOCTYPE_", "DESIGN");
$html_title = "그누보드3";
?>
<table width='100%' cellpadding=0 cellspacing=0>
<colgroup width=''>
<colgroup width=5>
<colgroup width=170>
<tr>
<td valign=top>
<?
// 최신글 시작
$sql = " select bo_table, bo_subject from $cfg[table_board] order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=mysql_fetch_array($result); $i++) {
//echo "<table width=100%><tr><td height=25 bgcolor=#F0F0F0> <img src='image/icon_01.gif' align=absmiddle> <a href='./?doc=bbs/gnuboard.php&bo_table=$row[bo_table]'><b>$row[bo_subject]</b></a></td></tr></table>";
# 이 함수가 바로 최신글을 추출하는 역할을 합니다.
# 사용방법
# latest(스킨, 게시판아이디, 출력라인, 글자수);
# 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
latest('', $row[bo_table], 5, 70);
echo "<p>";
}
// 최신글 끝
?>
</td>
<td></td>
<td valign=top>
<!-- 투표 -->
<? include "./bbs/vote.php"; ?>
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
<!-- 카운터 -->
<img src='image/bar_count.gif' border=0><br>
<? include "./bbs/
tail.php.ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
/*
사용자 화면 우측과 하단을 담당하는 페이지입니다.
우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
*/
?>
</td>
</tr>
</table>
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
<table width='100%' cellpadding=0 cellspacing=0>
<tr><td height=1 bgcolor=#8C8C8C></td></tr>
<tr>
<td height=30 align=right><font color=#9B9B9B>Copyright © your-domain. All rights reserved.</font> </td>
</tr>
</table>
위에 꺼고요..
그리고 지금은 head.php 만 건드린 상태고 나머지는 고대루에요
제가 초보라서 이렇게 질문드립니다..
head.phpㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
/*
사용자 화면 상단과 좌측을 담당하는 페이지입니다.
상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
*/
include "./bbs/gblayer.php";
?>
<table width=1000 align=center><tr><td height="378" align="left" valign="top">
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td height=60>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td><a href='./'><img src='image/logo.gif' border=0 alt='그누보드'></a></td>
</tr>
</table>
</td>
<td align=right valign=top>
<?
echo "<a href='./' class=tm>HOME</a> | ";
if (!$member[mb_id]) {
echo "<a href='./?doc=bbs/mblogin.php&url=$urlencode' class=tm>로그인</a> | ";
echo "<a href='./?doc=bbs/mbform.php' class=tm>회원가입</a>";
} else {
echo "<a href='./?doc=bbs/mblogout.php&url=$urlencode' class=tm>로그아웃</a> | ";
echo "<a href='./?doc=bbs/mbform.php&w=u' class=tm>정보수정</a>";
if ($is_admin == "default" || $is_admin == "group") {
echo " <a href='./?doc=bbs/admin/index.php' class=tm>(ADMIN)</a>";
}
}
?>
</td>
</tr>
<tr>
<td colspan=2>
<table width=100% height=30 cellpadding=0 cellspacing=0>
<tr>
<td bgcolor=#217AF9 width=75%>
<?
echo "<a href='./' class=tm2>HOME</a> ";
if (!$member[mb_id]) {
echo "<a href='./?doc=bbs/mblogin.php&url=$urlencode' class=tm2>로그인</a> ";
echo "<a href='./?doc=bbs/mbform.php' class=tm2>회원가입</a>";
} else {
echo "<a href='./?doc=bbs/mblogout.php&url=$urlencode' class=tm2>로그아웃</a> ";
echo "<a href='./?doc=bbs/mbform.php&w=u' class=tm2>정보수정</a>";
if ($is_admin == "default" || $is_admin == "group") {
echo " <a href='./?doc=bbs/admin/index.php' class=tm2>(ADMIN)</a>";
}
}
?>
</td>
<td width=25% align=right background='image/bg_search.gif'>
<!-- 그누보드 외부 검색 폼 -->
<table cellpadding=0 cellspacing=0>
<form name=fgnusearch method=get action='<?="./"?>'>
<tr>
<td>
<input type='hidden' name='doc' value='bbs/gnusearch.php'>
<input type='hidden' name='sselect' value='concat(wr_subject,wr_content)'>
<input type='hidden' name='soperator' value='1'>
<input type='hidden' name='srch_rows' value='5'>
<input type='hidden' name='srch_comment' value='1'>
<input type='hidden' name='srch_days' value='0'>
<img src='image/title_search.gif' align=absmiddle>
<input type=text class=input name='stext' size=15 required minlength=2 itemname='검색어'>
<input type=image src='image/btn_go.gif' border=0 align=absmiddle>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width='100%' cellpadding=0 cellspacing=0>
<colgroup width=170>
<colgroup width=5>
<colgroup width=''>
<tr>
<!-- 왼쪽 메뉴 부분 -->
<td valign=top height="196" width="178">
<!-- 외부 로그인 -->
<? include "./bbs/outlogin.php"; ?>
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
</td>
<td height="196" width="58"></td>
<td valign=top heig
main.phpㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
define("_DOCTYPE_", "DESIGN");
$html_title = "그누보드3";
?>
<table width='100%' cellpadding=0 cellspacing=0>
<colgroup width=''>
<colgroup width=5>
<colgroup width=170>
<tr>
<td valign=top>
<?
// 최신글 시작
$sql = " select bo_table, bo_subject from $cfg[table_board] order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=mysql_fetch_array($result); $i++) {
//echo "<table width=100%><tr><td height=25 bgcolor=#F0F0F0> <img src='image/icon_01.gif' align=absmiddle> <a href='./?doc=bbs/gnuboard.php&bo_table=$row[bo_table]'><b>$row[bo_subject]</b></a></td></tr></table>";
# 이 함수가 바로 최신글을 추출하는 역할을 합니다.
# 사용방법
# latest(스킨, 게시판아이디, 출력라인, 글자수);
# 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
latest('', $row[bo_table], 5, 70);
echo "<p>";
}
// 최신글 끝
?>
</td>
<td></td>
<td valign=top>
<!-- 투표 -->
<? include "./bbs/vote.php"; ?>
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
<!-- 카운터 -->
<img src='image/bar_count.gif' border=0><br>
<? include "./bbs/
tail.php.ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
/*
사용자 화면 우측과 하단을 담당하는 페이지입니다.
우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
*/
?>
</td>
</tr>
</table>
<!-- 공백 -->
<table width=100% height=5><tr><td></td></tr></table>
<table width='100%' cellpadding=0 cellspacing=0>
<tr><td height=1 bgcolor=#8C8C8C></td></tr>
<tr>
<td height=30 align=right><font color=#9B9B9B>Copyright © your-domain. All rights reserved.</font> </td>
</tr>
</table>
위에 꺼고요..
그리고 지금은 head.php 만 건드린 상태고 나머지는 고대루에요
제가 초보라서 이렇게 질문드립니다..
M님 말씀대로..
head.php, tail.php, main.php....
이 세개의 파일이 있어야 정확히 진단이 가능합니다~
head.php, tail.php, main.php....
이 세개의 파일이 있어야 정확히 진단이 가능합니다~