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

무슨문제인지..

· 15년 전 · 721 · 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] 함수를 쓰셨네요 ^^

게시글 목록

번호 제목
10407
10406
10395
10392
7022
10389
10386
3939
7021
10384
10379
3931
7019
7016
7014
7010
5991
7007
7003
7000
6998
11233
6995
3930
3928
3918
10365
10361
3909
3906
6994
3900
10357
3893
10326
3888
3884
3877
3874
3868
10307
3863
3861
3847
10304
3842
3839
3832
6991
3831
10302
10281
10279
6988
3815
10274
3787
3771
3765
3751
3747
3742
3734
10269
3721
3711
3702
3681
3678
3668
10263
10164
3661
3652
3642
3638
3625
3601
3583
3575
10162
3569
3559
3556
3548
3542
10160
10153
3539
3534
3519
3515
3510
3500
3485
6985
11230
3304
11220
9043