최신글을 분류별로 뽑아서 쓰고있는데여; > 그누4 질문답변

그누4 질문답변

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

최신글을 분류별로 뽑아서 쓰고있는데여; 정보

최신글을 분류별로 뽑아서 쓰고있는데여;

본문

최신글을 분류별로 뽑아서 쓰고있는데요
 
그런데
아래소스를 보시면
최신글 스킨 소스보시면

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

<table width=100% cellpadding=0 cellspacing=0>
<tr><td>
<table width=350 cellpadding="0" cellspacing="0" height="26">
    <tr>
        <td  width=320 height="24"><img src="<?=$latest_skin_path?>/img/board_icon1.gif" align="absmiddle"> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
        <td width="30" height="24">
            <p><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/more_img.gif" width="27" height="9" border=0></a></p>
        </td>
    </tr>
    <tr>
        <td width=350 colspan="2" background="<?=$latest_skin_path?>/img\board_bar.gif" height="2"></td>
    </tr>
</table>
</td></tr>
  <tr>
                        <td height="5"></td>
                    </tr>
<!-- 최신글 목록 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<tr height="26">
    <td colspan=4 >
        <table width=100% cellpadding=5>

        <tr >
            <?

//날짜표시
$date1 = substr($list[$i][datetime],0,10); //날짜표시형식변경
$date = explode("-", $date1);
            $year = $date[0];
            $month = $date[1];
            $day = $date[2];
            $latest_date = $month."/".$day."";

            echo $list[$i]['icon_reply'] . " ";
            echo "<a href='{$list[$i]['href']}'>";
            if ($list[$i]['is_notice'])
                echo "[{$latest_date}] <strong>{$list[$i]['subject']}</strong>";
            else
                echo "[{$latest_date}] {$list[$i]['subject']}";
            echo "</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_hot'];
            echo " " . $list[$i]['icon_secret'];
            ?></td></tr>
      <tr><td bgcolor=#eeeeee height=1></td></tr>
        </table></td>
</tr>
<? } ?>

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

</table>
--------------------------------------------------------------------

<?=$board[bo_subject]?>이게 보드제목인데
이거를 분류별 타이틀로 바꿔서 출력하려면 어떻게 수정해야 하는지용??
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로