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

if(!defined('GOOD_BASIC')) {
	define('GOOD_BASIC', true);
	echo '<link rel="stylesheet" href="'.$good_skin_url.'/good.css">'."\n";
}

?>

<p class="good-view">
<?php if ($board[bo_use_good]) { ?>
	<a href="javascript:amina_good('<?php echo AMINA_URL; ?>/good.php?bo_table=<?php echo $bo_table; ?>&wr_id=<?php echo $wr_id; ?>&good=good','good<?php echo $wr_id; ?>');"><span class="gg"><span class="none">추천 </span><span id="good<?php echo $wr_id; ?>"><?php echo $good_cnt; ?></span></span></a>
<?php } ?>
<?php if ($board[bo_use_nogood]) { ?>
	<a href="javascript:amina_good('<?php echo AMINA_URL; ?>/good.php?bo_table=<?php echo $bo_table; ?>&wr_id=<?php echo $wr_id; ?>&good=nogood','nogood<?php echo $wr_id; ?>');"><span class="gn"><span class="none">비추천 </span><span id="nogood<?php echo $wr_id; ?>"><?php echo $nogood_cnt; ?></span></span></a>
<?php } ?>
</p>