안녕하세요 그루보드를 초보사용자입니다.
제가 메인에 최신게신물을 추출중에 모르는점이 있어 문의드립니다.
메인게시물이 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> <a href="/">Login</a> <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"> </td>
<td width="632" align="left" valign="top"><? include_once("./seach/seach.php"); ?></td>
<td width="19"> </td>
</tr>
<tr>
<td> </td>
<td align="left" valign="top"><?=popular("zbasic",4)?></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td align="left" valign="middle" bgcolor="#c0c0c0" style="border:#c0c0c0 1px solid;"><strong> 메뉴(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"> </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"> </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>
<? 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>
제가 메인에 최신게신물을 추출중에 모르는점이 있어 문의드립니다.
메인게시물이 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> <a href="/">Login</a> <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"> </td>
<td width="632" align="left" valign="top"><? include_once("./seach/seach.php"); ?></td>
<td width="19"> </td>
</tr>
<tr>
<td> </td>
<td align="left" valign="top"><?=popular("zbasic",4)?></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td align="left" valign="middle" bgcolor="#c0c0c0" style="border:#c0c0c0 1px solid;"><strong> 메뉴(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"> </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"> </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>
<? 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>
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 2개
갤러리같은 경우는 공간이 에메하게 좁아서 안나오는 경우를 봤습니다.
혹시 모르니 들어갈 자리를 확 늘려 보세요. 아니면 이미지를 크기를 줄여 보시던가.