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

$home_name = get_text($config[cf_home_name]);
?>

<style>
.login_text1 { font-family:굴림; font-size:11px; font-weight:bold; padding-top:6px; padding-left:6px; padding-bottom:3px; }
.login_text2 { font-family:굴림; font-size:11px; padding-top:4px; padding-bottom:4px; padding-left:5px; }
.login_text3 { font-family:굴림; font-size:11px; padding-top:0px; padding-bottom:0px; }
.login_box {  padding:1px; }
.login_input { font-family:굴림; font-size:8pt; color:#777777; border-top:1px solid #d9d9d9;  border-bottom:1px solid #d9d9d9; border-left:1px solid #d9d9d9; border-right:1px solid #d9d9d9; letter-spacing:0px; padding-top:3px; padding-left:5; padding-right:0; padding-bottom:0; }
</style>

<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#d9d9d9">
	<tr height="100">
		<td bgcolor="#ffffff" align="center" valign="top">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="login_text1"  bgcolor="#efefef"><? if ($is_admin == "super" || $is_auth) { ?><a href="<?=$g4['admin_path']?>/"><?=$nick?></a><? }else{ ?><?=$nick?><? } ?></td>
				<td class="login_text2" align="right" bgcolor="#efefef"><? include_once("$g4[path]/include/mymenu.php");?></td>
			</tr>
			<tr height="2"><td background="<?=$outlogin_skin_path?>/img/_bar.gif" colspan="2"></td></tr>
			<tr height="3"><td colspan="2"></td></tr>
			<tr>
				<td colspan="2" align="center" valign="top">
				<table width="99%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="login_box" width="68" rowspan="2" align="center">
						<? $profile_image = "$g4[path]/data/profile_image/{$member[mb_id]}";
						if (!$member[mb_id]||!file_exists($profile_image)) echo "<img src='".$outlogin_skin_path."/img/noimage.gif'>"; else echo "<img src='$profile_image' width='60' height='60'>";
						?>						
						</td>
						<td valign="top">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td class="login_text2">권한 : <?=$member[mb_level]?></td>
								<td><?=exp_bar($member[mb_id],$member[mb_point],1);?></td>
							</tr>
							<tr>
								<td class="login_text2"><a href="javascript:win_memo();">쪽지</a> : <span style="color:#aa3f33"><?=$memo_not_read?></span></a></td>
								<td class="login_text2"><a href="javascript:win_point();">포인트</a> : <span style="color:#aa3f33"><?=$point?></span> 점</td>
							</tr>
							<tr>
								<td class="login_text2" colspan="2" bgcolor=#eeeeee><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">정보수정</a>&nbsp;|&nbsp;<a href="javascript:win_scrap();">스크랩</a>&nbsp;|&nbsp;<a href="<?=$g4['bbs_path']?>/logout.php" style="color:#a7000c;">로그아웃</a></td>
							</tr>							
						</table>						
						</td>
					</tr>					
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>

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