블

게시판설정 head.php, tail.php 파일 불러오는방법

· 2011-02-09 (수) 03:04:50 · 1911 · 8
1.jpg
2.jpg
게시판이 아닌곳에선 tail.php가 맨하단 테이블 아래 검은 백그라운드에 인쿠르드로 불러지는데요.
게시판 페이지에서는 테이블 안에 불러집니다.

---------------------------head.php 소스

<body text="#333333" oncontextmenu="return false" ondragstart="return false" onselectstart="return false"leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" border="0">
<table align="center" cellpadding="0" cellspacing="0" width="985">
<tr>
<td width="985" height="100" valign="top">
<table cellpadding="0" cellspacing="0" width="100%" height="100%"><tr><td width="100%" height="100%" valign="top">

<p align="left">
<!-- 목록 --><?
include_once("$g4[path]/bladeandsoul/bs_sub_top_01.php");
?><!-- 목록 -->
</td> </tr></table> </td>
</tr>
<tr>
<td width="985" height="543" valign="top">
<table cellpadding="5" cellpadding="5" width="100%" height="100%" bgcolor="#EBEBEB"><tr><td width="965" height="100%" valign="top">

<table cellpadding="0" cellpadding="0" width="971" height="100%" bgcolor="#EBEBEB"><tr><td width="189" height="100%" valign="top">

<p align="left">
<!-- 목록 --><?
include_once("$g4[path]/bladeandsoul/bs_sub_l.php");
?><!-- 목록 --> </td> <td width="6" height="100%" valign="top">

<p> </p>

</td> <td width="768" height="100%" valign="top">

<div align="right">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="26" valign="top">
<table style="border-width:1; border-color:rgb(225,225,225); border-style:solid;" cellpadding="0" cellspacing="0" width="100%" bgcolor="white">
<tr>
<td height="141">
<table cellpadding="0" cellspacing="0" width="644" bgcolor="white" align="center">
<tr>
<td height="193" background="http://5sio.com/bladeandsoul/img/s1.jpg" width="644">
<p> </p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="7" valign="top">

</td>
</tr>
<tr>
<td height="477" valign="top">
<table style="border-width:1; border-color:rgb(219,219,219); border-style:solid;" cellpadding="5" cellpadding="5" width="100%" bgcolor="white">
<tr>
<td height="531" valign="top">

------------------------------------------------------------------
이런형식에서는 tail.php 가 테이블 밖으로 블러지게 하려면 어떻게 고쳐야 하나요?

첨부파일

1.jpg (11.9 KB)
0회 2011-02-09 03:04
2.jpg (41.1 KB)
0회 2011-02-09 03:04
|

댓글 8개

2011-02-09 (수) 11:42:22
테이블이 하나도 안닫혀있어서 ..;;
<body text="#333333" oncontextmenu="return false" ondragstart="return false" onselectstart="return false"leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" border="0">
<table align="center" cellpadding="0" cellspacing="0" width="985">
<tr>
<td width="985" height="100" valign="top">
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td width="100%" height="100%" valign="top">
<p align="left"><!-- 목록 --><?include_once("$g4[path]/bladeandsoul/bs_sub_top_01.php");?><!-- 목록 -->
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="985" height="543" valign="top">
<table cellpadding="5" cellpadding="5" width="100%" height="100%" bgcolor="#EBEBEB">
<tr>
<td width="965" height="100%" valign="top">
<table cellpadding="0" cellpadding="0" width="971" height="100%" bgcolor="#EBEBEB">
<tr>
<td width="189" height="100%" valign="top"><p align="left"><!-- 목록 --><?include_once("$g4[path]/bladeandsoul/bs_sub_l.php");?><!-- 목록 --></td>
<td width="6" height="100%" valign="top"><p> </p></td>
<td width="768" height="100%" valign="top">
<div align="right">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="26" valign="top">
<table style="border-width:1; border-color:rgb(225,225,225); border-style:solid;" cellpadding="0" cellspacing="0" width="100%" bgcolor="white">
<tr>
<td height="141">
<table cellpadding="0" cellspacing="0" width="644" bgcolor="white" align="center">
<tr>
<td height="193" background="http://5sio.com/bladeandsoul/img/s1.jpg" width="644">
<p> </p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="7" valign="top"></td>
</tr>
<tr>
<td height="477" valign="top">
<table style="border-width:1; border-color:rgb(219,219,219); border-style:solid;" cellpadding="5" cellpadding="5" width="100%" bgcolor="white">
<tr>
<td height="531" valign="top">
123
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" width="985">
<tr>
<td>하단 메뉴</td>
</tr>
</table>
</body>
테이블 정리해서 하단에 이렇게 불르고싶단 말씀이맞는지 아니면 말씀주세요
2011-02-09 (수) 11:56:04
감사합니다. 근데 적용해보니까 게시판이 테이블 밖으로 블러지네요. 게시판은 첨부파일2처럼 블러지고 카피라이터는 첨부 1처럼 검은 바탕에 불러지게 하려고요.
http://5sio.com/bladeandsoul/ 여기보시면 메인페이지 레이아웃은 정상인데요.
[게임소식]이 위에 적어주신 소스를 적용한거고요.
[종족/스킬]란이 제가 작업해서 꼬인 레이아웃입니다.
다른게시판이나 메뉴는 접근이 안되고 메인과 게임소식 종족스킬 메뉴만 접속이 가능합니다.
2011-02-09 (수) 12:13:39
게시판이 제가 보내드린거에 123 이부분에 들어가야 한다는 말씀이면 게시판 소스를 include해보세요
아니면 원하시는 레이아웃을 그림으로 라도 그려주셔야 이해가 빠르겠네요..;
2011-02-09 (수) 13:30:47
종족/스킬 게시판이
http://5sio.com/bladeandsoul/bs_sub_01.php
이게 게시판 적용전에 html로 레이아웃을 잡은건데요.

게시판소스 인쿠르드가 게시판 상,하단에 소스넣는부분에 직접 소스넣는건가요?

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>

--------------------이건 tail.php 인데요. 이게 잘못된건 아니죠?
<table cellpadding="0" cellspacing="0" width="100%" height="120" align="center">

<td valign="top" width="100%">
<!-- 목록 --><?
include_once("$g4[path]/bladeandsoul/bs_t.php");
?><!-- 목록 -->
<!-- 카피라이트 끝 -->
2011-02-09 (수) 13:43:37
일하면서 댓글 보느라 .. 원하시는게
http://5sio.com/bbs/board.php?bo_table=bs_01
이페이지 카피라이트 부분위에 게시판이 올라와서 이걸 수정을 원하시는게 맞나요?
123 이부분에 게시판을 넣고 싶은게 맞는건가요?
2011-02-09 (수) 13:59:55
네 123부분에 게시판이 들어가고 테이블 아래로 카피아이트가 나오게 하려고요.
2011-02-09 (수) 16:08:04
아.. 맞아요 그럼 123 부분에 일단 tail.php가 카피라이트면 그부분빼고
게시판 <table></table>을 넣어도 되고 다른파일에있으면 그파일을 인클루드 하심되요
정안되심 네이트친추라도 해서 알려드리구요..;
2011-02-09 (수) 17:27:57
해결했습니다. head.php가 잘못된줄 알았는데 tail.php 테이블이 잘못됬었네요.^^;
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
11-02-09 조회 1,579
11-02-09 조회 1,739
11-02-09 조회 1,596
11-02-09 조회 1,912
11-02-09 조회 1,610
11-02-09 조회 1,063
11-02-09 조회 1,683
11-02-09 조회 1,647
11-02-09 조회 1,113
11-02-08 조회 1,028
11-02-08 조회 965
11-02-08 조회 1,057
11-02-08 조회 973
11-02-08 조회 1,034
11-02-08 조회 1,027
11-02-08 조회 2,030
11-02-08 조회 1,211
11-02-08 조회 1,759
11-02-08 조회 1,636
11-02-08 조회 1,330