묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
노프레임 include시 헤드만 남고 나머지는 없어집니다.....ㅡㅡ;;
2004.11.01 10:28
소스는 아래와 같습니다....
head.php
---------------------------------
<?
$_zb_url = "http://php.chol.com/~cys1120/bbs/";
$_zb_path = "/uhome/m055/c/y/s/cys1120/wwwhome/bbs/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script>
<body bgcolor="#666666" text="black" link="blue" vlink="purple" alink="red" OnLoad="namosw_scrollstatus('♥♥♥ Partner House에 오신것을 환영합니다..♥♥♥')">
<p align="center" style="border-collapse:collapse;">
<table width="800" bgcolor="white" cellpadding="0" align="center" height="0" style="border-collapse:collapse;" cellspacing="0">
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<p align="center"><img src="http://php.chol.com/~cys1120/img/headline.jpg" width="800" height="110" border="0" hspace="0"></p>
</td>
</tr>
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;" height="20">
<p align="center"><? print_outlogin("cabin3", 1, 10) ?></p>
</td>
</tr>
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;" height="17">
<p><img src="http://php.chol.com/~cys1120/img/titlebar.jpg" width="800" height="60" border="0" usemap="#ImageMap1"> <map name="ImageMap1">
<area shape="rect" coords="83, 8, 151, 58" href="http://www.all4love.pe.kr">
<area shape="rect" coords="268, 7, 335, 59" href="familly.php">
<area shape="rect" coords="456, 8, 521, 59" href="gallery.php">
<area shape="rect" coords="642, 7, 709, 59" href="bbs.php">
</map></p>
</td>
</tr>
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<p><img src="http://php.chol.com/~cys1120/img/button_home.jpg" width="800" height="20" border="0"></p>
----------------------------------------
=========================================
main.php
----------------------------------------
<html>
<head>
<? include "http://user.chollian.net/~cys1120/head.php";?>
<body bgcolor="#666666" text="black" link="blue" vlink="purple" alink="red" OnLoad="namosw_scrollstatus('♥♥♥ Partner House에 오신것을 환영합니다..♥♥♥')">
<table width="800" bgcolor="white" cellpadding="0" align="center" height="0" style="border-collapse:collapse;" cellspacing="0">
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<table width="800" cellpadding="0" align="center" height="0" style="border-collapse:collapse;" cellspacing="0" border="0" bordercolor="white">
<tr>
<td width="535" height="180" colspan="2" valign="top" bordercolor="white" align="center">
<p align="center"><span style="font-size:9pt;">
<? print_bbs("aqua_last/aqua_notice", "<img src=http://php.chol.com/~cys1120/bbs/latest_skin/aqua_last/aqua_notice/images/notice01.gif border=0>", "notice", 2, 35)?></span></p>
</td>
<td width="265" height="180" valign="top" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_bbs("aqua_last/aqua_bbs", "자유게시판", "free", 5, 30) ?></span> </tr>
<tr>
<td width="265" height="180" valign="top" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_bbs("aqua_last/aqua_bbs", "자유로운 사진", "cboard", 5, 30) ?></span> <td width="265" height="180" valign="top" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_bbs("aqua_last/aqua_bbs", "사진게시판", "pboard", 5, 30) ?></span> <td width="265" height="180" valign="top" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_bbs("aqua_last/aqua_bbs", "이야기가 있는 사진", "avboard", 5, 30) ?></span> </tr>
<tr>
<td width="800" height="180" colspan="3" valign="middle" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_gal("aqua_last/aqua_gallery", "가족사진", "fphoto", 5, 10, 150, 150) ?></span></tr>
</table>
<? include "http://user.chollian.net/~cys1120/foot.php";?></p>
</body>
</html>
==============================================
계정은 user.chol.com/~cys1120 이구요....
이상하게 되네요......
증상은 이렇습니다...
1. main.php에 head.php를 위와 같이 include시켜논 상태입니다.
2. 서브 메뉴에도 똑같은 방법으로 각각의 head_를 include시켜놨습니다...
3. main.php에서 로그인 하면 head.php만 화면에 보이고
나머지 는 사라져 버립니다....ㅡㅡ;;
4. main.php에서 로그인된 것이 다른 서브로 이동하면 로그아웃된것처럼 보여 집니다..
서브에 부메뉴를 클릭하면 로그인 되어 있습니다...
head.php
---------------------------------
<?
$_zb_url = "http://php.chol.com/~cys1120/bbs/";
$_zb_path = "/uhome/m055/c/y/s/cys1120/wwwhome/bbs/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script>
<body bgcolor="#666666" text="black" link="blue" vlink="purple" alink="red" OnLoad="namosw_scrollstatus('♥♥♥ Partner House에 오신것을 환영합니다..♥♥♥')">
<p align="center" style="border-collapse:collapse;">
<table width="800" bgcolor="white" cellpadding="0" align="center" height="0" style="border-collapse:collapse;" cellspacing="0">
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<p align="center"><img src="http://php.chol.com/~cys1120/img/headline.jpg" width="800" height="110" border="0" hspace="0"></p>
</td>
</tr>
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;" height="20">
<p align="center"><? print_outlogin("cabin3", 1, 10) ?></p>
</td>
</tr>
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;" height="17">
<p><img src="http://php.chol.com/~cys1120/img/titlebar.jpg" width="800" height="60" border="0" usemap="#ImageMap1"> <map name="ImageMap1">
<area shape="rect" coords="83, 8, 151, 58" href="http://www.all4love.pe.kr">
<area shape="rect" coords="268, 7, 335, 59" href="familly.php">
<area shape="rect" coords="456, 8, 521, 59" href="gallery.php">
<area shape="rect" coords="642, 7, 709, 59" href="bbs.php">
</map></p>
</td>
</tr>
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<p><img src="http://php.chol.com/~cys1120/img/button_home.jpg" width="800" height="20" border="0"></p>
----------------------------------------
=========================================
main.php
----------------------------------------
<html>
<head>
<? include "http://user.chollian.net/~cys1120/head.php";?>
<body bgcolor="#666666" text="black" link="blue" vlink="purple" alink="red" OnLoad="namosw_scrollstatus('♥♥♥ Partner House에 오신것을 환영합니다..♥♥♥')">
<table width="800" bgcolor="white" cellpadding="0" align="center" height="0" style="border-collapse:collapse;" cellspacing="0">
<tr>
<td width="800" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<table width="800" cellpadding="0" align="center" height="0" style="border-collapse:collapse;" cellspacing="0" border="0" bordercolor="white">
<tr>
<td width="535" height="180" colspan="2" valign="top" bordercolor="white" align="center">
<p align="center"><span style="font-size:9pt;">
<? print_bbs("aqua_last/aqua_notice", "<img src=http://php.chol.com/~cys1120/bbs/latest_skin/aqua_last/aqua_notice/images/notice01.gif border=0>", "notice", 2, 35)?></span></p>
</td>
<td width="265" height="180" valign="top" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_bbs("aqua_last/aqua_bbs", "자유게시판", "free", 5, 30) ?></span> </tr>
<tr>
<td width="265" height="180" valign="top" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_bbs("aqua_last/aqua_bbs", "자유로운 사진", "cboard", 5, 30) ?></span> <td width="265" height="180" valign="top" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_bbs("aqua_last/aqua_bbs", "사진게시판", "pboard", 5, 30) ?></span> <td width="265" height="180" valign="top" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_bbs("aqua_last/aqua_bbs", "이야기가 있는 사진", "avboard", 5, 30) ?></span> </tr>
<tr>
<td width="800" height="180" colspan="3" valign="middle" bordercolor="white" align="center">
<p><span style="font-size:9pt;"><? print_gal("aqua_last/aqua_gallery", "가족사진", "fphoto", 5, 10, 150, 150) ?></span></tr>
</table>
<? include "http://user.chollian.net/~cys1120/foot.php";?></p>
</body>
</html>
==============================================
계정은 user.chol.com/~cys1120 이구요....
이상하게 되네요......
증상은 이렇습니다...
1. main.php에 head.php를 위와 같이 include시켜논 상태입니다.
2. 서브 메뉴에도 똑같은 방법으로 각각의 head_를 include시켜놨습니다...
3. main.php에서 로그인 하면 head.php만 화면에 보이고
나머지 는 사라져 버립니다....ㅡㅡ;;
4. main.php에서 로그인된 것이 다른 서브로 이동하면 로그아웃된것처럼 보여 집니다..
서브에 부메뉴를 클릭하면 로그인 되어 있습니다...
그리고 서브에 로그인 스킨이 잘못되었는지 확인해 보세요...