<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 
?>
<div class="cr_login2">
	<div class="cl_head">
		<span class="ch_nick"><?=$nick?></span>
		<span class="ch_level">Lv.<?=$member['mb_level']?></span>
		<? if ($is_admin == "super" || $is_auth) { ?>
		<span class="ch_adm"><a href="<?=$g4['admin_path']?>/">adm</a></span>
		<? } ?>
		<span class="ch_logout"><a href="<?php echo "$g4[bbs_path]/logout.php"?>">로그아웃</a></span>
	</div>
	<ul class="cl_down">
		<li>
			<span class="ch_point"><a href="javascript:win_point();">포인트 : <?=$point?></a></span>
		</li>
		<li>
			<span class="ch_memo"><a href="javascript:win_memo();">쪽지 : <?=$memo_not_read?></a></span>
		</li>
		<li>
			<span><a href="javascript:win_scrap();">스크랩함</a></span>
			<span class="ch_bar">|</span>
			<span class="ch_firm"><a href="<?php echo "$g4[bbs_path]/member_confirm.php?url=register_form.php"?>">정보수정</a></span>
		</li>
	</ul>
	<div class="cl_image"></div>
</div>

<script type="text/javascript">
// 탈퇴의 경우 아래 코드를 연동하시면 됩니다.
function member_leave() 
{
    if (confirm("정말 회원에서 탈퇴 하시겠습니까?")) 
            location.href = "<?=$g4['bbs_path']?>/member_confirm.php?url=member_leave.php";
}
</script>
<!-- 로그인 후 외부로그인 끝 -->
