서브페이지 html 문서에 로그인 출력이 안되요 ㅠㅠ 정보
서브페이지 html 문서에 로그인 출력이 안되요 ㅠㅠ관련링크
http://nuguri.nayana.com/
123회 연결
첨부파일
본문
또 질문 올리네요..-_-;;
html문서로 페이지를 만들었구요..
게시판이 들어간 서브페이지들은 php파일이 있습니다.
예를 들면 school 메뉴에 서브페이지가 유치부, 아동부, 중고등부, 청년부 이렇게 4개 있는데, 유치부에서 또 서브페이지가 소개, 게시판, 앨범 이런식으로 3개씩 각각 있습니다.
예를 들면 school 메뉴에 서브페이지가 유치부, 아동부, 중고등부, 청년부 이렇게 4개 있는데, 유치부에서 또 서브페이지가 소개, 게시판, 앨범 이런식으로 3개씩 각각 있습니다.
이 중에서 게시판과 앨범페이지에 게시판을 달았어요
유치부만을 예를 들면 일단 school_head.php 파일이 있습니다.
유치부소개 페이지의 이름은 service01_1.html이고 게시판은 service01_2.html, 앨범은 service01_3.html 입니다.
링크는 모두 위의 이름으로 html파일로 되어 있구요
게시판이 없는 service01_1.html페이지는 보이는 그대로 html 페이지가 나오구요.
게시판이 달린 service01_2.html와 service01_3.html페이지에는 <meta http-equiv="refresh" content="0;url=../bbs/board.php?bo_table=school01_2"> 이런식으로 입력되어 있습니다.
유치부만을 예를 들면 일단 school_head.php 파일이 있습니다.
유치부소개 페이지의 이름은 service01_1.html이고 게시판은 service01_2.html, 앨범은 service01_3.html 입니다.
링크는 모두 위의 이름으로 html파일로 되어 있구요
게시판이 없는 service01_1.html페이지는 보이는 그대로 html 페이지가 나오구요.
게시판이 달린 service01_2.html와 service01_3.html페이지에는 <meta http-equiv="refresh" content="0;url=../bbs/board.php?bo_table=school01_2"> 이런식으로 입력되어 있습니다.
이게..그누보드안에 디자인을 집어 넣는것을 제가 한게 아니고..다른분이 하셨는데 그분이 해 놓으신걸 php도 잘 모르는 제가 어찌 쫌 해볼려니..너무 어렵네요 ㅠㅠ
그분과 연락도 안되는 상황이라..혼자서 할려니 너무 어려워요 으흑
그분과 연락도 안되는 상황이라..혼자서 할려니 너무 어려워요 으흑
다른건 검색해가면서 이것저것 수정해가면서..해결했는데..
로그인은 해결이 안나요
로그인은 해결이 안나요
head.php파일을 수정하여 로그인을 달았는데 첫 메인페이지에서는 출력이 되는데..서브페이지에는 로그인이 출력이 안되드라구요
답변들을 보고 이래저래 막 수정해보고 했는데도..에러만 뜨고 ㅠㅠ
계속 보다보니..html문서에는 또 따로 먼가를 해야하나봐요
근데..읽어봐도 잘 모르겠고 파일을 손대봐도 또 에러만 나고 해서..또 질문 올려요..
답변들을 보고 이래저래 막 수정해보고 했는데도..에러만 뜨고 ㅠㅠ
계속 보다보니..html문서에는 또 따로 먼가를 해야하나봐요
근데..읽어봐도 잘 모르겠고 파일을 손대봐도 또 에러만 나고 해서..또 질문 올려요..
질문이 너무 길어서..이해 하실런지..제가 너무 정신 없게 적어서..-_-;
-------------------------------------------------------------------------------------
(head.php파일)은
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
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/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 language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
?>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
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;
}
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_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<body background="<?=$g4[path]?>/gamman/img/base.jpg" onLoad="MM_preloadImages('gamman/img/homeOver.jpg')">
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<body background="<?=$g4[path]?>/gamman/img/base.jpg" onLoad="MM_preloadImages('gamman/img/homeOver.jpg')">
<TABLE cellspacing="0" cellpadding="0" border="0">
<TR>
<TD colspan=2 align=left>
<!-- 상단 배경 시작 -->
<table cellspacing="0" cellpadding="0" width=850 height=57>
<tr>
<td width="156" background="<?=$g4[path]?>/gamman/img/bgtoplogo.jpg"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="156" height="57">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/logotype.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/logotype.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="156" height="57"></embed></object></td>
<td width="694" valign="top" background="<?=$g4[path]?>/gamman/img/bgTopLog.jpg"><table height="24" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><?=outlogin("mentory_basic")?></td>
<td width="41" height="24"><a href="/gnuboard/index.php"><img src="<?=$g4[path]?>/gamman/img/home.jpg" name="Image1" width="41" height="24" border="0" id="Image1" onMouseOver="MM_swapImage('Image1','','<?=$g4[path]?>/gamman/img/homeOver.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="6" height="24"> </td>
<td width="57" height="24"><img src="<?=$g4[path]?>/gamman/img/sitemap.jpg" width="57" height="24"></td>
<td width="9" height="24" > </td>
</tr>
</table></td>
</tr>
<tr>
<td width=850 colspan="2"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="850" height="68">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/Top%20menu.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/Top%20menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="850" height="68"></embed></object></td>
</tr>
</table></TD>
<!-- 상단 배경 끝 -->
<TR>
<TD valign=top width="850">
------------------------------------------------------------------------------------
(index.php)파일은
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 왼쪽 메뉴-->
<body bgcolor="#F7FCE8">
<table cellpadding=0 cellspacing=0 width=850 height=503>
<tr>
<td width=388 valign=top background="<?=$g4[path]?>/gamman/img/bgL.jpg">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="388" height="475">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/mainflash.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/mainflash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="388" height="475"></embed></object></td>
<!-- 왼쪽 메뉴 끝 -->
<!-- ¸메인화면 최신글 시작 -->
<td valign=top width=462 background="<?=$g4[path]?>/gamman/img/bgR.jpg">
include_once("./_head.php");
?>
<!-- 왼쪽 메뉴-->
<body bgcolor="#F7FCE8">
<table cellpadding=0 cellspacing=0 width=850 height=503>
<tr>
<td width=388 valign=top background="<?=$g4[path]?>/gamman/img/bgL.jpg">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="388" height="475">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/mainflash.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/mainflash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="388" height="475"></embed></object></td>
<!-- 왼쪽 메뉴 끝 -->
<!-- ¸메인화면 최신글 시작 -->
<td valign=top width=462 background="<?=$g4[path]?>/gamman/img/bgR.jpg">
<br>
<table cellpadding=0 cellspacing=0 width=100%>
<tr>
<td colspan="2"> <? echo latest("movie", internet01, 1, 31, "4,25");?><br></td></tr>
<tr>
<td width="50%"> <? echo latest("yg_g", community01, 4, 20, "4,25");?><br></td>
<td width="50%"> <? echo latest("yg_g", community04, 4, 20, "4,25");?><br></td></tr>
<tr>
<td width="50%"> <? echo latest("yg_g", community07, 4, 20, "4,25");?><br></td>
<td width="50%"> <? echo latest("yg_gallery", community03, 1, 20, "4,25");?><br></td></tr>
</table>
</td>
</tr>
</table>
<!-- ¸ 메인화면 최신글 끝 -->
<!-- 카피라이트 끝 -->
<table cellpadding=0 cellspacing=0 width=850 height=52>
<tr>
<td valign=top background="<?=$g4[path]?>/gamman/img/bgBottom.jpg" width=850></td>
</tr>
</table></TD>
<!-- 카피라이트 끝 -->
</TABLE>
<table cellpadding=0 cellspacing=0 width=100%>
<tr>
<td colspan="2"> <? echo latest("movie", internet01, 1, 31, "4,25");?><br></td></tr>
<tr>
<td width="50%"> <? echo latest("yg_g", community01, 4, 20, "4,25");?><br></td>
<td width="50%"> <? echo latest("yg_g", community04, 4, 20, "4,25");?><br></td></tr>
<tr>
<td width="50%"> <? echo latest("yg_g", community07, 4, 20, "4,25");?><br></td>
<td width="50%"> <? echo latest("yg_gallery", community03, 1, 20, "4,25");?><br></td></tr>
</table>
</td>
</tr>
</table>
<!-- ¸ 메인화면 최신글 끝 -->
<!-- 카피라이트 끝 -->
<table cellpadding=0 cellspacing=0 width=850 height=52>
<tr>
<td valign=top background="<?=$g4[path]?>/gamman/img/bgBottom.jpg" width=850></td>
</tr>
</table></TD>
<!-- 카피라이트 끝 -->
</TABLE>
이렇습니다...
또 어떤파일 첨부해야 하나요..?
혹시 몰라서..school 페이지도 집파일로 첨부할께요..
도와주세요!! ^o^::
댓글 전체
게시판 상단 파일 경로, 하단 파일 경로에 뭘 적으셨나요?
이제야 컴터를 켜서...-_-; 너무 늦게 봐서..흑
이거 다시 보실지 모르겠지만...ㅠㅠ
상단파일경로는 ../gamman/community_head.php
하단파일경로는 ../_tail.php 에요..
---------------------------------------------------------------------------------------------------------------------------
글구..tail.php파일은..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</TD><body bgcolor="#F7FCE8">
<TR>
<TD colspan=2>
<!-- 카피라이트 시작 -->
<table cellpadding=0 cellspacing=0 width=850 height=50>
<tr>
<td valign=top background="<?=$g4[path]?>/gamman/img/copyright.jpg" width=850></td>
</tr>
</table></TD>
<!-- 카피라이트 끝 -->
</TABLE>
<?
include_once("$g4[path]/tail.sub.php");
?>
입니다..^^;
--------------------------------------------------------------------------------------------------------------------------
뭐가 잘못된건가요? 가르쳐주세요^^
이거 다시 보실지 모르겠지만...ㅠㅠ
상단파일경로는 ../gamman/community_head.php
하단파일경로는 ../_tail.php 에요..
---------------------------------------------------------------------------------------------------------------------------
글구..tail.php파일은..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</TD><body bgcolor="#F7FCE8">
<TR>
<TD colspan=2>
<!-- 카피라이트 시작 -->
<table cellpadding=0 cellspacing=0 width=850 height=50>
<tr>
<td valign=top background="<?=$g4[path]?>/gamman/img/copyright.jpg" width=850></td>
</tr>
</table></TD>
<!-- 카피라이트 끝 -->
</TABLE>
<?
include_once("$g4[path]/tail.sub.php");
?>
입니다..^^;
--------------------------------------------------------------------------------------------------------------------------
뭐가 잘못된건가요? 가르쳐주세요^^
그럼 게시판에서 outlogin은
../gamman/community_head.php
에 있겠군요.
include_once("$g4[path]/lib/outlogin.lib.php");
가
있는지 확인해 보세요.
../gamman/community_head.php
에 있겠군요.
include_once("$g4[path]/lib/outlogin.lib.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 = 1004;
?>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
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_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<body bgcolor=#F7FCE8 background="/gnuboard/gamman/img/church/base.jpg" onLoad="MM_preloadImages('img/homeOver.jpg')">
<TABLE cellspacing="0" cellpadding="0">
<TR>
<TD colspan=2 align=left>
<table width="850" cellspacing="0" cellpadding="0">
<tr>
<td width="156" background="<?=$g4[path]?>/gamman/img/bgtoplogo.jpg"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="156" height="57">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/logotype.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/logotype.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="156" height="57"></embed></object></td>
<td width="694" valign="top" background="<?=$g4[path]?>/gamman/img/bgTopLog.jpg"><table width="113" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="41" height="24"><a href="/gnuboard/index.php"><img src="<?=$g4[path]?>/gamman/img/home.jpg" name="Image1" width="41" height="24" border="0" id="Image1" onMouseOver="MM_swapImage('Image1','','<?=$g4[path]?>/gamman/img/homeOver.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="6" height="24"> </td>
<td width="57" height="24"><img src="<?=$g4[path]?>/gamman/img/sitemap.jpg" width="57" height="24"></td>
<td height="24"> </td>
</tr>
</table></td>
</tr>
</table>
<table width="850" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="190" colspan="2"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="850" height="190">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/school.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/school.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="850" height="190"></embed></object></td>
</table>
<TR>
<TD rowspan=2 valign=top>
<table cellspacing="0" cellpadding="0">
<tr>
<td width="180" align="left" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="180" height="430">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/schoolsub.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/schoolsub.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="180" height="430"></embed></object></td>
</table></TD>
이렇게 되 있어요..
포함되 있는거죠..?? ㅠㅠ
참 그리고 제가 위에 답변에 잘못적었는데..
유치부의 상단파일경로는 ../gamman/school_head.php 에요..
머 ../gamman/community_head.php 랑 구조는 같으니...
../gamman/community_head.php 는 community의 상단파일경로구요..
제가 첨에 말했던거처럼..게시판이 달린 메뉴에는..다 "메뉴이름_head.php" 파일이 다 있어요..
제가 유치부를 예로해서..거기에 해당하는 페이지파일과 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 = 1004;
?>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
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_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<body bgcolor=#F7FCE8 background="/gnuboard/gamman/img/church/base.jpg" onLoad="MM_preloadImages('img/homeOver.jpg')">
<TABLE cellspacing="0" cellpadding="0">
<TR>
<TD colspan=2 align=left>
<table width="850" cellspacing="0" cellpadding="0">
<tr>
<td width="156" background="<?=$g4[path]?>/gamman/img/bgtoplogo.jpg"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="156" height="57">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/logotype.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/logotype.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="156" height="57"></embed></object></td>
<td width="694" valign="top" background="<?=$g4[path]?>/gamman/img/bgTopLog.jpg"><table width="113" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="41" height="24"><a href="/gnuboard/index.php"><img src="<?=$g4[path]?>/gamman/img/home.jpg" name="Image1" width="41" height="24" border="0" id="Image1" onMouseOver="MM_swapImage('Image1','','<?=$g4[path]?>/gamman/img/homeOver.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="6" height="24"> </td>
<td width="57" height="24"><img src="<?=$g4[path]?>/gamman/img/sitemap.jpg" width="57" height="24"></td>
<td height="24"> </td>
</tr>
</table></td>
</tr>
</table>
<table width="850" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="190" colspan="2"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="850" height="190">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/school.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/school.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="850" height="190"></embed></object></td>
</table>
<TR>
<TD rowspan=2 valign=top>
<table cellspacing="0" cellpadding="0">
<tr>
<td width="180" align="left" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="180" height="430">
<param name="movie" value="<?=$g4[path]?>/gamman/flash/schoolsub.swf">
<param name="quality" value="high">
<embed src="<?=$g4[path]?>/gamman/flash/schoolsub.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="180" height="430"></embed></object></td>
</table></TD>
이렇게 되 있어요..
포함되 있는거죠..?? ㅠㅠ
참 그리고 제가 위에 답변에 잘못적었는데..
유치부의 상단파일경로는 ../gamman/school_head.php 에요..
머 ../gamman/community_head.php 랑 구조는 같으니...
../gamman/community_head.php 는 community의 상단파일경로구요..
제가 첨에 말했던거처럼..게시판이 달린 메뉴에는..다 "메뉴이름_head.php" 파일이 다 있어요..
제가 유치부를 예로해서..거기에 해당하는 페이지파일과 php파일을 집파일로 첨부했어요..
도대체 멀 어떻게 고쳐야 하는건지 아흑 ..