s

무슨문제인지..

<?
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] 함수를 쓰셨네요 ^^
댓글을 작성하시려면 로그인이 필요합니다.

디자인

+
제목 글쓴이 날짜 조회
15년 전 조회 1,088
15년 전 조회 1,450
15년 전 조회 1,025
15년 전 조회 971
15년 전 조회 3,246
15년 전 조회 1,057
15년 전 조회 1,023
15년 전 조회 1,001
15년 전 조회 1,061
15년 전 조회 1,426
15년 전 조회 972
15년 전 조회 748
15년 전 조회 1,306
15년 전 조회 3,175
15년 전 조회 3,354
15년 전 조회 3,465
15년 전 조회 1,911
15년 전 조회 2,077
15년 전 조회 828
15년 전 조회 1,426
15년 전 조회 869
15년 전 조회 1,554
15년 전 조회 1,410
15년 전 조회 935
15년 전 조회 1,416
15년 전 조회 979
15년 전 조회 1,673
15년 전 조회 1,025
15년 전 조회 1,228
15년 전 조회 1,847
15년 전 조회 1,243
15년 전 조회 1,024
15년 전 조회 3,983
15년 전 조회 990
15년 전 조회 947
15년 전 조회 1,098
15년 전 조회 923
15년 전 조회 927
15년 전 조회 799
15년 전 조회 2,073
15년 전 조회 966
15년 전 조회 926
15년 전 조회 1,782
15년 전 조회 1,071
15년 전 조회 948
15년 전 조회 806
15년 전 조회 1,163
15년 전 조회 857
15년 전 조회 789
15년 전 조회 847
15년 전 조회 905
15년 전 조회 1,054
15년 전 조회 1,257
15년 전 조회 1,093
15년 전 조회 2,779
15년 전 조회 913
15년 전 조회 1,002
15년 전 조회 1,041
15년 전 조회 1,084
15년 전 조회 1,018
15년 전 조회 1,290
15년 전 조회 934
15년 전 조회 1,222
15년 전 조회 1,395
15년 전 조회 1,028
15년 전 조회 4,677
15년 전 조회 1,161
15년 전 조회 1,138
15년 전 조회 5,304
15년 전 조회 1,341
15년 전 조회 2,079
15년 전 조회 1,461
15년 전 조회 1,181
15년 전 조회 1,017
15년 전 조회 2,753
15년 전 조회 1,162
15년 전 조회 1,253
15년 전 조회 1,130
15년 전 조회 946
15년 전 조회 873
15년 전 조회 1,141
15년 전 조회 1,544
15년 전 조회 951
15년 전 조회 884
15년 전 조회 975
15년 전 조회 869
15년 전 조회 3,368
15년 전 조회 2,442
15년 전 조회 2,686
15년 전 조회 3,596
15년 전 조회 2,926
15년 전 조회 2,512
15년 전 조회 4,714
15년 전 조회 3,641
15년 전 조회 3,188
15년 전 조회 3,871
15년 전 조회 3,414
15년 전 조회 3,381
15년 전 조회 3,543
15년 전 조회 3,147