최신글에서 카테고리 나타내기

최신글에서 카테고리 나타내고 싶은데요..
 
<?=$list[ca_name]?> 이렇게 해도 안나타나는데 어떻게 해야하나요
|

댓글 4개

<?=$list[$i][ca_name]?>
빠른 답변 감사합니다
그래도 안나오네요
전체소스는

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

<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width='232' height=25 align=center><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a> 카테고리 [ <?=$list[$i][ca_name]?> ] -more</td>
</tr>
<TR>
<TD bgColor=#c0c0c0 height=1></TD></TR>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align=center>
<table width=95%>
<tr>
<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>&nbsp;&nbsp;
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$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; 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'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?></td></tr>
<tr><td bgcolor=#EBEBEB height=1></td></tr>
</table></td>
</tr>
<? } ?>

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

</table>

입니다
<? for ($i=0; $i<count($list); $i++) { ?>
코드 밑 부분에 넣어주셔야 합니다.
감사합니다
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
18년 전 조회 1,527
18년 전 조회 1,568
18년 전 조회 1,619
18년 전 조회 1,395
18년 전 조회 1,547
18년 전 조회 1,666
18년 전 조회 1,650
18년 전 조회 1,512
18년 전 조회 1,832
18년 전 조회 1,539
18년 전 조회 1,583
18년 전 조회 1,560
18년 전 조회 1,524
18년 전 조회 1,644
18년 전 조회 1,545
18년 전 조회 1,265
18년 전 조회 1,550
18년 전 조회 1,907
18년 전 조회 1,566
18년 전 조회 1,742
🐛 버그신고