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

<div id="at-logo">
	<span class="logo-left">
		<a href="<?php echo G5_URL;?>/?m=login"><i class="fa fa-user"></i><span class="sound_only"> <?php echo $is_member ? '내정보' : '로그인'; ?></span></a>
	</span>
	<span class="logo-right">
		<?php if($is_member) { ?>
			<a href="<?php echo G5_BBS_URL; ?>/logout.php"><i class="fa fa-power-off"></i><span class="sound_only"> 로그아웃</span></a>
		<?php } else { ?>
			<a href="<?php echo G5_BBS_URL; ?>/register.php"><i class="fa fa-sign-in"></i><span class="sound_only"> 회원가입</span></a>
		<?php } ?>
	</span>
	<span class="logo">
		<a href="<?php echo $site_url; ?>"><?php echo $site_logo; ?></a>
	</span>
</div>
<div id="at-menu">
	<table>
	<tr>
	<td class="first" title="메뉴보기"><a href="<?php echo G5_URL;?>/?m=menu"><i class="fa fa-th fa-2x"></i><span class="sound_only"> 메뉴보기</span></a></td>
	<td title="내글반응"><a href="<?php echo AMINA_URL; ?>/response.php"><i class="fa fa-comments fa-2x"></i><?php echo $response_cnt;?><span class="sound_only"> 내글반응</span></a></td>
	<td title="새글모음"><a href="<?php echo G5_BBS_URL; ?>/new.php"><i class="fa fa-refresh fa-2x"></i><span class="sound_only"> 새글모음</span></a></td>
	<td title="전체검색"><a href="<?php echo G5_BBS_URL; ?>/search.php"><i class="fa fa-search fa-2x"></i><span class="sound_only"> 전체검색</span></a></td>
	<td class="last" title="현재접속자(<?php echo $now_connect; ?>명)"><a href="<?php echo G5_BBS_URL; ?>/current_connect.php"><i class="fa fa-link fa-2x"></i><span class="sound_only"> 현재접속자</span></a></td>
	</tr>
	</table>
</div>
<div class="clear"></div>
