게시판 서브페이지 클릭시 해결 부탁드립니다.
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://sea-landscape.com/bbs/board.php?bo_table=notice&wr_id=16
도저히 하다 하다 안되어서 이렇게 문의 드립니다.
php 초짜입니다. 어느 정도 참고 하고 수정은 하겠는데 이것은 도저히 안되겠네요. 질문 답변란에도 찾아 봐도 없는거 같고
화면을 보시면 빈 공간이 쭈욱 떨어져 있습니다.
이것을 수정할 방법점 가르쳐 주세요 ㅜ.ㅜ
참고로 이페이지는 관리자 페이지에서 상단파일에 내용을 넣었습니다.
오류 주소 : http://sea-landscape.com/bbs/board.php?bo_table=notice&wr_id=16
도저히 하다 하다 안되어서 이렇게 문의 드립니다.
php 초짜입니다. 어느 정도 참고 하고 수정은 하겠는데 이것은 도저히 안되겠네요. 질문 답변란에도 찾아 봐도 없는거 같고
화면을 보시면 빈 공간이 쭈욱 떨어져 있습니다.
이것을 수정할 방법점 가르쳐 주세요 ㅜ.ㅜ
참고로 이페이지는 관리자 페이지에서 상단파일에 내용을 넣었습니다.
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 2개
테이블과 상단 테이불 하단이라고 하면 .. 테이블을 닫은 상태에서 작업 하는게 아닌
테이블 중간에 넣어야 들어 갑니다.
즉
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="973">
<p></p>
</td>
</tr>
</table>
</body>
</html>
이렇게 봤을때는 하나의 테이블이죠 ..
하지만 테이블로만 작업 하려면 ..
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="973">
<p>
// 여기까지가 head.php
즉 여기에 게시판이 들어 가야 한다는 소리죠 ..
아래부터가 tall.php 가 되겠죠 ..
</p>
</td>
</tr>
</table>
</body>
</html>
이해를 못하겠습니다.
이게 관리자 페이지 안 상단파일에 들어간 소스입니다.
어떻게 수정하면 되나요???
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.php");
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 = 960;
?>
<!-- 상단 배경 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td width="323" height="57"> <table width=100% height="380" border=0 cellpadding=0 cellspacing=0>
<tr>
<td width="48%" height="18"><p> </p> </td>
<td width="52%"><div align="right"><IMG height=18
src="http://www.sea-landscape.com/image/blank.gif" width=233
border=0></div></td>
</tr>
<tr>
<td height="50" colspan="2"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="960" height="100">
<param name="movie" value="http://www.sea-landscape.com/flash/manu.swf" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
<embed src="http://www.sea-landscape.com/flash/manu.swf" width="960" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" SCALE="noborder"></embed>
</object></td>
</tr>
<tr>
<td height="5" colspan="2"></td>
</tr>
<TR>
<TD height=242 colspan="2"><IMG src="http://www.sea-landscape.com/image/headimg.jpg" width="960" height="242"></TD>
</TR>
<tr>
<td height="10" colspan="2"> </td>
</tr>
</table></td>
<!-- 로고 -->
</tr>
</table>
<!-- 상단 배경 끝 -->
<!-- 검색 시작 -->
<TABLE cellSpacing=0 cellPadding=0 width=960 border=0>
<TBODY>
<TR>
<TD vAlign=top><img src="http://www.sea-landscape.com/image/left_title06.gif" width="237" height="70" /></TD>
<TD> </TD>
<TD>
<TABLE height=70 cellSpacing=5 cellPadding=0 width="100%"
bgColor=#0D394B border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff>
<TABLE cellSpacing=0 cellPadding=0 width="98%" border=0>
<TBODY>
<TR>
<TD><IMG
src="http://www.sea-landscape.com/image/body_title10.gif" width="680" height="60"></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD width=237 height="546" vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD height="546" vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr>
<td height="481" valign="top">
<table cellspacing="0" cellpadding="0" width="100%" border="0" background="http://www.sea-landscape.com/image/left_titlebg.gif">
<tbody>
<tr>
<td height="7"><img src="http://www.sea-landscape.com/image/left_titleline.gif"></td>
</tr>
<tr>
<td height="37"><a href="board01.html" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', 'http://www.sea-landscape.com/image/sub10-10.gif', true)"><img src="http://www.sea-landscape.com/image/sub10.gif" name="image1" width="237" height="37" border="0"></a></td>
</tr>
<tr>
<td height="37"><a href="board02.html" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', 'http://www.sea-landscape.com/image/sub11-11.gif', true)"><img src="http://www.sea-landscape.com/image/sub11.gif" name="image2" width="237" height="37" border="0"></a></td>
</tr>
<tr>
<td height="37"><a href="board03.html" OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', 'http://www.sea-landscape.com/image/sub12-12.gif', true)"><img src="http://www.sea-landscape.com/image/sub12.gif" name="image3" width="237" height="37" border="0"></a></td>
</tr>
<tr>
<td height="19"><img src="http://www.sea-landscape.com/image/left_titleline1.gif" width="237" height="19"></td>
</tr>
<tr>
<td height="69">
<table width="212" align="center">
<tr>
<th width="212" colspan="3" scope="col"><img src="http://www.sea-landscape.com/image/tel.gif" width="210" height="123"></th>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="291"> </td>
</tr>
</tbody>
</table></td>
</tr>
<TBODY>
</TBODY>
</TABLE></TD>
</TR>
<TBODY>
</TBODY>
</TABLE></TD>
</TR>
<TBODY>
</TBODY>
</TABLE></TD>
</TR>
<TBODY>
</TBODY>
</TABLE></TD>
<TD width=18> </TD>
<TD vAlign=top><BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD height="27"><center>
<img src="http://www.sea-landscape.com/image/board1_img01.gif" width="674" height="78">
</center></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<p> </p>
<p>
<script language="JavaScript">
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
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 false;
}
f.action = "<?=$g4['bbs_path']?>/search.php";
return true;
}
</script>
<!-- 검색 끝 -->
</p>
<div style='height:18px;'></div>
<table width='<?=$table_width?>' cellpadding=0 cellspacing=0 border=0>
<tr>
<td width=43></td>
<!-- 왼쪽 메뉴 -->
<td width=220 valign=top>
<p> </p>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?> </td>
<td width=18></td>
<!-- 중간 -->
<td width=683 valign=top>