<?php

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

$g4[title] = "로그인";

$url = '';
if ($g4['https_url']) {
    if (preg_match("/^\./", $urlencode))
        $url = $g4[url];
    else
        $url = $g4[url].$urlencode;
} else {
    $url = $urlencode;
}
?>

<style type="text/css">
<!--
.tit1 { padding-right:5px; font:bold 8pt 돋움; text-align:right; letter-spacing:-1; }
.tit2 { padding:5px; font: 8pt 돋움; }
-->
</style>

<!-- Line top start -->

<table width="99%" cellpadding="0" cellspacing="0" border="0">
	<tr height="8"><td colspan="3"></td></tr>
	<tr>
		<td width="7"><img src="<?=$member_skin_path?>/img/out_bco01.gif" width="7" height="6"></td>
		<td background="<?=$member_skin_path?>/img/out_bbg01.gif"></td>
		<td width="6"><img src="<?=$member_skin_path?>/img/out_bco02.gif" width="6" height="6"></td>
	</tr>
	<tr>
		<td background="<?=$member_skin_path?>/img/out_bbg02.gif"></td>
		<td>
<!-- Line top end -->

<!-- Title start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr height="28">
		<td class="small">
			<img src="<?=$member_skin_path?>/img/icon_dot01.gif" width="3" height="3" align="absmiddle" style="margin:0px 5px 2px 5px"><a href="<?=$g4['path']?>/">Home</a> > <b><?=$g4[title]?></b>
		</td>
		<td align="right" style="padding-right:10px;"><a href="javascript:history.back();"><img src="<?=$member_skin_path?>/img/btn_prepage.gif" width="77" height="18" border="0" align="absmiddle"></a></td>
	</tr>
</table>

<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr><td height="1" bgcolor="#E9E9E9"></td></tr>
	<tr><td height="15"></td></tr>
</table>
<!-- Title end -->

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$urlencode?>'>
	<tr>
		<td width="45%" align="center"><img src="<?=$member_skin_path?>/img/login_title01.gif" width="330" height="190"></td>
		<td width="55%" style="padding:10px; border:5px solid #F3F3F3;">
			<table width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td class="tit2" colspan="3"><img src="<?=$member_skin_path?>/img/login_title02.gif"></td>
				</tr>
				<tr>
					<td class="tit1" width="120">회원 아이디</td>
					<td class="tit2"><input type="text" class="ed" maxLength="20" size="36" name="mb_id" itemname="아이디" required minlength="2"></td>
					<td width="60" rowspan="2"><input type="image" width="45" height="45" src="<?=$member_skin_path?>/img/btn_login.gif" border="0" align="absmiddle"  onfocus="javascript:mb_password.focus();"></td>
				</tr>
				<tr>
					<td class="tit1">회원 비밀번호</td>					
					<td class="tit2"><input type="password" class="ed" maxLength="20" size="36" name="mb_password" itemname="비밀번호" required></td>
				</tr>
				<!--
				<tr>
					<td class="tit1">자동로그인</td>
					<td class="tit2" colspan="2" height="26"><input class="ed" onclick="if (this.checked) { if (confirm('자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n\공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?')) { this.checked = true; } else { this.checked = false;} }" type="checkbox" name="auto_login" > 사용</td>
				</tr>
				-->
				<tr>
					<td colspan="3" height="5"></td>
				</tr>
				<tr>
					<td colspan="3" height="1" background="<?=$member_skin_path?>/img/line_dot.gif"></td>
				</tr>
				<tr>
					<td colspan="3" height="5"></td>
				</tr>
				<tr>
					<td class="tit2" colspan="3" nowrap><b>ㆍ</b>아직 회원이 아니십니까? 가입을 통해 다양한 서비스를 즐기세요.</li>&nbsp;&nbsp;<a href="./register.php"><img width="58" height="18" src="<?=$member_skin_path?>/img/btn_register.gif" border="0" align="absmiddle"></a></td>
				</tr>
				<tr>
					<td class="tit2" colspan="3" nowrap><b>ㆍ</b>아이디/비밀번호를 잊으셨습니까? 찾기 서비스를 이용하세요.</li>&nbsp;&nbsp;<a href="javascript:;" onclick="win_password_forget('./password_forget.php');"><img src="<?=$member_skin_path?>/img/btn_password_forget.gif" width="92" height="18" border="0" align="absmiddle"></td>
                </tr>
			</table>
		</td>
	</tr>
	<tr><td height="10"></td></tr>
</table>

<!-- Line bottom start -->
		</td>
		<td background="<?=$member_skin_path?>/img/out_bbg03.gif"></td>
	</tr>
	<tr>
		<td><img src="<?=$member_skin_path?>/img/out_bco03.gif" width="7" height="6"></td>
		<td background="<?=$member_skin_path?>/img/out_bbg04.gif"></td>
		<td><img src="<?=$member_skin_path?>/img/out_bco04.gif" width="6" height="6"></td>
	</tr>
</table>
<!-- Line bottom end -->

</form>

<script language='Javascript'>
document.flogin.mb_id.focus();

function flogin_submit(f)
{
    f.action = "./login_check.php";
    f.submit();
}
</script>

