최근글 가로 배열하기 ? 정보
그누보드 최근글 가로 배열하기 ?본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0 align=center border=0>
<tr>
<td width=3 rowspan=3><img src='<?=$latest_skin?>/latest_01.gif' width=3 height=22></td>
<td height=1 colspan=2 bgcolor='#C9759F' width=100%></td>
<td rowspan=3 width=3><img src='<?=$latest_skin?>/latest_02.gif' width=3 height=22></td>
</tr>
<tr>
<td height=22> <a href='./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>'><font color=#002200><b><?=$bo_subject?></b></font></a></td>
<td align=right><a href='./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>'><img src='<?=$latest_skin?>/icon_more.gif' border=0 width=43 height=11 align=absmiddle></a> </td>
</tr>
<tr><td height=1 colspan=2 bgcolor='#AFAFAF'></td></tr>
<tr>
<td colspan=4>
<table width=100% bgcolor=#FFFFFF cellpadding=0 cellspacing=0 border=0>
<tr><td colspan=2 height=10></td></tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($i) { echo "<tr><td colspan=2 height=1 background='$latest_skin/dot_line.gif' width=7 height=7></td></tr>"; } ?>
<tr>
<td width=30 align=center><img src='<?=$latest_skin?>/icon_li.gif' width=7 height=7></td>
<td width='' height=20><a href='<?="./?doc=bbs/board.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><span class=content><?=$list[$i][subject]?> <span style='font-size:8pt;'><?=$list[$i][commentcnt]?></span></span></a> <?=$list[$i][icon_new]?></td>
</tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=2 align=center height=50>자료가 없습니다.</td></tr>"; } ?>
<tr><td colspan=2 height=5></td></tr>
</table></td>
</tr>
</table>
__________________________________________________________________________________________________
위 소스는 그누보드 기본 최신글 소스입니다.
가로 배열하려면 어떻게 수정해야 됩니까?
부탁드립니다.!
좋은 하루 되시고요~
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0 align=center border=0>
<tr>
<td width=3 rowspan=3><img src='<?=$latest_skin?>/latest_01.gif' width=3 height=22></td>
<td height=1 colspan=2 bgcolor='#C9759F' width=100%></td>
<td rowspan=3 width=3><img src='<?=$latest_skin?>/latest_02.gif' width=3 height=22></td>
</tr>
<tr>
<td height=22> <a href='./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>'><font color=#002200><b><?=$bo_subject?></b></font></a></td>
<td align=right><a href='./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>'><img src='<?=$latest_skin?>/icon_more.gif' border=0 width=43 height=11 align=absmiddle></a> </td>
</tr>
<tr><td height=1 colspan=2 bgcolor='#AFAFAF'></td></tr>
<tr>
<td colspan=4>
<table width=100% bgcolor=#FFFFFF cellpadding=0 cellspacing=0 border=0>
<tr><td colspan=2 height=10></td></tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($i) { echo "<tr><td colspan=2 height=1 background='$latest_skin/dot_line.gif' width=7 height=7></td></tr>"; } ?>
<tr>
<td width=30 align=center><img src='<?=$latest_skin?>/icon_li.gif' width=7 height=7></td>
<td width='' height=20><a href='<?="./?doc=bbs/board.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><span class=content><?=$list[$i][subject]?> <span style='font-size:8pt;'><?=$list[$i][commentcnt]?></span></span></a> <?=$list[$i][icon_new]?></td>
</tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=2 align=center height=50>자료가 없습니다.</td></tr>"; } ?>
<tr><td colspan=2 height=5></td></tr>
</table></td>
</tr>
</table>
__________________________________________________________________________________________________
위 소스는 그누보드 기본 최신글 소스입니다.
가로 배열하려면 어떻게 수정해야 됩니까?
부탁드립니다.!
좋은 하루 되시고요~
댓글 전체
감솨합니다! 잘 됩니다^&^
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0 align=center border=0>
<tr>
<td width=3 rowspan=3><img src='<?=$latest_skin?>/latest_01.gif' width=3 height=22></td>
<td height=1 colspan=2 bgcolor='#C9759F' width=100%></td>
<td rowspan=3 width=3><img src='<?=$latest_skin?>/latest_02.gif' width=3 height=22></td>
</tr>
<tr>
<td height=22> <a href='./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>'><font color=#002200><b><?=$bo_subject?></b></font></a></td>
<td align=right><a href='./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>'><img src='<?=$latest_skin?>/icon_more.gif' border=0 width=43 height=11 align=absmiddle></a> </td>
</tr>
<tr><td height=1 colspan=2 bgcolor='#AFAFAF'></td></tr>
<tr>
<td colspan=4>
<table width=100% bgcolor=#FFFFFF cellpadding=0 cellspacing=0 border=0>
<tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<td width=30 align=center><img src='<?=$latest_skin?>/icon_li.gif' width=7 height=7></td>
<td width='' height=20><a href='<?="./?doc=bbs/board.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><span class=content><?=$list[$i][subject]?> <span style='font-size:8pt;'><?=$list[$i][commentcnt]?></span></span></a> <?=$list[$i][icon_new]?></td>
<? } ?>
<tr>
</table></td>
</tr>
</table>
이렇게 하면 될랑가 모르겠네요...
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0 align=center border=0>
<tr>
<td width=3 rowspan=3><img src='<?=$latest_skin?>/latest_01.gif' width=3 height=22></td>
<td height=1 colspan=2 bgcolor='#C9759F' width=100%></td>
<td rowspan=3 width=3><img src='<?=$latest_skin?>/latest_02.gif' width=3 height=22></td>
</tr>
<tr>
<td height=22> <a href='./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>'><font color=#002200><b><?=$bo_subject?></b></font></a></td>
<td align=right><a href='./?doc=bbs/gnuboard.php&bo_table=<?=$bo_table?>'><img src='<?=$latest_skin?>/icon_more.gif' border=0 width=43 height=11 align=absmiddle></a> </td>
</tr>
<tr><td height=1 colspan=2 bgcolor='#AFAFAF'></td></tr>
<tr>
<td colspan=4>
<table width=100% bgcolor=#FFFFFF cellpadding=0 cellspacing=0 border=0>
<tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<td width=30 align=center><img src='<?=$latest_skin?>/icon_li.gif' width=7 height=7></td>
<td width='' height=20><a href='<?="./?doc=bbs/board.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><span class=content><?=$list[$i][subject]?> <span style='font-size:8pt;'><?=$list[$i][commentcnt]?></span></span></a> <?=$list[$i][icon_new]?></td>
<? } ?>
<tr>
</table></td>
</tr>
</table>
이렇게 하면 될랑가 모르겠네요...