최신 갤러리 에서 사진 추출 문제입니ㅏ.
현재 최신갤러리에서 사진을 뽑아오는데
현재로는 한칸에 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개
http://www.sir.co.kr/bbs/board.php?bo_table=g3_tiptech&wr_id=1975&sca=&sfl=wr_subject&stx=%C7%D1%C4%AE%B7%B3&sop=and