<? if (!defined("_GNUBOARD_")) exit; ?>
<link rel="stylesheet" href="<?=$latest_skin_path?>/style.css" />

<div class="zm_latest_list_box">
	<div class="latest_title"><div><span class="sbj"><?=$board[bo_subject]?></span></div><div onclick="zm_gourl('<?=$g4[path]?>/bbs/board.php?bo_table=<?=$bo_table?>')">더보기<img src="<?=$g4[url]?>/zm.extend/img/icon_arrow_r.gif">&nbsp;&nbsp;</div></div>
<? for ($i=0; $i<count($list); $i++) : ?>
	<ul>
		<li onclick="zm_gourl('<?=$list[$i]['href']?>')"><span class="zm_latest_list_subject"><?=$list[$i]['subject']?> <?=($list[$i]['comment_cnt']) ? "<span class='zm_latest_comment'>".$list[$i]['comment_cnt']."</span>" : ""?></span><span class="zm_latest_list_datetime"><?=$list[$i]['datetime2']?></span>
		</li>
	</ul>
<? endfor; ?>

<? if ($board_err) : ?>
	<div style="padding:8px 0 80px 5px; color:#242424; font-size:13px;">· 없는 게시판 입니다.</div>
<? elseif(count($list) == 0) : ?>
	<div style="padding:8px 0 80px 5px; color:#242424; font-size:13px;">· 등록 된 글이 없습니다.</div>
<? endif; ?>
</div>