일반페이지에 아웃로그인과 최신글 불러오기 하려면? 정보
일반페이지에 아웃로그인과 최신글 불러오기 하려면?본문
해도 해도 안돼네요~~
희얀하네요... ㅡ.ㅡ.;;
아웃로긴은 아이프레임으로 했는데 안하고 해결할수 있는 방법이 있을까요?
테스트페이지: http://www.limflute.com/limflute/index_test.php
해당페이지 소스인데 중간 아랫부분에 게시판 최신글 불러오려 하는데 안나오네요..
해결할수 있는 방법이 있을까요?
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>Lim's Flute</title>
<style>
.ntitle {
float:left;
font-family:'돋움', Tahoma;
font-size:11px;
margin:0px 0px 0px 7px;
width:210px;
letter-spacing:-0.06em;
}
.ndate {
float:right;
font-family:arial;
font-size:11px;
margin:0px 5px 0px 0px;
width:50px;
letter-spacing:-0.06em;
}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
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_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_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>
<script language='javascript'>
function autoBlur(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG")
document.body.focus();
}
document.onfocusin=autoBlur;
</script>
<link rel="stylesheet" href="css.css" type="text/css">
<style type="text/css">
<!--
.style1 {color: #7b7953}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="20" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('image/meun_s1.jpg','image/meun_s2.jpg','image/meun_s3.jpg','image/meun_s4.jpg','image/meun_s5.jpg','image/d_menu2s.jpg','image/meun_s6.jpg','image/meun_s7.jpg')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="947" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="214"><a href="index.html"><img src="image/logo.jpg" width="214" height="88" border="0"></a></td>
<td width="733" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_1','','image/meun_s1.jpg',1)"><img src="image/meun_1.jpg" name="top_menu_1" width="64" height="30" border="0"></a></td>
<td><a href="contents/company_1.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_2','','image/meun_s2.jpg',1)"><img src="image/meun_2.jpg" name="top_menu_2" width="76" height="30" border="0"></a></td>
<td><a href="contents/repair_1.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_3','','image/meun_s3.jpg',1)"><img src="image/meun_3.jpg" name="top_menu_3" width="96" height="30" border="0"></a></td>
<td><a href="contents/care.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_4','','image/meun_s4.jpg',1)"><img src="image/meun_4.jpg" name="top_menu_4" width="87" height="30" border="0"></a></td>
<td><a href="board/board.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_5','','image/meun_s5.jpg',1)"><img src="image/meun_5.jpg" name="top_menu_5" width="64" height="30" border="0"></a></td>
<td width="235"></td>
<td><a href="qna/qna.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_6','','image/meun_s6.jpg',1)"><img src="image/meun_6.jpg" name="top_menu_6" width="45" height="30" border="0"></a></td>
<td><a href="contents/link.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_7','','image/meun_s7.jpg',1)"><img src="image/meun_7.jpg" name="top_menu_7" width="66" height="30" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" bgcolor="edebdc"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="contents/crown.html"><img src="image/d_menu1.jpg" width="119" height="32" border="0"></a></td>
<td><a href="contents/yamaha.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('down_menu_2','','image/d_menu2s.jpg',1)"><img src="image/d_menu2.jpg" name="down_menu_2" width="154" height="32" border="0"></a></td>
<td width="460"></td>
</tr>
<tr>
<td height="25" colspan="3"><iframe src=" http://limflute.com/limflute/gnuboard4/login.php" height="25" frameborder="0" width="100%" marginwidth="0" marginheight="0" scrolling="no" ></iframe><!-- 서브메뉴--> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="7"></td>
</tr>
<tr>
<td height="424" background="image/main_img.jpg"> </td>
</tr>
<tr>
<td height="105" align="center" valign="top"><table width="947" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="13" colspan="9"> </td>
</tr>
<tr>
<td width="7"> </td>
<td width="118"><img src="image/news.jpg" width="118" height="77"></td>
<td width="234" height="77">
<td> <? echo latest("basic", "board" 3, 70); ?></td>
</td>
</tr>
</table></td>
<td width="20"> </td>
<td width="118"><img src="image/board.jpg" width="118" height="77" border="0"></td>
<td width="240" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="board">
<tr>
<td width="14" height="20" align="right"><img src="image/dot.jpg" width="9"></td>
<td height="20">어제 말씀드렸던 패드수리요~</td>
<td width="62" height="20" align="right" valign="middle"> [2010.03.23]</td>
</tr>
<tr>
<td height="19" align="right"><img src="image/dot.jpg" width="9"></td>
<td height="19">사무실 이전 </td>
<td height="19"> </td>
</tr>
<tr>
<td height="19" align="right"><img src="image/dot.jpg" width="9"></td>
<td height="19">홈페이지 새로 오픈했습니다 </td>
<td height="19"> </td>
</tr>
<tr>
<td height="19" align="right"><img src="image/dot.jpg" width="9"></td>
<td height="19">림스플릇</td>
<td height="19"> </td>
</tr>
</table></td>
<td width="20"> </td>
<td valign="top"><img src="image/banner.jpg" width="177" height="77"></td>
<td width="7"> </td>
</tr>
<tr>
<td height="15" colspan="9"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="947" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1" bgcolor="eceadb"></td>
</tr>
<tr>
<td><img src="image/copyright.jpg" width="947" height="66"></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
희얀하네요... ㅡ.ㅡ.;;
아웃로긴은 아이프레임으로 했는데 안하고 해결할수 있는 방법이 있을까요?
테스트페이지: http://www.limflute.com/limflute/index_test.php
해당페이지 소스인데 중간 아랫부분에 게시판 최신글 불러오려 하는데 안나오네요..
해결할수 있는 방법이 있을까요?
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>Lim's Flute</title>
<style>
.ntitle {
float:left;
font-family:'돋움', Tahoma;
font-size:11px;
margin:0px 0px 0px 7px;
width:210px;
letter-spacing:-0.06em;
}
.ndate {
float:right;
font-family:arial;
font-size:11px;
margin:0px 5px 0px 0px;
width:50px;
letter-spacing:-0.06em;
}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
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_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_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>
<script language='javascript'>
function autoBlur(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG")
document.body.focus();
}
document.onfocusin=autoBlur;
</script>
<link rel="stylesheet" href="css.css" type="text/css">
<style type="text/css">
<!--
.style1 {color: #7b7953}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="20" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('image/meun_s1.jpg','image/meun_s2.jpg','image/meun_s3.jpg','image/meun_s4.jpg','image/meun_s5.jpg','image/d_menu2s.jpg','image/meun_s6.jpg','image/meun_s7.jpg')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="947" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="214"><a href="index.html"><img src="image/logo.jpg" width="214" height="88" border="0"></a></td>
<td width="733" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_1','','image/meun_s1.jpg',1)"><img src="image/meun_1.jpg" name="top_menu_1" width="64" height="30" border="0"></a></td>
<td><a href="contents/company_1.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_2','','image/meun_s2.jpg',1)"><img src="image/meun_2.jpg" name="top_menu_2" width="76" height="30" border="0"></a></td>
<td><a href="contents/repair_1.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_3','','image/meun_s3.jpg',1)"><img src="image/meun_3.jpg" name="top_menu_3" width="96" height="30" border="0"></a></td>
<td><a href="contents/care.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_4','','image/meun_s4.jpg',1)"><img src="image/meun_4.jpg" name="top_menu_4" width="87" height="30" border="0"></a></td>
<td><a href="board/board.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_5','','image/meun_s5.jpg',1)"><img src="image/meun_5.jpg" name="top_menu_5" width="64" height="30" border="0"></a></td>
<td width="235"></td>
<td><a href="qna/qna.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_6','','image/meun_s6.jpg',1)"><img src="image/meun_6.jpg" name="top_menu_6" width="45" height="30" border="0"></a></td>
<td><a href="contents/link.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('top_menu_7','','image/meun_s7.jpg',1)"><img src="image/meun_7.jpg" name="top_menu_7" width="66" height="30" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" bgcolor="edebdc"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="contents/crown.html"><img src="image/d_menu1.jpg" width="119" height="32" border="0"></a></td>
<td><a href="contents/yamaha.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('down_menu_2','','image/d_menu2s.jpg',1)"><img src="image/d_menu2.jpg" name="down_menu_2" width="154" height="32" border="0"></a></td>
<td width="460"></td>
</tr>
<tr>
<td height="25" colspan="3"><iframe src=" http://limflute.com/limflute/gnuboard4/login.php" height="25" frameborder="0" width="100%" marginwidth="0" marginheight="0" scrolling="no" ></iframe><!-- 서브메뉴--> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="7"></td>
</tr>
<tr>
<td height="424" background="image/main_img.jpg"> </td>
</tr>
<tr>
<td height="105" align="center" valign="top"><table width="947" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="13" colspan="9"> </td>
</tr>
<tr>
<td width="7"> </td>
<td width="118"><img src="image/news.jpg" width="118" height="77"></td>
<td width="234" height="77">
<td> <? echo latest("basic", "board" 3, 70); ?></td>
</td>
</tr>
</table></td>
<td width="20"> </td>
<td width="118"><img src="image/board.jpg" width="118" height="77" border="0"></td>
<td width="240" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="board">
<tr>
<td width="14" height="20" align="right"><img src="image/dot.jpg" width="9"></td>
<td height="20">어제 말씀드렸던 패드수리요~</td>
<td width="62" height="20" align="right" valign="middle"> [2010.03.23]</td>
</tr>
<tr>
<td height="19" align="right"><img src="image/dot.jpg" width="9"></td>
<td height="19">사무실 이전 </td>
<td height="19"> </td>
</tr>
<tr>
<td height="19" align="right"><img src="image/dot.jpg" width="9"></td>
<td height="19">홈페이지 새로 오픈했습니다 </td>
<td height="19"> </td>
</tr>
<tr>
<td height="19" align="right"><img src="image/dot.jpg" width="9"></td>
<td height="19">림스플릇</td>
<td height="19"> </td>
</tr>
</table></td>
<td width="20"> </td>
<td valign="top"><img src="image/banner.jpg" width="177" height="77"></td>
<td width="7"> </td>
</tr>
<tr>
<td height="15" colspan="9"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="947" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1" bgcolor="eceadb"></td>
</tr>
<tr>
<td><img src="image/copyright.jpg" width="947" height="66"></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
댓글 전체