최신게시물 위치 바꿔주세요 ^^;;

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed;" background="<?=$latest_skin_path?>/img/top_bar_bg.gif">
<tr>
<td height=28><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>&nbsp;<font color="#333333"><b><?=$cat_row[$j]?></b></font></a></td>
<td height=28 background="<?=$latest_skin_path?>/img/top_bar_divi.gif" width="14"> </td>
<td align="right"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>&sca=<?=$cat_row[$j]?>'>More</a>&nbsp;</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr><td height=5></td></tr></table>

<table width=100% cellpadding=0 cellspacing=0 style="table-layout: fixed;">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align=center>
<table width=95% style="table-layout: fixed;">
<tr>
<td><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>&nbsp;
<nobr>
<?
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}'>";
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
echo "<img src='$g4[path]/data/file/{$list[$i][bo_table]}/mag01/$image' width='60' height='40' border=0 class=img>"; // 이미지크기
} else
echo "<img src='$latest_skin_path/img/no_image.gif' width='60' height='40' border=0>";

echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][subject]}</font>";
echo "</a>";
//##add06-04-12
$qry=" SELECT count(*) as coment_cnt FROM $tmp_write_table WHERE wr_parent=".$list[$i][wr_parent]." and wr_is_comment >0 $ssh_wr_nogood ";
$cnt_val= sql_fetch($qry);
if ($cnt_val[coment_cnt]>0) {$list[$i][comment_cnt]="(".$cnt_val[coment_cnt].")";}
//##add06-04-12

if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";

// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

echo " " . $list[$i][icon_new];
?>
</nobr>
</td></tr>

</table></td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>

</table>


현재 최근 게시물이 아래로 진행 됩니다. 그러니까 리스트에서 출력시에 말이죠.

1
2
3
4

이런식?

이것을

1 2
3 4
5 6

이런식으로 어떻게 해야 변경 되나요?
|

댓글 1개

http://www.sir.co.kr/bbs/tb.php/g4_skin/42204/e32cb658eeb848bfd66e76127b2ff27c

스킨자료실에 두줄스킨이 있네요.
이 스킨을 가지고 응용하셔야 합니다.
새로 만드는것은 스킨제작의뢰 하셔야 할겁니다.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
17년 전 조회 1,562
17년 전 조회 1,629
17년 전 조회 1,576
17년 전 조회 1,925
17년 전 조회 1,902
17년 전 조회 1,548
17년 전 조회 1,637
17년 전 조회 1,571
17년 전 조회 2,047
17년 전 조회 1,488
17년 전 조회 1,738
17년 전 조회 2,250
17년 전 조회 1,540
17년 전 조회 1,635
17년 전 조회 1,995
17년 전 조회 1,678
17년 전 조회 1,615
17년 전 조회 1,656
17년 전 조회 1,558
17년 전 조회 1,093
🐛 버그신고