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

<link rel="stylesheet" href="<?=$popular_skin_path?>/style.css" type="text/css">

<table style="border:3px solid #dbe5f3;" width="180" cellpadding="0" cellspacing="0" align="center" valign="top">
	<tr>
		<td width="10" height="5"></td>
		<td width="160" height="5"></td>
		<td width="10" height="5"></td>
	</tr>
	<tr>
		<td width="10" height="20"></td>
		<td width="160" height="20"><span class=Tkeyword>실시간 인기 검색어</span></td>
		<td width="10" height="20"></td>
	</tr>
	<tr>
		<td width="10" height="1"></td>
		<td bgcolor="#dbe5f3" width="160" height="1"></td>
		<td width="10" height="1"></td>
	</tr>
	<tr>
		<td width="10" height="5"></td>
		<td width="160" height="5"></td>
		<td width="10" height="5"></td>
	</tr>
	<tr>
		<td width="10"></td>
		<td width="160">
<table width="160" cellpadding="0" cellspacing="0" border="0">
<? for ($i=0; $i<count($list); $i++) { ?>
	<tr>
		<td width="140" height="20">
<?
echo "<img src={$popular_skin_path}/img/rank_$i.gif width=12 height=11 align=absmiddle>&nbsp;<a href='$g4[bbs_path]/search.php?sfl=wr_subject%7C%7Cwr_content&sop=and&stx=".urlencode($list[$i][pp_word])."'>".cut_str(get_text($list[$i][pp_word]),16)."</a>";
?></td>
		<td width="20" align="right">
<span class=cnt><?=$list[$i][cnt]?></span></td>
	</tr>
<? } ?>
	<tr><td height="5"></td><td height="5"></td></tr>
</table></td>
		<td width="10"></td>
	</tr>
</table>
