<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 
?>
<style type="text/css">
#zmb_popular_body	{ width:200px; margin:auto; margin-bottom:4px; }

.bold	{ font-weight:bold; }
.normal	{ font-weight:normal; }
.small	{ font-size:11px; color:#A2A2A2;  }

.list_none		{ list-style:none; text-align:left; margin:0px; padding:0px; }
.popular_word	{ display:inline-block; width:140px; }
#popular_title	{ color:#5A74AA; font-weight:bold; border-bottom:1px solid #E3E3E3; padding:4px 0 4px 0; }
#zmb_popular_body li { padding:2px 0 2px 0; }
#zmb_popular_body li span a {color:#202020; }
</style>

<div id="zmb_popular_body">
<div id="popular_title">인기검색어</div>
<ul class="list_none">
<? for ($i=0; $i<count($list); $i++) : ?>
	<li>
		<span><img src="<?=$popular_skin_path?>/img/icon_num_<?=$i+1?>.gif"></span>
		<span class="popular_word <?=($i==0)?'bold':'normal'?>"><a href='<?=$g4[bbs_path]?>/search.php?sfl=wr_subject&sop=and&stx=<?=urlencode($list[$i][word])?>' title="<?=$list[$i][word]?>"><?=cut_str($list[$i][word], 20, "")?></a></span>
		<span class="small"><?=$list[$i][icon]?> <?=$list[$i][changerank]?></span>
	</li>
<? endfor; ?>
</ul>
</div>