페이지가 풀리는 현상 정보
페이지가 풀리는 현상관련링크
http://gasi.na.mu
92회 연결
본문
링크사이트 보시면 커뮤니티메뉴 클릭시 아무것도 뿌리지 못하는 현상이 생깁니다.
그런데 메인화면 갔다가 다시 클릭하면 정상적으로 출력됩니다.
이유가 뭘까요?
해당 헤드파일소스입니다.
<?
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 = 900;
//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
// -->
</script>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" OnLoad="na_preload_img(false, 'img/img2/menu01_2.gif', 'img/img2/menu02_2.gif', 'img/img2/menu03_2.gif', 'img/img2/menu04_2.gif');">
<table cellpadding="0" cellspacing="0" width="1000" align="center">
<tr>
<td width="900">
<table width="900" height="72" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="70">
<table align="center" cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="195" height="65" valign="middle" align="center"><a href="<?=$g4[path]?>/"><img src="<?=$g4[path]?>/img/img2/logo.gif" width="190" height="65" border="0"></a></td>
<td width="299" height="65"></td>
<td width="406" height="65" align="right">
<table cellpadding="0" cellspacing="0" width="420">
<tr>
<td width="620" height="25" align="right"><a href="<?=$g4[path]?>/"><font style='font-family:돋움; font-size:8pt; color:#666666;'><b>HOME</b></font></a> | <font style='font-family:돋움; font-size:9pt; color:#666666;'><? if (!$member[mb_id]) { ?></font><font style='font-family:돋움; font-size:8pt; color:#f9f9f9;'><font style='font-family:돋움; font-size:9pt; color:#666666;'><a href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>"><font style='font-family:돋움; font-size:8pt; color:#666666;'>로그인</font></a> | <a href="<?=$g4[bbs_path]?>/register.php"><font style='font-family:돋움; font-size:8pt; color:#666666;'>회원가입 </font></a><? } else { ?> <a href="<?=$g4[bbs_path]?>/logout.php"><font style='font-family:돋움; font-size:8pt; color:#666666;'>로그아웃</font></a> | <a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php"><font style='font-family:돋움; font-size:8pt; color:#666666;'>정보수정</font></a><? } ?><? if ($is_admin == "super" || $is_auth) { ?> | <a href="<?=$g4[admin_path]?>/"><font style='font-family:돋움; font-size:8pt; color:#666666;'> 관리자</font></a><? } ?></td>
</tr>
<tr>
<td width="620" height="40" align="right"><font style='font-family:굴림; font-size:9pt; color:#666666;'>
<? include_once("$g4[path]/file/day.php"); ?>
</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="80" align="center">
<table cellpadding="0" cellspacing="0" width="900" align="center">
<tr>
<td height="85">
<table cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar01.gif"></td>
<td width="880" height="85" background="<?=$g4[path]?>/img/img2/bar02.gif">
<table cellpadding="0" cellspacing="0" width="880" align="center">
<tr>
<td width="880" height="50"></td>
<td width="75" height="50"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=html1_1" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', '<?=$g4[path]?>/img/img2/menu01_2.gif', true);"><img src="<?=$g4[path]?>/img/img2/menu01.gif" width="75" height="50" border="0" name="image1"></a></td>
<td width="10" height="50"><img src="<?=$g4[path]?>/img/img2/menu00.gif" width="10" height="50" border="0"></td>
<td width="70" height="50"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=product1_1" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', '<?=$g4[path]?>/img/img2/menu02_2.gif', true);"><img src="<?=$g4[path]?>/img/img2/menu02.gif" width="70" height="50" border="0" name="image2"></a></td>
<td width="10" height="50"><img src="<?=$g4[path]?>/img/img2/menu00.gif" width="10" height="50" border="0"></td>
<td width="75" height="50"><a href="bbs/board.php?bo_table=m1_1" OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', '<?=$g4[path]?>/img/img2/menu03_2.gif', true);"><img src="<?=$g4[path]?>/img/img2/menu03.gif" width="75" height="50" border="0" name="image3"></a></td>
</tr>
<tr>
<td width="880" height="35" align="center" colspan="8">
<?=outlogin("garoauto"); // 외부 로그인 ?><div align="center"></div>
</td>
</tr>
</table>
</td>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar03.gif" align="center"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center" width="900" valign="top">
<table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="190" valign="top" align="center" height="356">
<table cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="190" height="289" align="center" valign="top">
<table align="center" cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="190" height="50"><img src="<?=$g4[path]?>/img/img2/sub/c_tit-community.gif" width="190" height="50" border="0"></td>
</tr>
<tr>
<td width="190" background="<?=$g4[path]?>/img/img2/sub/menu_bg.gif" valign="top">
<table cellpadding="0" cellspacing="0" width="174">
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_1">공지사항</a></font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_2">FAQ</font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_3">질문답변</a></font></span></td>
</tr>
<? if ($member[mb_level] >= '10'){ ?>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=banner">배너관리</a></font></span><td>
</tr>
<? } ?>
</table>
</td>
</tr>
<tr>
<td width="190" height="154" background="<?=$g4[path]?>/img/img2/sub/menu_tail.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="190" height="17" align="center" valign="top"></td>
</tr>
<tr>
<td width="190" height="25" align="center" valign="top"></td>
</tr>
</table>
</td>
<td width="3" valign="top" align="center" height="356"></td>
<td width="710" height="356" valign="top" background="<?=$g4[path]?>/img/2006/main/c_bg.gif">
<table cellpadding="0" cellspacing="0" width="710">
<tr>
<td width="25" height="35" background="<?=$g4[path]?>/img/img2/navi01.gif"> </td>
<td width="675" height="35" background="<?=$g4[path]?>/img/img2/navi02.gif"><? include_once("$g4[path]/file/navi.php"); ?></td>
<td width="10" height="35" background="<?=$g4[path]?>/img/img2/navi03.gif"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="705">
<tr>
<td width="705"><img src="<?=$g4[path]?>/img/img2/c_line01.gif" width="705" height="20" border="0"></td>
</tr>
<tr>
<td width="705" height="96" background="<?=$g4[path]?>/img/img2/c_line02.gif" align="center" valign="top">
그런데 메인화면 갔다가 다시 클릭하면 정상적으로 출력됩니다.
이유가 뭘까요?
해당 헤드파일소스입니다.
<?
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 = 900;
//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
// -->
</script>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" OnLoad="na_preload_img(false, 'img/img2/menu01_2.gif', 'img/img2/menu02_2.gif', 'img/img2/menu03_2.gif', 'img/img2/menu04_2.gif');">
<table cellpadding="0" cellspacing="0" width="1000" align="center">
<tr>
<td width="900">
<table width="900" height="72" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="70">
<table align="center" cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="195" height="65" valign="middle" align="center"><a href="<?=$g4[path]?>/"><img src="<?=$g4[path]?>/img/img2/logo.gif" width="190" height="65" border="0"></a></td>
<td width="299" height="65"></td>
<td width="406" height="65" align="right">
<table cellpadding="0" cellspacing="0" width="420">
<tr>
<td width="620" height="25" align="right"><a href="<?=$g4[path]?>/"><font style='font-family:돋움; font-size:8pt; color:#666666;'><b>HOME</b></font></a> | <font style='font-family:돋움; font-size:9pt; color:#666666;'><? if (!$member[mb_id]) { ?></font><font style='font-family:돋움; font-size:8pt; color:#f9f9f9;'><font style='font-family:돋움; font-size:9pt; color:#666666;'><a href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>"><font style='font-family:돋움; font-size:8pt; color:#666666;'>로그인</font></a> | <a href="<?=$g4[bbs_path]?>/register.php"><font style='font-family:돋움; font-size:8pt; color:#666666;'>회원가입 </font></a><? } else { ?> <a href="<?=$g4[bbs_path]?>/logout.php"><font style='font-family:돋움; font-size:8pt; color:#666666;'>로그아웃</font></a> | <a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php"><font style='font-family:돋움; font-size:8pt; color:#666666;'>정보수정</font></a><? } ?><? if ($is_admin == "super" || $is_auth) { ?> | <a href="<?=$g4[admin_path]?>/"><font style='font-family:돋움; font-size:8pt; color:#666666;'> 관리자</font></a><? } ?></td>
</tr>
<tr>
<td width="620" height="40" align="right"><font style='font-family:굴림; font-size:9pt; color:#666666;'>
<? include_once("$g4[path]/file/day.php"); ?>
</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="80" align="center">
<table cellpadding="0" cellspacing="0" width="900" align="center">
<tr>
<td height="85">
<table cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar01.gif"></td>
<td width="880" height="85" background="<?=$g4[path]?>/img/img2/bar02.gif">
<table cellpadding="0" cellspacing="0" width="880" align="center">
<tr>
<td width="880" height="50"></td>
<td width="75" height="50"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=html1_1" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', '<?=$g4[path]?>/img/img2/menu01_2.gif', true);"><img src="<?=$g4[path]?>/img/img2/menu01.gif" width="75" height="50" border="0" name="image1"></a></td>
<td width="10" height="50"><img src="<?=$g4[path]?>/img/img2/menu00.gif" width="10" height="50" border="0"></td>
<td width="70" height="50"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=product1_1" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', '<?=$g4[path]?>/img/img2/menu02_2.gif', true);"><img src="<?=$g4[path]?>/img/img2/menu02.gif" width="70" height="50" border="0" name="image2"></a></td>
<td width="10" height="50"><img src="<?=$g4[path]?>/img/img2/menu00.gif" width="10" height="50" border="0"></td>
<td width="75" height="50"><a href="bbs/board.php?bo_table=m1_1" OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', '<?=$g4[path]?>/img/img2/menu03_2.gif', true);"><img src="<?=$g4[path]?>/img/img2/menu03.gif" width="75" height="50" border="0" name="image3"></a></td>
</tr>
<tr>
<td width="880" height="35" align="center" colspan="8">
<?=outlogin("garoauto"); // 외부 로그인 ?><div align="center"></div>
</td>
</tr>
</table>
</td>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar03.gif" align="center"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center" width="900" valign="top">
<table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="190" valign="top" align="center" height="356">
<table cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="190" height="289" align="center" valign="top">
<table align="center" cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="190" height="50"><img src="<?=$g4[path]?>/img/img2/sub/c_tit-community.gif" width="190" height="50" border="0"></td>
</tr>
<tr>
<td width="190" background="<?=$g4[path]?>/img/img2/sub/menu_bg.gif" valign="top">
<table cellpadding="0" cellspacing="0" width="174">
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_1">공지사항</a></font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_2">FAQ</font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_3">질문답변</a></font></span></td>
</tr>
<? if ($member[mb_level] >= '10'){ ?>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=banner">배너관리</a></font></span><td>
</tr>
<? } ?>
</table>
</td>
</tr>
<tr>
<td width="190" height="154" background="<?=$g4[path]?>/img/img2/sub/menu_tail.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="190" height="17" align="center" valign="top"></td>
</tr>
<tr>
<td width="190" height="25" align="center" valign="top"></td>
</tr>
</table>
</td>
<td width="3" valign="top" align="center" height="356"></td>
<td width="710" height="356" valign="top" background="<?=$g4[path]?>/img/2006/main/c_bg.gif">
<table cellpadding="0" cellspacing="0" width="710">
<tr>
<td width="25" height="35" background="<?=$g4[path]?>/img/img2/navi01.gif"> </td>
<td width="675" height="35" background="<?=$g4[path]?>/img/img2/navi02.gif"><? include_once("$g4[path]/file/navi.php"); ?></td>
<td width="10" height="35" background="<?=$g4[path]?>/img/img2/navi03.gif"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="705">
<tr>
<td width="705"><img src="<?=$g4[path]?>/img/img2/c_line01.gif" width="705" height="20" border="0"></td>
</tr>
<tr>
<td width="705" height="96" background="<?=$g4[path]?>/img/img2/c_line02.gif" align="center" valign="top">
댓글 전체
제 생각에는 아마도 URL에 표시되는 주소와 링크되는 주소가 달라서 그렇지 않나 생각해 봅니다.
URL 주소는 http://gasi.na.mu 인데 링크 주소는 http://gasinamu.ivyro.net로 시작하더군요.
이것과는 관계 없을지 모르지만 제가 아래 admin 로그인 때문에 질문글 올린게 있는데 그것과도 관계가 있을까요? ;;
뭐.. 주소를 다르게 인식한다는게 맞다면 있겠지요?.. 뭔말이야 ㅡ,.ㅡ;;
URL 주소는 http://gasi.na.mu 인데 링크 주소는 http://gasinamu.ivyro.net로 시작하더군요.
이것과는 관계 없을지 모르지만 제가 아래 admin 로그인 때문에 질문글 올린게 있는데 그것과도 관계가 있을까요? ;;
뭐.. 주소를 다르게 인식한다는게 맞다면 있겠지요?.. 뭔말이야 ㅡ,.ㅡ;;