<? 
if (!defined("_GNUBOARD_")) exit; 

// 상단 타이틀
if($gr_id){
$group_name = $group_name;
}else{
$group_name = '최신게시물';
}
?>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<? for ($i=0; $i<count($list); $i++) {  $icon = $i + 1; // 아이콘 ?>
	<tr>
		<td height="20">
		<?
		//날짜표시
		$subject = $list[$i][subject];
		$b_subject = "<strong>".$list[$i][subject]."<strong>";
		?>
		<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" v>
			<tr>
				<?if($icon <= 5) echo "<td width='16'><img src='{$latest_skin_path}/img/icon_{$icon}.gif' align='absmiddle'></td><td>"; else echo "<td width='16'><span style='color:#777777;font-weight:bold;'>ㆍ</span></td><td>";?><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$list[$i][bo_table]?>'><span style="font-size:11px; color: #aaaaaa; font-family:dotum;">[<?=$list[$i][bo_subject]?>]</span></a>&nbsp;&nbsp;			
				<a href='<?=$list[$i][href]?>'><span class="th8"><?if ($list[$i][is_notice])
						echo $b_subject;
					else
						echo $subject;
					?></span></a>
					<span style="font-size:7pt;font-family:tahoma;color:#EE5A00;vertical-align:1px;"><?=$list[$i][comment_cnt]?></span>
					<?
						//날짜표시 
						$date=date("y-m-d", strtotime($list[$i][datetime]));
						//echo " " . $list[$i][icon_file];					
						//echo " " . $list[$i][icon_link];
						//echo " " . $list[$i][icon_new];
						//echo " " . $list[$i][icon_hot];
						//echo " " . $list[$i][icon_secret];
					?>
					<!-- <span style='font:normal 11px tahoma; color:#BABABA;'><?=$date?></span> -->
					<!-- <span style="font-size:8pt;font-family:굴림;color:#aaaaaa;">[<?=$list[$i][name]?>]</span></td> -->
			</tr>
		</table>
		<!--게시물 추출 글자 설정 끝-->
		</td>
	 </tr>
	 <? } ?>
	 <? if (count($list) == 0) { ?><? } ?>
</table>