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

<script type="text/javascript" src="<?=$g4[path]?>/js/capslock.js"></script>

<style type="text/css">
/* 페이지 최상단 */
#special_link		{ clear:both; text-align:center; border-bottom:1px solid #EBEBEB; background-color:#FBFBFB; height:24px; padding-top:5px; }

#zmb_login_body		{ text-align:center; margin:50px; }
#zmb_login_body .login_box	{ width:300px; margin:auto; padding:30px 40px 20px 40px; }
#zmb_login_body .loginin	{ text-align:left; margin:5px 0 5px 0; }
#zmb_login_body input.ed	{ width:300px; border:1px solid #D3D3D3; border-radius:4px; padding:12px 15px 10px 15px; color:#CBCBCB; font-weight:bold; }
#zmb_login_body input#mb_id	{ color:#595959; background:#FBFBFB; }
#zmb_login_body .autologin	{ color:#727272; font:normal 11px 나눔고딕; }

#zmb_login_body .errmsg		{ font:normal 11px Dotum; color:#E55349; line-height:160%; text-align:left; margin:10px 0 10px 0; }
#zmb_login_body .btnlogin	{ border:1px solid #70A7AE; border-radius:3px; width:330px; padding:12px 0 8px 0; text-align:center; background:#70A7AE; color:#ffffff; font:bold 16px Dotum; cursor:pointer; }
#confirm_mb_password	{ border:2px solid #E3E3E3; padding:2px; }

#zmb_member_confirm		{ text-align:center; margin:60px; }
#zmb_member_confirm .login_box	{ border:2px solid #E5E5E5; background:#FDFDFD; width:640px; height:200px; margin:auto; }
#zmb_member_confirm .sbj	{ font-size:15px; color:#414141; font-family:돋움; }
#zmb_member_confirm .mbid	{ font-size:20px; color:#2773B4; font-family:돋움; }
#confirm_mb_password	{ border:2px solid #E3E3E3; padding:2px; }
</style>

<div id="special_link">
	<a href="<?=ZM_BUILDER_URL?>"><img src="<?=$member_skin_path?>/img/icon_home.gif"></a>
</div> <? //-- end special_link -- ?>

<div id="zmb_login_body">
<div style="text-align:left; width:320px; margin:auto;"><img src="<?=$member_skin_path?>/img/title_passwd_enter.gif"></div>

<form name="fmemberconfirm" method="post" onsubmit="return fmemberconfirm_submit(this);" autocomplete="off">
<input type=hidden name=w     value='u'>
<div class="login_box">
	<div class="loginin"><INPUT type=text class=ed maxLength=20 id="mb_id" name=mb_id value="<?=$member[mb_id]?>" itemname="아이디" readonly></div>
	<div class="loginin pswd_real"><INPUT type="text" class=ed maxLength=20 name="mb_password" id="confirm_mb_password" value="비밀번호" itemname="비밀번호" required onkeypress="check_capslock('confirm_mb_password');" onKeyDown="iclick('pw');" onFocus="iclick('pw');"></div>
	
	<div style="color:#B2B2B2; text-align:left; padding:10px 0 5px 0; line-height:150%;">외부로부터 회원님의 정보를 안전하게 보호하기 위해 비밀번호를 확인하셔야 합니다.</div>


	<div style="margin:20px 0 40px 0;">
		<INPUT type="submit" value="비밀번호 확인" class="btnlogin" id="btn_submit">
	</div>
	
	<div style="border-top:1px solid #ECECEC; width:330px;"></div>
	<div style="padding:20px; color:#CBCBCB; font:normal 11px Gulim;">Copyright(c) All right reserved.</div>
</div> <!-- end login_box -->
</form>
</div>
<?/*
<div id="zmb_member_confirm">
<div><img src="<?=$member_skin_path?>/img/title_passwd_enter.gif"></div>
<form name=fmemberconfirm method=post onsubmit="return fmemberconfirm_submit(this);">
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w     value='u'>
<div class="login_box">
	<div style="margin:20px; padding:20px; text-align:center;">
		<span class="sbj"><b>아이디</b></span>
		<span class="mbid"><b><?=$member[mb_id]?></b></span>
		<span class="sbj" style="margin-left:40px;"><b>비밀번호</b></span>
		<span><INPUT type=password maxLength=20 size=15 name="mb_password" id="confirm_mb_password" itemname="비밀번호" required onkeypress="check_capslock('confirm_mb_password');"></span>
	</div>
	<div style="color:#828282;">외부로부터 회원님의 정보를 안전하게 보호하기 위해 비밀번호를 확인하셔야 합니다.</div>
	<hr size="1" color="#ECECEC" align="center" width="600">
	<div style="padding:20px;">
		<INPUT name="image" type=image src="<?=$member_skin_path?>/img/btn_confirm.gif" id="btn_submit">
	</div>
</div>
</form>
</div>	<!-- end zmb_member_confirm -->
*/?>
<script type='text/javascript'>
document.onload = document.fmemberconfirm.mb_password.focus();

function fmemberconfirm_submit(f)
{
    document.getElementById("btn_submit").disabled = true;

    f.action = "<?=$url?>";
    return true;
}

function iclick(ob){
	if(ob == "pw"){
		if($("#confirm_mb_password").val() == "비밀번호") {
			$("#confirm_mb_password").val("")
		}
		$("#confirm_mb_password").attr("type", "password");
		$("#confirm_mb_password").css("color", "#4C5049");
	}
}
</script>
