<?
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; }
</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 style="clear:both; padding:2px 0 0 0; color:#828282;" title="Level : <?=$member[mb_level]?>">회원권한 : <?=$zm_levelname[$member[mb_level]]?> (<?=$member[mb_level]?>)</div>
	<div style="padding:2px 0 0 0; color:#828282;"><?=$zm_config[pointname]?> : <a href="javascript:win_point();"><font color="#638FFA"><?=$point?></font></a>점</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']?>/member_confirm.php?url=register_form.php">MY</a></td>
	<td class="rbar"><a href="#" onclick="win_memo();">쪽지 <font color="#7F8FFB"><?=number_format($memo_not_read)?></font></a></td>
	<td class="rbar"><a href="#" onclick="win_scrap();">스크랩</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>
<!-- 로그인 후 외부로그인 끝 -->