head.php 수정했는데요 ㅠㅠ

head.php 수정했는데요 ㅠㅠ

QA

head.php 수정했는데요 ㅠㅠ

본문

 
아무것도 모르는 초보입니다 ㅠㅠ
 
head.php 수정을 했습니다.
 
그런데... 게시판 들어간 페이지만 x 가 뜹니다 ㅠㅠ 어떻게 해야하죠 ㅠㅠ??
 
답변 부탁합니다 ㅠㅠ

이 질문에 댓글 쓰기 :

답변 6

헤더 소스를 올려 주셔야 답변이 가능할듯 하네요

답변부탁드립니다 ㅠㅠ

 
 
 
 
<?
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");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 1004;
?>
<!-- 상단 배경 시작 -->
 

<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="../../../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../../../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style5 {
 font-size: 12px;
 font-weight: bold;
}
.style7 {
 font-size: 11px;
 font-weight: bold;
}
-->
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"><table width="1024" border="0">
  <tr>
    <td width="1018"><table width="100%" border="0" align="center">
      <tr>
        <td width="20%" height="84" align="left" valign="bottom"><img src="images/search.gif" width="185" height="29" /></td>
        <td width="29%" align="right"><img src="../images/baby_07.gif" alt="" width="153" height="23" align="middle" /></td>
        <td width="20%" valign="middle"><a href="../index.php" target="_self"><img src="../images/logo.gif" alt="" width="199" height="65" border="0"/></a></td>
        <td width="31%" align="right" valign="bottom"><table width="100%" border="0">
          <tr>
            <td align="right" valign="top"><img src="images/homiz.jpg" width="135" height="17" border="0" usemap="#Map" />
                <map name="Map" id="Map">
                    <area shape="rect" coords="83,-1,132,15" href="javascript:window.external.AddFavorite('http://', 'aa)" />
                    <area shape="rect" coords="-4,1,36,17" href=http://www />
                    <area shape="rect" coords="44,1,78,15" href="../menua.html" />
                              </map></td>
          </tr>
          <tr>
            <td align="right" valign="top"><p>&nbsp;</p>
              <p>&nbsp;</p></td>
          </tr>
         
        </table></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td height="32" align="right" valign="top"><table width="100%" border="0">
      <tr>
                <li><a href="#" class="MenuBarItemSubmenu style5"></a>
            <ul>
              <li><a href="../menug.html" class="style5">신</a></li>
              <li><a href="../menugg.html" class="style5">이</a></li>
            </ul>
            </li>
          <li><a href="#" class="MenuBarItemSubmenu style5">고</a>
            <ul>
              <li><a href="../bbs/board.php?bo_table=reser" class="style5">자</a></li>
              <li><a href="../bbs/board.php?bo_table=after" class="style5">이</a></li>
              <li><a href="../bbs/board.php?bo_table=gall" class="style5">가</a></li>
            </ul>
            </li>
          <li><a href="#" class="MenuBarItemSubmenu style5">아</a>
            <ul>
              <li><a href="../menui.html" class="style7">사</a></li>
              <li><a href="../bbs/board.php?bo_table=hop" class="style5">마</a></li>
              <li><a href="../bbs/board.php?bo_table=right" class="style7">바</a></li>
            </ul>
            </li>
        </ul>        </td>
      </tr>
</table></td>
</tr>
</table></td>
  </tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../../../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../../../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
  </script>

../../../

이런식으로 경로 사용하지 마시구요
<?=$g4_path?>를 사용을 한번 해보세요.
아하 검색 버튼이 엑스박스네요

이렇게 위치가 되어 있으니까 그렇겠지요

<td width="20%" height="84" align="left" valign="bottom"><img src="images/search.gif" width="185" height="29" /></td> 
중에
<img src="images/search.gif" width="185" height="29" />
현재 부분을 
<img src="<?=$g4[path]?>/images/search.gif" width="185" height="29" />
이런식으로 사용해보세요.
그누보드가 설치 된곳에서 images폴더가 있다면 말이지요.
<?=$g4_path?>/aa.html
이런식으로 하시던가?
아님 절대경로를 사용하세요...
이렇게 ..
답변을 작성하시기 전에 로그인 해주세요.
전체 123,799 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT