게시판 출력 부분 > 그누4 질문답변

그누4 질문답변

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

게시판 출력 부분 정보

게시판 출력 부분

본문

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

<table width=100% align=center cellpadding=0 cellspacing=0>
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>
<tr>
<tr>
<td width=20 style="padding-left:8; border-top-width:1; border-right-width:0; border-bottom-width:1; border-left-width:1; border-top-color:silver; border-right-color:silver; border-bottom-color:silver; border-left-color:silver; border-style:solid;" bgcolor="#FFFFFF" height="30"><img src='<?=$latest_skin_path?>/img/fr_img.gif' border=0></a></td>
    <td width="70%" style="padding-top:4; padding-left:10; border-top-width:1; border-right-width:0; border-bottom-width:1; border-left-width:0; border-top-color:silver; border-right-color:black; border-bottom-color:silver; border-left-color:black; border-style:solid;" height="30" bgcolor="#FFFFFF"><strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
        <td align="right" style="padding-right:12; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:0; border-top-color:silver; border-right-color:silver; border-bottom-color:silver; border-left-color:black; border-style:solid;" bgcolor="#FFFFFF" height="30"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>모두보기</a></td>
    </tr>

<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
        <td colspan=3 align=center height="22">

            <table width="100%" align="center" cellspacing="0" style="border-collapse:collapse;">
                <tr>
                    <td height=22 width="" valign=center style="padding-top:2; padding-left:8;"><img src='<?=$latest_skin_path?>/img/arrow.gif' align=absmiddle>
<?
            echo $list[$i][icon_reply] . " ";
            echo "<a href='{$list[$i][wr_link1]}' target=blank>";
            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>
            </table></td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=40 style="border-width:0; border-color:black; border-style:solid;"><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>

뉴스게시판의 글을 불러오는 소슨데요..
새글은 굵게 표현하거나 new가 뜨게 할 수 있나해서요.. ^^
  • 복사

댓글 전체

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