<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 
?>
<style type="text/css">
#zmb_outlogin_body	{ border:1px solid #E3E3E3; height:100px; margin:0 0 4px 0; background-color:#FCFCFC; text-align:left; }
#zmb_login_box		{ height:56px; text-align:left; padding:5px; margin:5px 5px 0 5px; }

/* outlogin.2 */
#zmb_mini_box		{ border-top:1px solid #E7E7E7; height:30px; text-align:center; }
#zmb_mini_box a		{ color:#545454; }
#zmb_mini_box table td { width:25%; }
#zmb_mini_box table td.rbar { border-right:1px solid #EBEBEB; }

div.m_info	{ clear:both; padding:10px 0 0 0; color:#949494; font:normal 11px Dotum; }
div.m_info span.lv_name	{ color:#777777; }
div.m_info span.lv	{ color:#78A050; margin-left:5px; margin-right:10px; }
div.m_info span.title	{ color:#3C5028; margin-right:5px; }
div.m_info span.point	{ cursor:pointer; color:#FF4040; }
div.m_info span.point:hover	{ text-decoration:underline; }
div.m_info span.vline	{ border-right:1px solid #D3D3D3; }
</style>
<div id="zmb_outlogin_body">
<!-- 로그인 후 외부로그인 시작 -->
<div id="zmb_login_box">
	<div style="float:left; color:#222222; width:130px;"><b><?=$nick?></b>님</div>
<? if ($is_admin == "super" || $is_auth) { ?>
	<div style="float:left; margin:0 4px 0 0;"><a href="<?=$g4['admin_path']?>/"><img src="<?=$outlogin_skin_path?>/img/admin.gif" border="0" valign="absmiddle" alt="관리자"></a></div>
<? } ?>
	<div style="float:left;"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$outlogin_skin_path?>/img/logout_button.gif" border="0"></a></div>

	<div class="m_info">
		<span class="title"><?=$zm_levelname[$member[mb_level]]?></span><span class="lv">Lv. <?=$member[mb_level]?></span><span class="vline"></span>
		<span class="title"><?=$zm_config[pointname]?></span><span class="point" onclick="win_point();"><?=$point?></span> <span>P</span>
	</div>
</div>

<div id="zmb_mini_box">
<table cellspacing="0" width="100%" height="29">
<tr align="center">
	<td class="rbar"><a href="<?=$g4['bbs_path']?>/zm.userinfo.php?pcd=home">내정보</a></td>
	<td class="rbar"><a href="#" onclick="win_scrap();">스크랩</a></td>
	<td class="rbar"><a href="#" onclick="win_memo();">쪽지 <font color="#7F8FFB"><?=number_format($memo_not_read)?></font></a></td>
	<td><?=zm_service("add-on", "alimi")?></td>
</tr>
</table>
</div>

</div>											<!-- id : zmb_outlogin_body end -->


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