현재 최신갤러리에서 사진을 뽑아오는데
현재로는 한칸에 3줄로 나와 있습니다. 이것을 두칸에 3줄로 나오게하고 싶거든요.
즉 6개의 최신글을 뽑아오고 싶습니다.
어떻게 수정해야 되는지 고수님의 조언 부탁드립니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$g4[path]?>/img/main/<?=$bo_table?>.jpg' border=0></a></td>
</tr>
</table>
<ul class="latest_partner">
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
echo makeThumbs($g4[path]."/data/file/$bo_table", $list[$i][file][0][file], 156, 80, cut_str($list[$i][subject],20), $latest_skin_path);
echo "</a>";
?>
</li>
<? } ?>
<? if (count($list) == 0) { ?><li><font color=#6A6A6A>게시물이 없습니다.</font></li><? } ?>
</ul>
현재로는 한칸에 3줄로 나와 있습니다. 이것을 두칸에 3줄로 나오게하고 싶거든요.
즉 6개의 최신글을 뽑아오고 싶습니다.
어떻게 수정해야 되는지 고수님의 조언 부탁드립니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$g4[path]?>/img/main/<?=$bo_table?>.jpg' border=0></a></td>
</tr>
</table>
<ul class="latest_partner">
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
echo makeThumbs($g4[path]."/data/file/$bo_table", $list[$i][file][0][file], 156, 80, cut_str($list[$i][subject],20), $latest_skin_path);
echo "</a>";
?>
</li>
<? } ?>
<? if (count($list) == 0) { ?><li><font color=#6A6A6A>게시물이 없습니다.</font></li><? } ?>
</ul>
댓글 2개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기