j

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

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

<?
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}]&nbsp;<strong>{$list[$i]['subject']}</strong>";
            else
                echo "[{$latest_date}]&nbsp;{$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]?>이게 보드제목인데
이거를 분류별 타이틀로 바꿔서 출력하려면 어떻게 수정해야 하는지용??
|

댓글 2개

아래의 링크를 참고해 보세요.
http://www.sir.co.kr/bbs/tb.php/g4_skin/16694
http://www.sir.co.kr/bbs/tb.php/g4_tiptech/7246
아넵감사 도움이 됐습니다^^
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
19년 전 조회 1,532
19년 전 조회 1,546
19년 전 조회 1,525
19년 전 조회 1,528
19년 전 조회 1,516
19년 전 조회 1,602
19년 전 조회 1,291
19년 전 조회 1,604
19년 전 조회 1,320
19년 전 조회 1,444
19년 전 조회 1,275
19년 전 조회 1,536
19년 전 조회 1,571
19년 전 조회 1,547
19년 전 조회 2,159
19년 전 조회 2,473
19년 전 조회 1,520
19년 전 조회 1,565
19년 전 조회 1,606
19년 전 조회 1,449
🐛 버그신고