head 수정 후, 게시글의 링크가 이상해졌어요~ > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

head 수정 후, 게시글의 링크가 이상해졌어요~ 정보

head 수정 후, 게시글의 링크가 이상해졌어요~

본문

그누보드 예전 버전 사용하는 홈페이지입니다.
디자인때문에 head.php파일을 수정했는데요,
게시판의 글을 보려고 목록의 제목을 클릭하니.
주소가 잘못되어 링크가 오류나서요,

무엇이 잘못되었는지 모르겠습니다.
도와주세요~

ex)질문과 답변 게시판에서 글 제목을 클릭하면
http://www.toprint.co.kr/gnuboard/bbs/board.php?bo_table=qa&wr_id=1070
가야하는데,

http://www.toprint.co.kr/gnuboard/bbs/gnuboard/bbs/board.php?bo_table=qa&wr_id=1070로
가서 없는 페이지로 나옵니다.

/gnuboard/bbs/ 가 중복되어 주소에 걸리는데 어떤걸 고쳐야 할런지요~
도와주세요~

head.php 파일은 아래와 같습니다.

<?
#로그1차스크립트
include $_SERVER['DOCUMENT_ROOT'].'/LOGSCRIPT/logscript.php';
?>
<?
#로그3차스크립트
//include $_SERVER['DOCUMENT_ROOT'].'/LOGSCRIPT/log3rdscript.php';
?>
<?
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 = 1024;
?>
<style>
body {
margin-left:0;
margin-top:0;
}
</style>

<center>
<!-- 상단 로고 및 버튼 시작 -->
<table width="1024" height="82" cellpadding="0" cellspacing="0">
<tr>
   
    <!-- 로고 -->
    <td width="1024"><table width="1024" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="236"><map name="Map1" id="Map1">
          <area shape="rect" coords="4,3,232,78" href="http://www.toprint.co.kr/index.php" onfocus="this.blur()"/>
        </map>
          <img src="http://www.toprint.co.kr/re_image/main/MAIN_01.jpg" alt="" width="236" height="82" border="0" usemap="#Map1Map" />
          <map name="Map1Map" id="Map1Map">
            <area shape="rect" coords="4,3,232,78" href="/index.php" onfocus="this.blur()"/>
          </map></td>
        <td width="788"><table width="788" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="218"><img src="http://www.toprint.co.kr/re_image/main/MAIN_02.jpg" alt="2" width="218" height="43" /></td>
            <td width="570" align="right"><?
// 상단 로그인 박스 시작 -->
include_once("/home/human_h59/toprint.co.kr/html/gnuboard/_common2.php");
$g4['title'] = "";
include_once("/home/human_h59/toprint.co.kr/html/gnuboard/head_re.php");
// 상단 로그인 박스 끝 <--
?>
            </td>
          </tr>
          <tr>
            <td colspan="2"><img src="http://www.toprint.co.kr/re_image/main/MAIN_04.jpg" alt="3" width="788" height="39" border="0" usemap="#Map2" /></td>
          </tr>
        </table>
          <map name="Map2" id="Map2">
            <area shape="rect" coords="667,2,782,33" href="http://www.toprint.co.kr" onclick="window.external.AddFavorite('http://www.toprint.co.kr', '상업인쇄도매몰')" onfocus="this.blur()"/>
            <area shape="rect" coords="542,3,657,34" href="http://www.toprint.co.kr/line.php" onfocus="this.blur()"/>
            <area shape="rect" coords="407,3,522,34" href="http://www.toprint.co.kr/gnuboard/bbs/write.php?bo_table=estimate" onfocus="this.blur()"/>
            <area shape="rect" coords="270,3,385,34" href="http://www.toprint.co.kr/gnuboard/bbs/board.php?bo_table=qa" onfocus="this.blur()"/>
            <area shape="rect" coords="134,3,249,34" href="http://www.toprint.co.kr/gnuboard/bbs/board.php?bo_table=port_cata" onfocus="this.blur()"/>
            <area shape="rect" coords="5,3,120,34" href="/brief.php" onfocus="this.blur()"/>
          </map></td>
      </tr>
    </table>    </td>
</tr>
</table>
<!-- 상단 로고 및 버튼 끝 -->

<!-- 검색 시작 -->

<script type="text/javascript">
function fsearchbox_submit(f)
{
    if (f.stx.value.length < 2) {
        alert("검색어는 두글자 이상 입력하십시오.");
        f.stx.select();
        f.stx.focus();
        return false;
    }

    // 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
    var cnt = 0;
    for (var i=0; i<f.stx.value.length; i++) {
        if (f.stx.value.charAt(i) == ' ')
            cnt++;
    }

    if (cnt > 1) {
        alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
        f.stx.select();
        f.stx.focus();
        return false;
    }

    f.action = "<?=$g4['bbs_path']?>/search.php";
    return true;
}
</script>
<!-- 검색 끝 -->
<table width="1024" cellpadding=0 cellspacing=0 border=0>
<tr>
<td width="239" valign="top"><table width="239" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="239"><img src="http://www.toprint.co.kr/re_image/main/MAIN_05_1.jpg" alt="" width="236" height="497" border="0" usemap="#Map3" />
          <map name="Map3" id="Map3">
            <area shape="rect" coords="8,463,76,483" href="/diary.php" onfocus="this.blur()" />
            <area shape="rect" coords="87,463,155,483" href="/cal.php" onfocus="this.blur()" />
            <area shape="rect" coords="159,463,214,483" href="/pho3.php" onfocus="this.blur()" />
            <area shape="rect" coords="120,413,213,433" href="/web2.php" onfocus="this.blur()" />
            <area shape="rect" coords="8,413,104,433" href="/web1.php" onfocus="this.blur()" />
            <area shape="rect" coords="159,362,214,382" href="/pho3.php" onfocus="this.blur()" />
            <area shape="rect" coords="85,362,153,382" href="/pho2.php" onfocus="this.blur()" />
            <area shape="rect" coords="8,362,76,382" href="/pho1.php" onfocus="this.blur()" />
            <area shape="rect" coords="8,311,76,331" href="/ba1.php" onfocus="this.blur()" />
            <area shape="rect" coords="85,311,153,331" href="/ba2.php" onfocus="this.blur()" />
            <area shape="rect" coords="159,311,214,331" href="/ba3.php" onfocus="this.blur()" />
            <area shape="rect" coords="85,260,153,280" href="/en2.php" onfocus="this.blur()" />
            <area shape="rect" coords="8,260,76,280" href="/en1.php" onfocus="this.blur()" />
            <area shape="rect" coords="159,208,214,228" href="/poster.php" onfocus="this.blur()" />
            <area shape="rect" coords="85,208,153,228" href="/ad2.php" onfocus="this.blur()" />
            <area shape="rect" coords="8,208,76,228" href="/ad1.php" onfocus="this.blur()" />
            <area shape="rect" coords="8,135,76,155" href="/name1.php" onfocus="this.blur()" />
            <area shape="rect" coords="85,135,169,155" href="/name2.php" onfocus="this.blur()" />
            <area shape="rect" coords="159,156,214,176" href="/coupon.php" onfocus="this.blur()" />
            <area shape="rect" coords="85,156,153,176" href="/gift.php" onfocus="this.blur()" />
            <area shape="rect" coords="8,156,76,176" href="/name3.php" onfocus="this.blur()" />
            <area shape="rect" coords="159,83,214,102" href="/menu.php" onfocus="this.blur()" />
            <area shape="rect" coords="85,83,153,102" href="/bind.php" onfocus="this.blur()" />
            <area shape="rect" coords="8,83,76,102" href="/lea.php" onfocus="this.blur()" />
            <area shape="rect" coords="159,63,214,82" href="/pam.php" onfocus="this.blur()" />
            <area shape="rect" coords="85,63,153,82" href="/brochure.php" onfocus="this.blur()" />
            <area shape="rect" coords="8,63,76,82" href="/cata.php" onfocus="this.blur()" />
          </map></td>
      </tr>
      <tr>
        <td align="left" valign="top"><table width="236" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="236"><img src="http://www.toprint.co.kr/re_image/main/MAIN_08.jpg" alt="4" width="236" height="227" border="0" usemap="#Map5" /></td>
          </tr>
          <tr>
            <td><table width="236" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td colspan="2"><img src="http://www.toprint.co.kr/re_image/main/MAIN_11.jpg" alt="5" width="236" height="35" border="0" usemap="#Map6" /></td>
                </tr>
                <tr>
                  <td width="13" rowspan="2"><img src="http://www.toprint.co.kr/re_image/main/MAIN_12.jpg" alt="6" width="13" height="94" /></td>
                  <td width="223" height="79"><?php
//g4 패스 수정
$g4[bbs_path] = "./gnuboard/bbs";
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", "notice", 4, 45);
?></td>
                </tr>
                <tr>
                  <td><img src="http://www.toprint.co.kr/re_image/main/MAIN_14.jpg" alt="7" width="223" height="15" /></td>
                </tr>
            </table></td>
          </tr>
        </table>
          <map name="Map5" id="Map5">
            <area shape="rect" coords="5,98,223,220" href="http://dscomm.webhard.co.kr" target="_blank" onfocus="this.blur()"/>
            <area shape="rect" coords="5,4,226,93" href="/re/contact.php" onfocus="this.blur()"/>
          </map>
          <map name="Map6" id="Map6">
            <area shape="rect" coords="4,4,227,32" href="/gnuboard/bbs/board.php?bo_table=notice" onfocus="this.blur()"/>
          </map></td>
      </tr>
      <tr>
        <td align="left" valign="top"><img src="http://www.toprint.co.kr/re_image/main/MAIN_15.jpg" alt="" width="236" height="73" /></td>
      </tr>
     
     
    </table>
  </td>
<!-- 중간 -->
    <td width=788 align="center" valign="top">


*상단 맨 첫부분의 "로그"관련 파일은 부정클릭 방지용 프로그램 파일입니다.

댓글 전체

전체 10 |RSS
그누4 질문답변 내용 검색

회원로그인

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