링크를 걸어도 연결한 페이지로 이동을 안합니다 ㅠㅠ

링크를 걸어도 연결한 페이지로 이동을 안합니다 ㅠㅠ

QA

링크를 걸어도 연결한 페이지로 이동을 안합니다 ㅠㅠ

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :

안녕하세요~!

영어 페이지가 있고, 한글페이지로 연결하려고 하면 다시 그 영어페이지로 연결됩니다.

메인 화면은 잘 연결이 되는데 서브페이지를 선택하면 다시 영어 페이지로 변경이됩니다.
ㅠㅠ 어디서 오류인지 모르겠습니다.

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center">
<table cellpadding="0" cellspacing="0" border="0" width="950">
<tr>
<td><a href="<?=$g4['path']?>"><img src="<?=$g4['path']?>/image/logo.png" border="0"></td></td>
                       
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
                       
<td><a href="<?=$g4['path']?>"><img src="<?=$g4['path']?>/image/mm_1_<?if($_SERVER['REQUEST_URI'] == "/") echo "on"; else echo "off"?>.jpg" border="0"></a></td>
                       
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
                       
<td><a href="<?=$g4['path']?></?Page=p01c01_eng"><img src="<?=$g4['path']?>/image/mm_2_<?if($_SERVER['REQUEST_URI'] == "/?Page=p01c01") echo "on"; else echo "off"?>.jpg" border="0"></a></td>
                       
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
                       
<td><a href="<?=$g4['path']?>/?Page=p02c01_eng"><img src="<?=$g4['path']?>/image/mm_3_<?if($_SERVER['REQUEST_URI'] == "/?Page=p02c01" || $_SERVER['REQUEST_URI'] == "/?Page=p02c02" || $_SERVER['REQUEST_URI'] == "/?Page=p02c03" || $_SERVER['REQUEST_URI'] == "/?Page=p02c04" || $_SERVER['REQUEST_URI'] == "/?Page=p02c05" || $_SERVER['REQUEST_URI'] == "/?Page=p02c06") echo "on"; else echo "off"?>.jpg" border="0"></a></td>
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
                       
<td><a href="<?=$g4['path']?>/?Page=p03c01_eng"><img src="<?=$g4['path']?>/image/mm_4_<?if($_SERVER['REQUEST_URI'] == "/?Page=p03c01") echo "on"; else echo "off"?>.jpg" border="0"></a></td>
                       
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
                       
<td><a href="<?=$g4['path']?>/?Page=p04c01_eng"><img src="<?=$g4['path']?>/image/mm_5_<?if($_SERVER['REQUEST_URI'] == "/?Page=p04c01") echo "on"; else echo "off"?>.png" border="0"></a></td>
</tr>
<tr>
<td colspan="11"><img src="<?=$g4['path']?>/image/top_bg_bar.png"></td>
</tr>
</table>
</td>
</tr>
</table>

어디에서 잘못된건가요? ㅠㅠ 너무 어렵습니다.
도와주세요 ㅠㅠ!

이 질문에 댓글 쓰기 :

답변 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");
include_once("$g4[path]/lib/latest.lib.php");

//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>

<body background="<?=$g4['path']?>/image/bg.png">


<table cellpadding="0" cellspacing="0" border="0" width="100%" height="92" background="<?=$g4['path']?>/image/bg_top.gif">
<tr><td></td></tr></table>

<table cellpadding="0" cellspacing="0" border="0" height="75"><tr><td></td></tr></table>

<table cellpadding="0" cellspacing="0" border="0" width="100%" height="0" bgcolor="#ffffff"></table>


<div style='position:absolute; left:0px; top:48px; width:100%; z-index:1;'>

<table style="width:200; margin-left:1230;">

<!--<caption>테이블</caption>-->

<thead style="font-size:15px; font-family:Arial, Helvetica, sans-serif;">

  <tr align="right">

    <th width="66"><img src="image/us.jpg" width="19" height="11" alt="us" /><a href="index.php" style="text-decoration:none; color:#333;">&nbsp;US</a></th>
    <th width="67"><img src="image/kr.jpg" width="19" height="10" alt="kr" /><a href="index_kor.php" style="text-decoration:none; color:#333;">&nbsp;KR</a></th>
    <th width="66"><img src="image/ru.jpg" width="17" height="10" alt="ru" /><a href="#" style="text-decoration:none; color:#333;">&nbsp;RU</a></th>

  </tr>


</thead>

</table>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center">
<table cellpadding="0" cellspacing="0" border="0" width="950">
<tr>
<td><a href="<?=$g4['path']?>"><img src="<?=$g4['path']?>/image/logo.png" border="0"></td></td>
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
<td><a href="<?=$g4['path']?>"><img src="<?=$g4['path']?>/image/mm_1_<?if($_SERVER['REQUEST_URI'] == "/") echo "on"; else echo "off"?>.jpg" border="0"></a></td>
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
<td><a href="<?=$g4['path']?>/?Page=p01c01"><img src="<?=$g4['path']?>/image/mm_2_<?if($_SERVER['REQUEST_URI'] == "/?Page=p01c01") echo "on"; else echo "off"?>.jpg" border="0"></a></td>
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
<td><a href="<?=$g4['path']?>/?Page=p02c01"><img src="<?=$g4['path']?>/image/mm_3_<?if($_SERVER['REQUEST_URI'] == "/?Page=p02c01" || $_SERVER['REQUEST_URI'] == "/?Page=p02c02" || $_SERVER['REQUEST_URI'] == "/?Page=p02c03" || $_SERVER['REQUEST_URI'] == "/?Page=p02c04" || $_SERVER['REQUEST_URI'] == "/?Page=p02c05" || $_SERVER['REQUEST_URI'] == "/?Page=p02c06") echo "on"; else echo "off"?>.jpg" border="0"></a></td>
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
<td><a href="<?=$g4['path']?>/?Page=p03c01"><img src="<?=$g4['path']?>/image/mm_4_<?if($_SERVER['REQUEST_URI'] == "/?Page=p03c01") echo "on"; else echo "off"?>.jpg" border="0"></a></td>
<td><img src="<?=$g4['path']?>/image/mm_bar.jpg"></td>
<td><a href="<?=$g4['path']?>/?Page=p04c01"><img src="<?=$g4['path']?>/image/mm_5_<?if($_SERVER['REQUEST_URI'] == "/?Page=p04c01") echo "on"; else echo "off"?>.png" border="0"></a></td>
</tr>
<tr>
<td colspan="11"><img src="<?=$g4['path']?>/image/top_bg_bar.png"></td>
</tr>
</table>
</td>
</tr>
</table>
</div>

이것입니다 ㅠㅠ

가운데 오타가 있네요..
<a href="<?=$g4['path']?></?Page=p01c01_eng"> 를

<a href="<?=$g4['path']?>/?Page=p01c01_eng">로 수정...
답변을 작성하시기 전에 로그인 해주세요.
전체 6
QA 내용 검색

회원로그인

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