<최근게시물> 메인에 3개 연속 불러들이기 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

<최근게시물> 메인에 3개 연속 불러들이기 정보

<최근게시물> 메인에 3개 연속 불러들이기

본문

안녕하세요. 최근 게시물 관련 질문좀 하고 싶어요.

메인에 3개의 최근 게시물을 올려놨는데
이상한건 같은 스킨으로 3개가 표시가 안되네요. ㅜ.ㅜ

  <?
echo latest("elpis_photo", "best", 4, 15);
?>

했는데 첫 번째 것만 하면 되는데

  <?
echo latest("elpis_photo", "best", 4, 15);
?> 

<?
echo latest("elpis_photo", "new", 4, 15);
?> 

<?
echo latest("elpis_photo", "sale", 4, 15);
?>


이렇게 연속으로 하니 안되네요..
무식하게 소스 올립니다..



<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>:: Welcome, Babiesbum is a space for your babies..</title>
<style type="text/css">
<!--
body {
background-image: url(img/bg_icon.gif);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
        A:hover{text-decoration:none}

}
-->
</style>



</head>

<body tracingsrc="Main_Trace.jpg" tracingopacity="40">
<table width="965" height="999" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="326" height="90" align="center"><img src="img/logo.gif" alt="" width="200" height="71" border="0" usemap="#Map2" /></td>
    <td width="712"><table width="581" border="0">
      <tr>
        <td width="28">&nbsp;</td>
        <td width="543"><img src="img/navi.gif" width="535" height="68" border="0" usemap="#Map" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="566" valign="top"><table width="95%" border="0">
      <tr>
        <td width="29" height="83">&nbsp;</td>
        <td width="300">&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><img src="img/sub/sub_visu.jpg" width="189" height="148" /></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="244">&nbsp;</td>
        <td valign="top" background="img/notice_bg.jpg"><table width="243" height="214" border="0">
          <tr>
            <td width="22" height="61">&nbsp;</td>
            <td width="230">&nbsp;</td>
          </tr>
          <tr>
            <td height="130">&nbsp;</td>
            <td align="left">



<?
echo latest("basic", "notice", 4, 50);
?>




&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td valign="top"><table width="597" height="568" border="0">
      <tr>
        <td height="15" colspan="3">&nbsp;</td>
        </tr>
      <tr>
        <td height="144" colspan="3"><table width="100%" border="0">
          <tr>
            <td width="5%">&nbsp;</td>
            <td width="95%"><img src="img/brand_info.jpg" width="556" height="157" /></td>
          </tr>
        </table></td>
        </tr>
      <tr>
        <td width="37" height="15">&nbsp;</td>
        <td width="139">&nbsp;</td>
        <td width="407">&nbsp;</td>
      </tr>
      <tr>
        <td height="116">&nbsp;</td>
        <td><img src="img/product_1.jpg" width="136" height="99" border="0" usemap="#Map3" /></td>
        <td align="center">

<?
echo latest("elpis_photo", "new", 4, 15);
?>

 </td>
      </tr>
      <tr>
        <td height="15">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="116">&nbsp;</td>
        <td><img src="img/product_2.jpg" width="136" height="99" border="0" usemap="#Map4" /></td>
        <td align="center">

        <?
echo latest("elpis_photo", "best", 4, 15);
?>


 
</td>
      </tr>
      <tr>
        <td height="15">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="116">&nbsp;</td>
        <td><img src="img/product_3.jpg" width="132" height="99" border="0" usemap="#Map5" /></td>
        <td align="center">

  <?
echo latest("elpis_photo", "sale", 4, 15);
?>



&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="188" colspan="2"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="img/copright_img.gif" width="305" height="88" /></td>
      </tr>
      <tr>
        <td><img src="img/copyright.gif" width="900" height="96" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<p>&nbsp;</p>

<map name="Map" id="Map"><area shape="rect" coords="29,28,106,52" href="http://ghkdlxld1226.cafe24.com/bbs/board.php?bo_table=notice" target="_self" />
<area shape="rect" coords="146,29,198,49" href="http://ghkdlxld1226.cafe24.com/bbs/board.php?bo_table=new" target="_self" />
<area shape="rect" coords="234,28,286,51" href="http://ghkdlxld1226.cafe24.com/bbs/board.php?bo_table=event" target="_self" />
<area shape="rect" coords="322,28,429,53" href="http://ghkdlxld1226.cafe24.com/bbs/board.php?bo_table=bphoto" target="_self" />
<area shape="rect" coords="464,30,505,51" href="http://ghkdlxld1226.cafe24.com/bbs/board.php?bo_table=qna" target="_self" />
</map>
<map name="Map2" id="Map2"><area shape="rect" coords="5,5,193,67" href="http://www.babiesbum.com" target="_self" />
</map>
<map name="Map3" id="Map3"><area shape="rect" coords="7,5,130,92" href="http://ghkdlxld1226.cafe24.com/bbs/board.php?bo_table=new" target="_self" />
</map>
<map name="Map4" id="Map4"><area shape="rect" coords="3,3,132,96" href="http://ghkdlxld1226.cafe24.com/bbs/board.php?bo_table=best" target="_self" />
</map>
<map name="Map5" id="Map5"><area shape="rect" coords="3,1,125,96" href="http://ghkdlxld1226.cafe24.com/bbs/board.php?bo_table=sale" target="_self" />
</map></body>
</html>



고수님들 도와주세요...ㅜ.ㅜ
  • 복사

댓글 전체

자체 해결 했습니다. ^^;

스킨 설정화일이 중복 스크립트가 있더군요.
 
투사님 관심 감사합니다. ^^;

혹시나 해서 제 경우를 자세히 말씀드리면

include나 latest 스킨을 메인에 불러드리면 해석기에선 하나의 페이지로 죽~ 해석한다는걸
잊었던것 같습니다. -.-;

그럼, 감사합니다.
© SIRSOFT
현재 페이지 제일 처음으로