로그인페이지 수정후 열리지가 않습니다.
본문
로그인 페이지를 수정하려고 하는데
tail부분은 적용이되는데
head부분을 제가 만든거로 수정하려고 하는데 로그인페이지가 열리지 않습니다.
아래가 소스입니다.
다 올려지지가 않아서 앞부분만 올립니다
<?
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());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
<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-1; 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;
}
}
//레이어액션
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
// -->
</script>
<body style="background-image:url(<?=$g4['path']?>/images/bg_01.jpg); background-repeat:repeat-x; margin:0;" OnLoad="na_preload_img(false, '<?=$g4['path']?>/images/um1_sm1b.jpg', '<?=$g4['path']?>/images/um1_sm2b.jpg', '<?=$g4['path']?>/images/um1_sm3b.jpg', '<?=$g4['path']?>/images/um1_sm4b.jpg', '<?=$g4['path']?>/images/um1_sm5b.jpg', '<?=$g4['path']?>/images/um2_sm1b.jpg', '<?=$g4['path']?>/images/um2_sm2b.jpg', '<?=$g4['path']?>/images/um2_sm3b.jpg',
'<?=$g4['path']?>/images/um3_sm1b.jpg', '<?=$g4['path']?>/images/um3_sm2b.jpg', '<?=$g4['path']?>/images/um4_sm1b.jpg', '<?=$g4['path']?>/images/um4_sm2b.jpg', '<?=$g4['path']?>/images/um5_sm1b.jpg', '<?=$g4['path']?>/images/um5_sm2b.jpg', '<?=$g4['path']?>/images/um5_sm3b.jpg', '<?=$g4['path']?>/images/um6_sm1b.jpg', '<?=$g4['path']?>/images/um1_01b.jpg', '<?=$g4['path']?>/images/um2_01b.jpg', '<?=$g4['path']?>/images/um3_01b.jpg',
'<?=$g4['path']?>/images/um4_01b.jpg', '<?=$g4['path']?>/images/um5_01b.jpg', '<?=$g4['path']?>/images/um6_01b.jpg');">
<table cellpadding="0" cellspacing="0" width="840" align="center">
<tr>
<td width="840" height="26" valign="top" align="center" colspan="3">
<table cellpadding="0" cellspacing="0" width="840" align="center">
<tr>
<td width="840" height="26" valign="top" align="right">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="26"><a href="http://www.sjjglory.or.kr"><img src="<?=$g4['path']?>/images/bm1_01.jpg" width="26" height="26" border="0"></a></td>
<td width="3"><img src="<?=$g4['path']?>/images/bml_01.jpg" width="3" height="26" border="0"></td>
<!--로그인 이전-->
<? if (!$member['mb_id']) { ?>
<td width="49"><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>"><img src="<?=$g4['path']?>/images/bm2_01.jpg" width="49" height="26" border="0"></a></td>
<td width="3"><img src="<?=$g4['path']?>/images/bml_01.jpg" width="3" height="26" border="0"></td>
<td width="52"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$g4['path']?>/images/bm3_01.jpg" width="52" height="26" border="0"></a></td>
<td width="3"><img src="<?=$g4['path']?>/images/bml_01.jpg" width="3" height="26" border="0"></td>
<? } else { ?>
<!--로그인 이후-->
<td width="49"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$g4['path']?>/images/bm2_02.jpg" width="49" height="26" border="0"></a></td>
<td width="3"><img src="<?=$g4['path']?>/images/bml_01.jpg" width="3" height="26" border="0"></td>
<td width="52"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="<?=$g4['path']?>/images/bm3_02.jpg" width="52" height="26" border="0"></a></td>
<td width="3"><img src="<?=$g4['path']?>/images/bml_01.jpg" width="3" height="26" border="0"></td>
<? } ?>
<td width="58"><a href="http://sjjglory.or.kr/bbs/board.php?bo_table=qna_1"><img src="<?=$g4['path']?>/images/bm4_01.jpg" width="58" height="26" border="0"></a></td>
<td width="3"><img src="<?=$g4['path']?>/images/bml_01.jpg" width="3" height="26" border="0"></td>
<td width="68"><a href="http://sjjglory.or.kr/site_01.php"><img src="<?=$g4['path']?>/images/bm5_01.jpg" width="68" height="26" border="0"></a></td>
<td width="35"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="840" height="25" align="left" valign="top" colspan="3">
<div style="position:relative; left:220px; top:70px;">
<div id="layer1" style="position:absolute; left:0px; top:0px; z-index:1; visibility:hidden;">
<table width="587" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="10"><img src="<?=$g4['path']?>/images/um1_sml.jpg" border="0"></td>
<td width="63"><a href="<?=$g4['path']?>/church_01.php" OnMouseOut="na_restore_img_src('um1_sm1_img', 'document')" OnMouseOver="na_change_img_src('um1_sm1_img', 'document', '<?=$g4['path']?>/images/um1_sm1b.jpg', true);"><img src="<?=$g4['path']?>/images/um1_sm1a.jpg" border="0" name="um1_sm1_img"></a></td>
<td width="54"><a href="<?=$g4['path']?>/church_02.php" OnMouseOut="na_restore_img_src('um1_sm2_img', 'document')" OnMouseOver="na_change_img_src('um1_sm2_img', 'document', '<?=$g4['path']?>/images/um1_sm2b.jpg', true);"><img src="<?=$g4['path']?>/images/um1_sm2a.jpg" border="0" name="um1_sm2_img"></a></td>
<!--
<td width="67"><a href="#" OnMouseOut="na_restore_img_src('um1_sm3_img', 'document')" OnMouseOver="na_change_img_src('um1_sm3_img', 'document', '<?=$g4['path']?>/images/um1_sm3b.jpg', true);"><img src="<?=$g4['path']?>/images/um1_sm3a.jpg" border="0" name="um1_sm3_img"></a></td>
-->
<td width="73"><a href="<?=$g4['path']?>/church_03.php" OnMouseOut="na_restore_img_src('um1_sm4_img', 'document')" OnMouseOver="na_change_img_src('um1_sm4_img', 'document', '<?=$g4['path']?>/images/um1_sm4b.jpg', true);"><img src="<?=$g4['path']?>/images/um1_sm4a.jpg" border="0" name="um1_sm4_img"></a></td>
<td width="73"><a href="<?=$g4['path']?>/church_04.php" OnMouseOut="na_restore_img_src('um1_sm5_img', 'document')" OnMouseOver="na_change_img_src('um1_sm5_img', 'document', '<?=$g4['path']?>/images/um1_sm5b.jpg', true);"><img src="<?=$g4['path']?>/images/um1_sm5a.jpg" border="0" name="um1_sm5_img"></a></td>
<td width="304"><img src="<?=$g4['path']?>/images/um1_smb.jpg" border="0"></td>
<td width="10"><img src="<?=$g4['path']?>/images/um1_smr.jpg" border="0"></td>
</tr>
</table>
</div>
답변을 작성하시기 전에 로그인 해주세요.