헤더와 푸더

 
헤더와 푸더를 제가 만든 파일로 수정하려고 하는데요.
 
 
게시판에 삽입한 헤더와 푸더를 삽입하니까 계속 에러가 납니다.
 
소스를 지우면 안되는 것들이 있는지... 경험 있으신 분께서는 답변 좀 부탁드여요 ㅠㅠ
 
======================================
헤더
======================================
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
$g4['title'] = "";
?>

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<META http-equiv="imagetoolbar" content="no">
<script src="/style/iezn_embed_patch.js" type="text/javascript"></script>
<style type="text/css">@import url(/style/style.css);</style>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">

<table width="917" align="center" cellpadding="0" cellspacing="0" height="100%">
    <tr>
        <td height="105">
            <p align="center"><? include "top_menu.php"; ?></p>
</td>
    </tr>
    <tr>
        <td height="105">                        <p align="center"><? include "sub_01.php"; ?></p>
</td>
    </tr>
    <tr>
        <td height="7"></td>
    </tr>
    <tr>
        <td valign="top">
            <table cellpadding="0" cellspacing="0" width="920">
                <tr>
                    <td width="210" valign="top">
                        <p align="center"><? include "left_menu.php"; ?></p>
</td>
                    <td width="710" valign="top">                       
                        <p align="right">
 
 
===============================================
푸더
===============================================
 
</p>
</td>
                </tr>
            </table>
</td>
    </tr>
    <tr>
        <td height="7"></td>
    </tr>
    <tr>
        <td>            <p align="center"><? include "copyright.php"; ?></p>
</td>
    </tr>
</table>
</body>
</html>
 
 
이런식으로 했거든요  
|

댓글 5개

상단에

include_once("$g4[path]/head.sub.php");

하단에

include_once("$g4[path]/tail.sub.php");

를 안넣으셨군요...^^
^^
잘되는데요^^
감사합니다. (__)

하단에 tail.php에는 include_once("$g4[path]/tail.sub.php"); 안해도 잘 들어오더라구요^^

그런데 로그인 해서 첫 페이지로 가는데 이때는 또 에어가 나더라구요.
인크루드 해오는 파일에서 첫페이지는 ../파일명 인데. 회원가입 경로는 ../../ 이런식으로 두가지가 틀리네요.

이는 어찌 해야 할까요 ㅜㅜ??
include_once("$g4[path]/tail.sub.php"); 는 꼭 넣으셔야 합니다.
보기에는 잘 되는 것 같지만 아이디, 별명 등의 중복 확인 등이 안될 수 있습니다.
저도 그것 때문에 고생한 적이 있어서... ^^
감사합니다. ^^
말씀데로 다시 첨부했어요 ^^
같은 폴더에 집어 넣으니까 해결되는군요 ^^
PhotoFly 정말 감사합니다. ^^
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
18년 전 조회 1,432
18년 전 조회 1,693
18년 전 조회 1,870
18년 전 조회 1,539
18년 전 조회 1,272
18년 전 조회 1,611
18년 전 조회 1,514
18년 전 조회 1,511
18년 전 조회 1,510
18년 전 조회 1,773
18년 전 조회 1,518
18년 전 조회 1,521
18년 전 조회 1,526
18년 전 조회 1,950
18년 전 조회 1,348
18년 전 조회 2,211
18년 전 조회 1,688
18년 전 조회 2,198
18년 전 조회 1,786
18년 전 조회 1,627
🐛 버그신고