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

$c_w = 7;
$c_h = 7;

$t_h = 27;
?>



<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
    <td width="<?=$c_w?>" height="<?=$t_h?>"><img src="<?=$latest_skin_path?>/img/line_1.gif"></td>
    <td background="<?=$latest_skin_path?>/img/line_2.gif">
    <div style="padding:2px;">
    <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong>
    </div>
	</td>
    <td width="<?=$c_w?>" height="<?=$t_h?>"><img src="<?=$latest_skin_path?>/img/line_3.gif" ></td>
</tr>
<tr>
    <td background="<?=$latest_skin_path?>/img/line_4.gif"  width="<?=$c_w?>" ></td>
    <td>

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

<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td colspan=4 align=center>
        <table width=95%>
        <tr>
            <td height=20><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle> 
            <?
            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>

    </td>
    <td background="<?=$latest_skin_path?>/img/line_5.gif"  width="<?=$c_w?>" ></td>
</tr>
<tr>
    <td  width="<?=$c_w?>" height="<?=$c_h?>"><img src="<?=$latest_skin_path?>/img/line_6.gif" ></td>
    <td background="<?=$latest_skin_path?>/img/line_7.gif" height="<?=$c_h?>"></td>
    <td  width="<?=$c_w?>" height="<?=$c_h?>"><img src="<?=$latest_skin_path?>/img/line_8.gif" ></td>
</tr>
</table>