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

$xp['per'] = round($xp['per']);

// 글쓴이 xp 가져오기
$xp_bar = 'sign_xp_bar';
if($xp['per'] == "100") $xp_bar = 'sign_xp_maxbar';

?>

<dl class="view_sign">
<dt><b><?php echo $xp['icon']; ?> <?php echo $name; ?></b> &nbsp;<span class="xp_grade"><?php echo $xp['grade']; ?></span></dt>
	<dd>
		<ul>
		<li><div class="sign_xp_percent"><?php echo $xp['per']; ?>%</div></li>
		<li><div class="<?php echo $xp_bar; ?>"><div style="width:<?php echo $xp['per']; ?>%"></div></div></li>
		<li class="cnt"><em>Exp</em><?php echo number_format($xp['xp']); ?></li>
		<li class="cnt"><em>Point</em><?php echo number_format($xp['point']); ?></li>
		</ul>
	</dd>
<dd class="signature">
	<?php echo $signature; ?>
</dd>
</dl>