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

<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
	<tr height="1">
		<td bgcolor="#d9d9d9" colspan="3"></td>
	</tr>
	<tr>
		<td width="1" bgcolor="#d9d9d9"></td>
		<td>
		<table cellpadding="0" cellspacing="2" width="100%">
			<tr>
				<td background="<?=$latest_skin_path?>/img/title_bg_25.gif">
				<table cellpadding="5" cellspacing="0" width="100%" border="0">
					<tr height="25">
						<td>&nbsp;
						<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font color="#555555" ><b><?=$board[bo_subject]?></b></font></a>
						</td>
						<td align="right"><img src='<?=$latest_skin_path?>/img/icon.gif'><span style="font-size: 12px; color: #646464; font-family:dotum; letter-spacing:-1;"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>&nbsp;더 보기</a></span>&nbsp;&nbsp;</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>		
		</td>
		<td width="1" bgcolor="#d9d9d9"></td>
	</tr>
	<tr height="1">
		<td bgcolor="#d9d9d9" colspan="3"></td>
	</tr>
</table>

<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
	<tr height="5"><td width="1" bgcolor="#d9d9d9"></td><td colspan="2"></td><td width="1" bgcolor="#d9d9d9"></td></tr>
	<? for ($i=0; $i<count($list); $i++) {?>
	<tr>
		<td width="1" bgcolor="#d9d9d9"></td>
		<td width="5"></td>
		<td height="21">
		<?
		//날짜표시
		$subject = $list[$i][subject];
		$b_subject = "<strong>".$list[$i][subject]."<strong>";
		?>
		<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
			<tr>
				<td width=25 align=right><span style='font-family:돋음; font-size:10px; color:#777777;'><?=$list[$i][wr_id]?></span></td>
				<td>&nbsp;&nbsp;&nbsp;<a href='<?=$list[$i][href]?>'><span style="color:#555555;"><?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]?>							<?
						echo " " . $list[$i][icon_new];
						echo " " . $list[$i][icon_hot];
						echo " " . $list[$i][icon_file];
						echo " " . $list[$i][icon_link];
						echo " " . $list[$i][icon_secret];
						?>
					</span>
				&nbsp;<span style='font:normal 11px tahoma; color:#BABABA;'><?=$list[$i][datetime2]?></span>
				</td>
				<td width="60" align="center" class='small'><?=$list[$i][name]?></td>
			</tr>
		</table>
		</td>
		<!--게시물 추출 글자 설정 끝-->
		<td width="1" bgcolor="#d9d9d9"></td>
	 </tr>
	 <? } ?>
	 <? if (count($list) == 0) { ?><? } ?>
	 <tr height="5"><td width="1" bgcolor="#d9d9d9"></td><td colspan="2"></td><td width="1" bgcolor="#d9d9d9"></td></tr>
	 <tr height="1">
		<td bgcolor="#d9d9d9" colspan="4"></td>
	</tr>
</table>