묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
여기서요 -> http://qkdlrnt.compuz.com/zboard/noname1.htm 이곳에 들어가시면 화면이
표시될 페이지가 딱 보이잖아요 ? 그런데 헤더 , 풋터 잘 끊어 줬는데 http://qkdlrnt.compuz.com/zboard/pds_game.htm
이렇게 나오네요.
noname1 소스는요
<?
$_zb_url = "http://qkdlrnt.compuz.com/zboard/";
$_zb_path = "/home/qkdlrnt/public_html/zboard/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>d</title>
<meta name="generator" content="Namo WebEditor v5.0">
<style>
<!--
@import url(noname1.css);
-->
</style>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="15" marginheight="15">
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="875">
<tr>
<td width="869" height="42" background="tt1.gif" colspan="2">
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="385" background="images/o2.gif">
<p><img src="images/snow.gif" align="middle" width="65" height="64" border="0">
<img src="images/pok1.gif" align="middle" width="300" height="80" border="0"></p>
</td>
<td width="18" background="images/o1.gif">
<p> </p>
</td>
<td width="412" background="images/tt1.gif">
<p align="right"><img src="images/popo.jpg" align="middle" width="81" height="80" border="0">
<img src="images/popo2.jpg" align="middle" width="81" height="80" border="0">
</p>
</td>
</tr>
</table>
</div>
</td>
<td width="6" height="42" background="images/tt2.gif">
<p><font size="1"><img src="images/newtt1.gif" width="45" height="80" border="0"></font></p>
</td>
</tr>
<tr>
<td width="155" height="62">
<p><img src="images/log.jpg" width="155" height="110" border="0"></p>
</td>
<td width="714" height="62">
<p><img src="images/ttf5.jpg" width="714" height="110" border="0"></p>
</td>
<td background="images/newtt2.gif" width="6">
<p> </p>
</td>
</tr>
<tr>
<td width="155" height="492" valign="top" background="images/ttf2.jpg">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="145" height="20">
<p align="center"><? print_outlogin("na", 1, 10) ?>
</td>
</tr>
<tr>
<td width="145" height="20">
<p><font color="#484646" size="2" face="돋움"><img src="images/newk2.gif" width="155" height="40" border="0"></font></p>
</td>
</tr>
<tr>
<td width="145" height="20" valign="top" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646">공지사항
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646"> 이벤트
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font color="#484646" face="돋움" size="2"> 아바타쇼핑
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font size="2" face="돋움" color="#484646">포인트랭킹
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20">
<p align="right"><font face="돋움" size="2" color="#484646"><img src="images/kk7.gif" width="155" height="40" border="0"></font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="http://qkdlrnt.compuz.com/zboard/zboard.php?id=free"><font face="돋움" size="2" color="#484646">자유게시판</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="http://qkdlrnt.compuz.com/zboard/zboard.php?id=novels"><font face="돋움" size="2" color="#484646">소설게시판</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="http://qkdlrnt.compuz.com/zboard/zboard.php?id=qns"><font face="돋움" size="2" color="#484646">묻고답하기</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="http://qkdlrnt.compuz.com/zboard/zboard.php?id=sa"><font face="돋움" size="2" color="#484646">내얼굴
올리기</font></a><font face="돋움" size="2" color="#484646"> </font></p>
</td>
</tr>
<tr>
<td width="145" height="20">
<p align="right"><font face="돋움" size="2"><img src="images/k4.gif" width="155" height="40" border="0"></font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pds_game.htm"><font face="돋움" size="2" color="#484646">게임실</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pds_image.htm"><font face="돋움" size="2" color="#484646">그림방</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646">음악실
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646"> 포켓몬소식
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646"> 치트키&공략집 </font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646">게임팁
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646">동영상
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font size="2" face="돋움" color="#484646">기타자료실</font><font size="2" face="돋움">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20">
<p align="right"><font face="돋움" size="2" color="#484646"><img src="images/newkk2.gif" width="155" height="40" border="0"></font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646"> 시리즈&극장판
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pokemon_what.htm"><font size="2" face="돋움" color="#484646">포켓몬
?</font></a><font size="2" face="돋움" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pokemon_person.htm"><font face="돋움" size="2" color="#484646">주인공</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pokemon_pb.htm"><font face="돋움" size="2" color="#484646">종합도감</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pokemon_zeato.htm"><font face="돋움" size="2" color="#484646">포켓몬
제트</font></a><font face="돋움" size="2" color="#484646"> </font></p>
</td>
</tr>
</table>
<p><font size="2" face="돋움"> </font></p>
</td>
<td width="714" height="492" valign="top">
<p> 반가워요</p>
</td>
<td height="492" background="images/newtt3.gif" width="6">
<p> </p>
</td>
</tr>
<tr>
<td width="869" colspan="2" bgcolor="white" background="images/newtt5.gif">
<p align="right"> <font size="2" face="돋움" color="#484646">운영자메일ㅣ포켓몬스터동산
소개ㅣ동맹링크 </font><font face="돋움" size="1">c</font><font size="1" face="돋움" color="#484646">opyright
ⓒ 1999 - 2004 kim01.org All rights reserved</font><font size="2" face="돋움" color="#484646">
</font></p>
</td>
<td background="images/newtt3.gif" width="6">
<p> </p>
</td>
</tr>
<tr>
<td width="869" height="16" colspan="2" bgcolor="white" background="images/newtt7.gif">
<table border="0" cellpadding="0" cellspacing="0" width="10" background="images/newtt9.gif">
<tr>
<td width="27">
<p> </p>
</td>
</tr>
</table>
</td>
<td background="images/newtt6.gif" width="6" height="16">
<p> </p>
</td>
</tr>
</table>
</div>
</body>
</html>
이건데요. 반가워요 라고 적혀져 있는 부분이 페이지 들어가야 될 곳이거든요 ? 그래서 그것을 중심으로
끊어줬는데 잘 안되네요. 도와주세요 ㅜ_ㅜ 처음 해보는거라서;
노프레임 홈페이지, 관련 도와주세요.
2003.12.20 15:53
여기서요 -> http://qkdlrnt.compuz.com/zboard/noname1.htm 이곳에 들어가시면 화면이
표시될 페이지가 딱 보이잖아요 ? 그런데 헤더 , 풋터 잘 끊어 줬는데 http://qkdlrnt.compuz.com/zboard/pds_game.htm
이렇게 나오네요.
noname1 소스는요
<?
$_zb_url = "http://qkdlrnt.compuz.com/zboard/";
$_zb_path = "/home/qkdlrnt/public_html/zboard/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>d</title>
<meta name="generator" content="Namo WebEditor v5.0">
<style>
<!--
@import url(noname1.css);
-->
</style>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="15" marginheight="15">
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="875">
<tr>
<td width="869" height="42" background="tt1.gif" colspan="2">
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="385" background="images/o2.gif">
<p><img src="images/snow.gif" align="middle" width="65" height="64" border="0">
<img src="images/pok1.gif" align="middle" width="300" height="80" border="0"></p>
</td>
<td width="18" background="images/o1.gif">
<p> </p>
</td>
<td width="412" background="images/tt1.gif">
<p align="right"><img src="images/popo.jpg" align="middle" width="81" height="80" border="0">
<img src="images/popo2.jpg" align="middle" width="81" height="80" border="0">
</p>
</td>
</tr>
</table>
</div>
</td>
<td width="6" height="42" background="images/tt2.gif">
<p><font size="1"><img src="images/newtt1.gif" width="45" height="80" border="0"></font></p>
</td>
</tr>
<tr>
<td width="155" height="62">
<p><img src="images/log.jpg" width="155" height="110" border="0"></p>
</td>
<td width="714" height="62">
<p><img src="images/ttf5.jpg" width="714" height="110" border="0"></p>
</td>
<td background="images/newtt2.gif" width="6">
<p> </p>
</td>
</tr>
<tr>
<td width="155" height="492" valign="top" background="images/ttf2.jpg">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="145" height="20">
<p align="center"><? print_outlogin("na", 1, 10) ?>
</td>
</tr>
<tr>
<td width="145" height="20">
<p><font color="#484646" size="2" face="돋움"><img src="images/newk2.gif" width="155" height="40" border="0"></font></p>
</td>
</tr>
<tr>
<td width="145" height="20" valign="top" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646">공지사항
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646"> 이벤트
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font color="#484646" face="돋움" size="2"> 아바타쇼핑
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font size="2" face="돋움" color="#484646">포인트랭킹
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20">
<p align="right"><font face="돋움" size="2" color="#484646"><img src="images/kk7.gif" width="155" height="40" border="0"></font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="http://qkdlrnt.compuz.com/zboard/zboard.php?id=free"><font face="돋움" size="2" color="#484646">자유게시판</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="http://qkdlrnt.compuz.com/zboard/zboard.php?id=novels"><font face="돋움" size="2" color="#484646">소설게시판</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="http://qkdlrnt.compuz.com/zboard/zboard.php?id=qns"><font face="돋움" size="2" color="#484646">묻고답하기</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="http://qkdlrnt.compuz.com/zboard/zboard.php?id=sa"><font face="돋움" size="2" color="#484646">내얼굴
올리기</font></a><font face="돋움" size="2" color="#484646"> </font></p>
</td>
</tr>
<tr>
<td width="145" height="20">
<p align="right"><font face="돋움" size="2"><img src="images/k4.gif" width="155" height="40" border="0"></font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pds_game.htm"><font face="돋움" size="2" color="#484646">게임실</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pds_image.htm"><font face="돋움" size="2" color="#484646">그림방</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646">음악실
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646"> 포켓몬소식
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646"> 치트키&공략집 </font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646">게임팁
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646">동영상
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font size="2" face="돋움" color="#484646">기타자료실</font><font size="2" face="돋움">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20">
<p align="right"><font face="돋움" size="2" color="#484646"><img src="images/newkk2.gif" width="155" height="40" border="0"></font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><font face="돋움" size="2" color="#484646"> 시리즈&극장판
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pokemon_what.htm"><font size="2" face="돋움" color="#484646">포켓몬
?</font></a><font size="2" face="돋움" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pokemon_person.htm"><font face="돋움" size="2" color="#484646">주인공</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pokemon_pb.htm"><font face="돋움" size="2" color="#484646">종합도감</font></a><font face="돋움" size="2" color="#484646">
</font></p>
</td>
</tr>
<tr>
<td width="145" height="20" background="images/bb4.gif">
<p align="right"><a href="pokemon_zeato.htm"><font face="돋움" size="2" color="#484646">포켓몬
제트</font></a><font face="돋움" size="2" color="#484646"> </font></p>
</td>
</tr>
</table>
<p><font size="2" face="돋움"> </font></p>
</td>
<td width="714" height="492" valign="top">
<p> 반가워요</p>
</td>
<td height="492" background="images/newtt3.gif" width="6">
<p> </p>
</td>
</tr>
<tr>
<td width="869" colspan="2" bgcolor="white" background="images/newtt5.gif">
<p align="right"> <font size="2" face="돋움" color="#484646">운영자메일ㅣ포켓몬스터동산
소개ㅣ동맹링크 </font><font face="돋움" size="1">c</font><font size="1" face="돋움" color="#484646">opyright
ⓒ 1999 - 2004 kim01.org All rights reserved</font><font size="2" face="돋움" color="#484646">
</font></p>
</td>
<td background="images/newtt3.gif" width="6">
<p> </p>
</td>
</tr>
<tr>
<td width="869" height="16" colspan="2" bgcolor="white" background="images/newtt7.gif">
<table border="0" cellpadding="0" cellspacing="0" width="10" background="images/newtt9.gif">
<tr>
<td width="27">
<p> </p>
</td>
</tr>
</table>
</td>
<td background="images/newtt6.gif" width="6" height="16">
<p> </p>
</td>
</tr>
</table>
</div>
</body>
</html>
이건데요. 반가워요 라고 적혀져 있는 부분이 페이지 들어가야 될 곳이거든요 ? 그래서 그것을 중심으로
끊어줬는데 잘 안되네요. 도와주세요 ㅜ_ㅜ 처음 해보는거라서;
댓글 5
-
d꿈꾸는아이b
2003.12.20 17:50
-
d꿈꾸는아이b
2003.12.20 17:54
인클루드가 힘드시다면 또다른 메인을 하나 더 만드는 것도 방법이라면 방법 이겠네요^^
즐거운 하루 되세요^^ -
류기만
2003.12.20 19:25
인클루드 해준 문서가 저 상태 ;; -
닭
2003.12.20 20:04
흠...나모 ㅡㅡㅋ...소스 2개를 대충 뜯어 봤습니다. 불필요한 테이블 태그가 몇개 삽입되는 바람에 문제가 생겼군요. ^^*
일단, 상단의 메뉴와 좌측 메뉴가 항상 바뀌지 않는다면...파일의 가장 처음부터 <p>반가워요</p> 바로 전 태그까지를 파일 하나로
만듭니다. <html>부터 <td width="714" height="492" valign="top">까지 되겠네요. 그것을 head.html이나 top.html, top.php 등등으로
저장합니다.
그리고, <p>반가워요</p>바로 다음부터 끝까지를 파일로 저장합니다. </td>부터 </html>까지겠죠. 뭐 bottom.html, bottom.php 등등...
..으로 파일이름 좋을대로 정해서 저장합니다.
그 다음에요...이제 링크해주신 깨진 페이지로 가보죠.
일단 깨진 페이지를 작성하세요. 열심히 작성하신 후에...(나모에서 작성하셨으니) <html>부터 <body> 태그까지 그냥 없애주세요.
그리고, 파일의 가장 처음에 <? include "top.php"; ?> 아까 저장했던 각 페이지의 상단에 인클루드될 파일이름을 저렇게 인클루드 해줍니다.
그리고, 파일의 가장 하단에 <? include "bottom.php"; ?>이렇게 적어줍니다. 물론 </body>, </html> 태그는 지워주시구요.
그렇게 하신 다음...깨진 페이지를 열어보세요. 잘 될겁니다.
현재 깨지는 이유는 ....어떤 이유에서인지 <td width="714" height="492" valign="top"> <p>반가워요</p> </td>에서...
<td></td> 사이에 <td></td></tr></table> ...이렇게 불필요한 태그가 삽입이 되어 있더군요.
그래서 지금 현재 페이지의 형태가
<td width="714" height="492" valign="top">
<!-- 튀어나갔던 내용들 -->
</td>
이렇게 되어야 하는데...
<td width="714" height="492" valign="top">
<td></td> <-------- 응징해야 할 녀석들 ^^*
</tr> <-------- 응징해야 할 녀석들 ^^*
</table> <-------- 응징해야 할 녀석들 ^^*
<!-- 튀어나갔던 내용들 -->
</td>
이렇게 되어 있더군요....
그래서, 테이블이 깨진 상태로 내용들이 삽입되어...내용들이 테이블 밖으로 다 튀어나가게 된겁니다.
그러니, 저 위의 응징해야 할 녀석들을 바로잡아주시면 됩니다.
일단, top.php와 bottom.php를 확실하게 잡아주시면 이제는 페이지를 만드실 때, 만드시는 페이지에 가장 처음과 끝에
<? include "top.php"; ?>와 <? include "bottom.php"; ?> 이것만 적어주시면 됩니다.
그럼 행운을 빌어요 ^^* 포켓몬 잘봤습니다 ^^* -
류기만
2003.12.20 22:32
감사합니다 ㅇ_ㅇ
에에 그.. 게임자료실이 제로보드가 아닌 이상 헤더와 푸터를 넣는 것이아니라
인클루드를 해주셔야 합니다 노프레임홈은 아이프레임이나 프레임 홈과는 달라서
게시판은 헤더와 푸터를 넣어주면 설정 이끝납니다만
노프레임 홈은 반드시 보통 htm문서안에 htm문서를 넣어 주시려면 인클루드를 해주셔야 합니다.