메인에 최신게시판(최신글) 추출시 모두 2개씩만 추출이되네요 > 그누4 질문답변

그누4 질문답변

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

메인에 최신게시판(최신글) 추출시 모두 2개씩만 추출이되네요 정보

메인에 최신게시판(최신글) 추출시 모두 2개씩만 추출이되네요

본문

안녕하세요 그루보드를 초보사용자입니다.

제가 메인에 최신게신물을 추출중에 모르는점이 있어 문의드립니다.

메인게시물이 2개로 고정을 안했는데도 모든 추출게시물들이 동시에 2개로 보여지네요

어떠한 문제가 있는건가요

고수님들 도움부탁드립니다.

소스는 이렇습니다.

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<style type="text/css">
<!--
body {
color: #FFF;
}
.log {
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
color:666666
}
.style2 {
color: #8ab326
}
.style3 {
font-size: 11px
}
.style5 {
color: #999999
}
-->
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"><table width="1024" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center"><table width="1024" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="35" align="right" valign="middle" class="log" style="padding-top:30px; padding-right:10px;"><a href="/">Home</a>&nbsp;  &nbsp; <a href="/">Login</a>&nbsp;  &nbsp; <a href="javascript:toggleLayer('commentForm');">Sitemap</a></td>
              </tr>
            </table>
            <table width="1024" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><table width="765" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="199" rowspan="2" align="center"><a href="/">로고넣는곳</a></td>
                      <td width="540" align="left" valign="top"></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top"></td>
                    </tr>
                  </table>
                  <table width="1024" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td colspan="3" align="center"><? include_once("$g4[path]/include/topmenu.php"); //위메뉴?>
                        <? //include_once("$g4[path]/include/topmenu1.php"); //위메뉴?>
                        <?=latest("carousel-xtx", "lee", 10, 40)?>
                        <table width="1024" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="310">&nbsp;</td>
                            <td width="632" align="left" valign="top"><? include_once("./seach/seach.php"); ?></td>
                            <td width="19">&nbsp;</td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                            <td align="left" valign="top"><?=popular("zbasic",4)?></td>
                            <td>&nbsp;</td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="middle" bgcolor="#c0c0c0" style="border:#c0c0c0 1px solid;"><strong>&nbsp; 메뉴(Menu)</strong></td>
                      <td align="left" valign="middle" bgcolor="#c0c0c0" style="border:#c0c0c0 1px solid;"><?=latest('flashticker','lee', "4", "50");?></td>
                      <td align="left" valign="top" bgcolor="#c0c0c0" style="border:#c0c0c0 1px solid"><?=popular("popular_scroll")?></td>
                    </tr>
                    <tr>
                      <td height="8" colspan="3" align="left" valign="top"></td>
                    </tr>
                    <tr>
                      <td width="204" rowspan="3" align="left" valign="top"><? include_once("$g4[path]/include/leftmenu.php"); //왼쪽메뉴?></td>
                      <td width="668" align="center" valign="top" style="border:#cccccc 1px solid"><table width="96%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="center"><?=latest("sd_dm", "gallery", 3, 70)?></td>
                          </tr>
                        </table>
                        <table width="98%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px;">
                          <tr>
                            <td></td>
                          </tr>
                        </table>
                      <td width="184" rowspan="3" align="right" valign="top"><table width="176" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px;">
                          <tr>
                            <td style="border:#cccccc 1px solid"><?=outlogin("out_login_sj"); // 외부 로그인 ?></td>
                          </tr>
                        </table>
                        <?=popular("pink_popular")?></td>
                    </tr>
                    <tr>
                      <td width="668" align="left"><? //include_once("$g4[path]/include/menu.php"); //왼쪽메뉴?>
                    </tr>
                    <tr>
                      <td width="668" align="center" ><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:3px 0 3px 0">
                          <tr>
                            <td width="50%"><?=latest("line", "gallery", 5, 30)?></td>
                            <td width="4px">&nbsp;</td>
                            <td width="50%"><?=latest("line", "gallery", 5, 30)?></td>
                          </tr>
                        </table>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px;">
                          <tr>
                            <td width="50%"><?=latest("line", "gallery", 5, 30)?></td>
                            <td width="4px">&nbsp;</td>
                            <td width="50%"><?=latest("line", "gallery", 5, 30)?></td>
                          </tr>
                        </table>
                        <?=latest("c_02", "gallery", 10)?>
                    </tr>
                  </table>
                  <a href="javascript:toggleLayer('commentForm');" title="Add a comment to this entry" class="commentLink" ><strong><span class="style2" style="padding-left:10px;">All
                  Menu</span></strong></a>&nbsp;
                  <? include_once("all_menu/all_menu.php");?>
              </tr>
            </table>
            <table width="1024" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td bgcolor="#c0c0c0">                 
                  </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<p>
  <?
include_once("./_tail.php");
?>
</p>

댓글 전체

저도 이런 비슷한 경험을 한적이 있는데요.
갤러리같은 경우는 공간이 에메하게 좁아서 안나오는 경우를 봤습니다.
혹시 모르니 들어갈 자리를 확 늘려 보세요. 아니면 이미지를 크기를 줄여 보시던가.
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT