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

$category_list = explode("|", $board['bo_category_list']);

?>
<nav>
	<link rel="stylesheet" href="<?php echo $cate_skin_url.'/'.$amina['cate_css']; ?>.css" />
	<div class="category-basic">
		<ul>
		<li class="end"><a><span id="post_cnt">글 <span class="cnt"><?php echo number_format($total_count); ?></span> 개</span></a></li>
		<li <?php if (!$sca) echo 'class="on"'; ?>><a href="<?php echo G4_BBS_URL; ?>/board.php?bo_table=<?php echo $bo_table.$frame_opt; ?>">전체</a></li>
		<?php for ($i=0, $m=sizeof($category_list); $i<$m; $i++) { ?>
			<li <?php if ($sca == $category_list[$i]) echo 'class="on"'; ?>>
				<a href="<?php echo G4_BBS_URL; ?>/board.php?bo_table=<?php echo $bo_table; ?>&sca=<?php echo urlencode($category_list[$i]).$frame_opt; ?>"><?php echo $category_list[$i]; ?></a>
			</li>
		<?php } ?>
		</ul>
	</div>
	<div class="clear"></div>
</nav>