그룹별 최신 코멘트

그룹별 최신 코멘트를 출력하는 방법이나 스킨이 있나요?
검색을 해도 안나오고 방법 좀 알려주세요.

new.php 에서 나오는거 말구요.

최신글처럼 코멘트만 나오는거요..

고수님들 부탁드립니다.
|

댓글 3개

그룹별 최신글에서 조건문만 바꾸시면 됩니다.
엑스엠엘님 전 이런식으로 되있는 그룹 스킨을 쓰고 있습니다. 여기서 어떤걸 바꿔야 되죠?
제가 허접이라... ㅠ.ㅠ

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<table width=100% cellpadding=0 cellspacing=0 >


<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center >
<table width=95% valign=top border=0 cellpadding=0 cellspacing=0>
<tr>
<td height=22><img src="<?=$latest_skin_path?>/img/btn<?=$titles?>_<?=$i+1?>.gif" width="12" height="11" align="absmiddle">&nbsp;
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}' target=_parent>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:굴림; font-size:9pt; '>{$list[$i]['subject']}</font>";
else
echo "<font style='font-family:굴림; font-size:9pt; '>{$list[$i]['subject']}</font>";
echo "</a>";

//if ($list[$i]['comment_cnt']) //
//echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; '>{$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']}>"; }

?></td></tr>

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

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

</table>
아마도 이걸 불러 오는 lib 밑에는 파일을 고쳐야겠죠.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고