s

무슨문제인지..

· 2010-10-03 (일) 11:10:28 · 1044 · 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] 함수를 쓰셨네요 ^^
댓글을 작성하시려면 로그인이 필요합니다.

디자인

1,855건
+
제목 글쓴이 날짜 조회
10-10-22 조회 1,645
10-10-21 조회 1,198
10-10-21 조회 1,152
10-10-20 조회 3,415
10-10-20 조회 1,246
10-10-19 조회 1,214
10-10-18 조회 1,190
10-10-18 조회 1,253
10-10-18 조회 1,607
10-10-17 조회 1,168
10-10-17 조회 956
10-10-17 조회 1,507
10-10-16 조회 3,373
10-10-16 조회 3,555
10-10-16 조회 3,649
10-10-16 조회 2,102
10-10-16 조회 2,263
10-10-16 조회 1,022
10-10-15 조회 1,618
10-10-15 조회 1,061
10-10-12 조회 1,762
10-10-11 조회 1,597
10-10-11 조회 1,122
10-10-10 조회 1,607
10-10-09 조회 1,158
10-10-09 조회 1,864
10-10-08 조회 1,213
10-10-08 조회 1,411
10-10-08 조회 2,059
10-10-07 조회 1,434
10-10-07 조회 1,206
10-10-07 조회 4,173
10-10-06 조회 1,175
10-10-06 조회 1,137
10-10-05 조회 1,288
10-10-05 조회 1,117
10-10-05 조회 1,112
10-10-05 조회 992
10-10-05 조회 2,251
10-10-05 조회 1,153
10-10-04 조회 1,115
10-10-04 조회 1,976
10-10-04 조회 1,271
10-10-04 조회 1,132
10-10-04 조회 989
10-10-04 조회 1,340
10-10-03 조회 1,036
10-10-03 조회 971
10-10-03 조회 1,045
10-10-02 조회 1,078
10-10-02 조회 1,243
10-09-30 조회 1,428
10-09-30 조회 1,281
10-09-30 조회 3,109
10-09-29 조회 1,093
10-09-29 조회 1,173
10-09-29 조회 1,221
10-09-28 조회 1,271
10-09-28 조회 1,217
10-09-28 조회 1,464
10-09-28 조회 1,121
10-09-27 조회 1,409
10-09-26 조회 1,578
10-09-25 조회 1,215
10-09-25 조회 4,869
10-09-25 조회 1,348
10-09-25 조회 1,323
10-09-24 조회 5,506
10-09-24 조회 1,532
10-09-24 조회 2,271
10-09-22 조회 1,650
10-09-20 조회 1,361
10-09-20 조회 1,207
10-09-19 조회 2,944
10-09-18 조회 1,349
10-09-17 조회 1,431
10-09-17 조회 1,309
10-09-16 조회 1,114
10-09-16 조회 1,055
10-09-16 조회 1,310
10-09-16 조회 1,711
10-09-16 조회 1,129
10-09-16 조회 1,061
10-09-16 조회 1,150
10-09-16 조회 1,037
10-09-16 조회 3,555
10-09-16 조회 2,613
10-09-16 조회 2,860
10-09-16 조회 3,780
10-09-09 조회 3,108
10-09-09 조회 2,696
10-09-09 조회 4,886
10-09-09 조회 3,830
10-09-09 조회 3,380
10-09-08 조회 4,073
10-09-08 조회 3,614
10-09-08 조회 3,575
10-09-08 조회 3,726
10-09-03 조회 3,335
10-09-03 조회 1,634