테스트 사이트 - 개발 중인 베타 버전입니다

무슨문제인지..

· 15년 전 · 727 · 2
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

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");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>W-RN: Web - Rain Neo Ver 9</title>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<meta name="generator" content="W-RN">
<link rel="StyleSheet" href="./css/main.css" type="text/css"  media="screen">
</head>
<body>
<div id="hh">
<img src="http://www.w-rn.com/rain/title.png">
</div>
<div id="ww">
<div id="mm">
<p align="right">
        <table border="0" cellspacing="0" cellpadding="0" align="right">
        <tr>
            <!-- 처음으로 버튼 -->
            <td width="78"><a href="<?=$g4['path']?>/">HOME</a></td>

            <? if (!$member['mb_id']) { ?>
            <!-- 로그인 이전 -->
            <td width="78"><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>">로그인</a></td>
            <td width="78"><a href="<?=$g4['bbs_path']?>/register.php">회원가입</a></td>
            <? } else { ?>
            <!-- 로그인 이후 -->
            <td width="78"><a href="<?=$g4['bbs_path']?>/logout.php">로그아웃</a></td>
            <td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">정보수정</a></td>
            <? } ?>
            
            <!-- 최근게시물 버튼 -->
            <td width="78"><a href="<?=$g4['bbs_path']?>/new.php">최근게시물</a></td>

        </tr>
        </table>
</p>
<br>
<center>
<!-- 정보-->
<table id="Table_01" width="800" height="190" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <img src="http://www.w-rn.com/rain/info.png" width="330" height="190" alt=""></td>
        <td>
            <a href="http://www.w-rn.com">
                <img src="http://www.w-rn.com/rain/logo.png" width="152" height="190" border="0" alt=""></a></td>
        <td>
            <img src="http://www.w-rn.com/rain/admin.png" width="318" height="190" alt=""></td>
    </tr>
</table>
<!-- 정보-->
<br>
<!-- 메인메뉴 -->
<table id="Table_02" width="698" height="79" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <img src="http://www.w-rn.com/rain/L_1.png" width="11" height="52" alt=""></td>
        <td>
            <a href="http://www.w-rn.com/">
                <img src="http://www.w-rn.com/rain/home.png" width="103" height="52" border="0" alt=""></a></td>
        <td>
            <a href="http://www.w-rn.com/community.php">
                <img src="http://www.w-rn.com/rain/community.png" width="143" height="52" border="0" alt=""></a></td>
        <td colspan="2">
            <a href="http://www.w-rn.com/products.php">
                <img src="http://www.w-rn.com/rain/products.png" width="99" height="52" border="0" alt=""></a></td>
        <td colspan="2">
            <a href="http://www.w-rn.com/service.php">
                <img src="http://www.w-rn.com/rain/service.png" width="96" height="52" border="0" alt=""></a></td>
        <td>
            <a href="#">
                <img src="http://www.w-rn.com/rain/document.png" width="139" height="52" border="0" alt=""></a></td>
        <td>
            <a href="http://www.w-rn.com/center.php">
                <img src="http://www.w-rn.com/rain/center.png" width="91" height="52" border="0" alt=""></a></td>
        <td>
            <img src="http://www.w-rn.com/rain/R_1.png" width="16" height="52" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="11" height="1" alt=""></td>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="103" height="1" alt=""></td>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="143" height="1" alt=""></td>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="29" height="1" alt=""></td>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="70" height="1" alt=""></td>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="82" height="1" alt=""></td>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="14" height="1" alt=""></td>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="139" height="1" alt=""></td>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="91" height="1" alt=""></td>
        <td>
            <img src="http://www.w-rn.com/rain/spacer.gif" width="16" height="1" alt=""></td>
    </tr>
</table>
<!-- 메인메뉴 -->
</center>
</div>
<div id="extra">
<?=outlogin("w-rn"); // 외부 로그인 ?><br>
<p>W-RN</p>
<p>
<a href="http://www.w-rn.com/bbs/board.php?bo_table=notice">공지사항</a><br>
<a href="http://www.w-rn.com/bbs/board.php?bo_table=event">이벤트</a><br>
</p>
</div>
<div id="navigation">
<p>
 네임서버
<br>
<font size="8">
ns.w-rn.com <br>
ns2.w-rn.com<br>
IP:114.108.129.142<br>
</font>
</div>
<div id="cc">
<p>w-rn방문을 환영합니다.</p>
<br>
<object name="allblet" id="allblet_player_5e769326781fed90f57b22cbfc31333a" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="470" height="70">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="true" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="movie" value="http://showman.allblet.net/abp.swf" />
<param name="FlashVars" value="aid=114404&type=9" />
<embed src="http://showman.allblet.net/abp.swf" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" flashvars="aid=114404&type=9" width="470" height="70" />
</object>
<?
include_once("./tail.php");
?>

이렇게 구성해서..

적용하면.. 사이트에서 아무것도 안뜨고...
맨위 g4 헤더 소스삭제하면...
이미지만뜨고..
CSS자체가 안뜨네요..
작업시간많이 들였는데..
빠른해결했으면합니다.
링크 참고하세요.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 2개

기본설치로 보면
===================================
<!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>::: 그누보드연습#01 :::</title>
<link rel="stylesheet" href="./style.css" type="text/css">
</head>
<script language="javascript">
// 자바스크립트에서 사용하는 전역변수 선언
var g4_path = ".";
var g4_bbs = "bbs";
var g4_bbs_img = "img";
var g4_url = "http://localhost";
var g4_is_member = "";
var g4_is_admin = "";
var g4_bo_table = "";
var g4_sca = "";
var g4_charset = "euc-kr";
var g4_cookie_domain = "";
var g4_is_gecko = navigator.userAgent.toLowerCase().indexOf("gecko") != -1;
var g4_is_ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
</script>
<script type="text/javascript" src="./js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="./js/common.js"></script>
<body topmargin="0" leftmargin="0" >
<a name="g4_head"></a>


<!-- 상단 배경 시작 -->
<table width="1004" cellspacing="0" cellpadding="0">
<tr>
<td background="./img/top_img_bg.gif">
<table width="100%" height="52" cellspacing="0" cellpadding="0">
<tr>
<td><img src="./img/top_img.gif" width="100%" height="52"></td>
</tr>
</table></td>
</tr>
</table>
<!-- 상단 배경 끝 -->
.
.
.
.
==============================

이런식입니다.
아마도
head.sub.php
head.php
불러오는 방법/경로 문제인듯합니다.
g4 path 가 선언 되지도 않았는데

$g4[path] 함수를 쓰셨네요 ^^

게시글 목록

번호 제목
7104
7102
5000
4999
4991
4989
4985
7099
11179
레이아웃 습작 1
4979
4974
11178
4972
7094
4960
11169
11165
11164
11163
11162
4948
6002
7090
4941
7087
7082
7079
7076
11136
11158
11135
4937
4931
4930
4928
4925
4914
7074
7072
4913
4912
4906
4902
4897
4895
4889
4888
4887
4886
4882
4880
4876
4873
4872
4863
4862
4857
4852
5998
11256
4849
4837
4825
4820
4815
4814
4807
4796
7070
7068
4789
4778
4772
4769
4758
4755
4751
4743
7063
7061
4741
4740
4735
4732
4721
4718
7059
4715
4710
4709
4707
4699
11254
4691
4688
11133
11127
4682
7057
4678