s

무슨문제인지..

· 2010-10-03 (일) 11:10:28 · 1060 · 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,660
10-10-21 조회 1,207
10-10-21 조회 1,162
10-10-20 조회 3,425
10-10-20 조회 1,255
10-10-19 조회 1,226
10-10-18 조회 1,201
10-10-18 조회 1,264
10-10-18 조회 1,616
10-10-17 조회 1,174
10-10-17 조회 966
10-10-17 조회 1,521
10-10-16 조회 3,390
10-10-16 조회 3,568
10-10-16 조회 3,660
10-10-16 조회 2,116
10-10-16 조회 2,276
10-10-16 조회 1,032
10-10-15 조회 1,629
10-10-15 조회 1,071
10-10-12 조회 1,771
10-10-11 조회 1,606
10-10-11 조회 1,135
10-10-10 조회 1,622
10-10-09 조회 1,169
10-10-09 조회 1,876
10-10-08 조회 1,225
10-10-08 조회 1,424
10-10-08 조회 2,068
10-10-07 조회 1,449
10-10-07 조회 1,217
10-10-07 조회 4,180
10-10-06 조회 1,184
10-10-06 조회 1,146
10-10-05 조회 1,301
10-10-05 조회 1,131
10-10-05 조회 1,121
10-10-05 조회 1,003
10-10-05 조회 2,261
10-10-05 조회 1,162
10-10-04 조회 1,125
10-10-04 조회 1,981
10-10-04 조회 1,282
10-10-04 조회 1,140
10-10-04 조회 996
10-10-04 조회 1,349
10-10-03 조회 1,046
10-10-03 조회 981
10-10-03 조회 1,061
10-10-02 조회 1,088
10-10-02 조회 1,251
10-09-30 조회 1,439
10-09-30 조회 1,292
10-09-30 조회 3,127
10-09-29 조회 1,103
10-09-29 조회 1,186
10-09-29 조회 1,231
10-09-28 조회 1,282
10-09-28 조회 1,229
10-09-28 조회 1,469
10-09-28 조회 1,132
10-09-27 조회 1,420
10-09-26 조회 1,586
10-09-25 조회 1,229
10-09-25 조회 4,885
10-09-25 조회 1,359
10-09-25 조회 1,334
10-09-24 조회 5,522
10-09-24 조회 1,544
10-09-24 조회 2,290
10-09-22 조회 1,664
10-09-20 조회 1,377
10-09-20 조회 1,216
10-09-19 조회 2,959
10-09-18 조회 1,360
10-09-17 조회 1,444
10-09-17 조회 1,320
10-09-16 조회 1,129
10-09-16 조회 1,069
10-09-16 조회 1,323
10-09-16 조회 1,721
10-09-16 조회 1,140
10-09-16 조회 1,072
10-09-16 조회 1,161
10-09-16 조회 1,050
10-09-16 조회 3,565
10-09-16 조회 2,625
10-09-16 조회 2,870
10-09-16 조회 3,791
10-09-09 조회 3,119
10-09-09 조회 2,709
10-09-09 조회 4,902
10-09-09 조회 3,845
10-09-09 조회 3,388
10-09-08 조회 4,088
10-09-08 조회 3,631
10-09-08 조회 3,588
10-09-08 조회 3,747
10-09-03 조회 3,349
10-09-03 조회 1,651