<?

$nhn1 = $_GET['nhn1'];
if($nhn1 != ''){
	@setcookie('lang',$nhn1,time()+3600*24,'/');
	include("$g4[path]/lang/$nhn1.php");
}else{
	$file = $_COOKIE['lang'];
	if(!$file) $file = 'kr';
	include("$g4[path]/lang/$file.php");
}

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

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<!-- 로그인 후 외부로그인 시작 -->
					





<table border="0" width="100%" id="table792" cellpadding="2">
						<tr>
							<td>
							<table border="0" width="100%" id="table793" cellspacing="1">
								<tr>
									<td>
									<b><a href="<?=$g4['admin_path']?>/">
									<font color="#FF6600"><?=$nick?></font></a></b><?php echo $lang['44'];?></td>
								</tr>
								<tr>
									<td>
										<a href="javascript:win_point();">
						<font color="#666666"><?php echo $lang['45'];?>:<?=$point?><?php echo $lang['46'];?></font></a> 
										<font color="#D6D6D6">| 
										</font>&nbsp;<a href="javascript:win_scrap();"><font color="#666666"><?php echo $lang['48'];?></font></a></td>
								</tr>
								<tr>
									<td>
<a href=javascript:// onClick="window.open('<?=$g4['path']?>/shopping/shop_order.php', '', 'scrollbars=yes,resizeable=no,toolbar=no,status=no,top=100,left=100,width=1000,height=460');" title=''><?php echo $lang['622'];?></a>
										<font color="#D6D6D6">| 
										</font> 
										&nbsp;<a href="javascript:win_memo();"><font color="#666666"><?php echo $lang['47'];?></font><font color="#FF6600">[<?=$memo_not_read?>]</font></a></td>
								</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
					<hr color="#DCDCDC" size="0" style="border-style: dotted; border-width: 1px"></td>
						</tr>
						<tr>
							<td>
							<b>
										<a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">
										<font color="#2F3743"><?php echo $lang['49'];?></font></a></b> 
										<font color="#D6D6D6">| 
										</font> 
										<a href="<?=$g4['bbs_path']?>/logout.php">
										<font color="#848689"><?php echo $lang['50'];?></font></a></td>
						</tr>
					</table>


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