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

$g4[title] = "회원아이디/비밀번호 찾기";

?>

<!-- Line top start -->
<table width="570" cellpadding="0" cellspacing="0" border="0" align="center" style="margin:10px;">
	<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"><b><?=$g4[title]?></b>
		</td>
	    <td align="right" bgcolor="#FFFFFF" ><img src="<?=$member_skin_path?>/img/step_01.gif" width="110" height="16"></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="530" cellpadding="0" cellspacing="0" border="0" align="center">
<form name=fpasswordforget method=post action="javascript:fpasswordforget_submit(document.fpasswordforget);" autocomplete=off>
	<tr>
		<td style="padding:10px 50px 10px 50px; border:5px solid #F3F3F3;">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr height="50"> 
					<td colspan="2"><img src="<?=$member_skin_path?>/img/password1_title01.gif" width="149" height="22"></td>
				</tr>
				<tr>
					<td width="100" align="right"><b>회원아이디</b>&nbsp;&nbsp;</td>
					<td width="250"><input class="ed" type=text name='pass_mb_id' size=20 maxlength=20 itemname='회원아이디'></td>
				</tr>
				<tr>
					<td colspan="2" height="5"></td>
				</tr>
				<tr>
					<td colspan="2" height="1" background="<?=$member_skin_path?>/img/line_dot.gif"></td>
				</tr>
				<tr>
					<td colspan="2" height="5"></td>
				</tr>
				<tr height="50"> 
					<td colspan="2"><img src="<?=$member_skin_path?>/img/password1_title02.gif" width="149" height="22"></td>
				</tr>
				<tr height="25"> 
					<td width="100" align="right"><b>이름</b>&nbsp;&nbsp;</td>
					<td width="250"><INPUT name=mb_name itemname="이름" class="ed" size=20></td>
				</tr>
				<? if ($config[cf_use_jumin]) { // 주민등록번호를 사용한다면(입력 받았다면) ?>
				<tr height="25"> 
					<td width="100" align="right"><b>주민등록번호</b>&nbsp;&nbsp;</td>
					<td width="250"><INPUT name=mb_jumin itemname="주민등록번호" jumin class="ed" size=20 maxlength=13> ※ - 없이 입력하세요.</td>
				</tr>
				<? } else { ?>
                <tr height="25"> 
					<td width="100" align="right"><b>E-mail</b>&nbsp;&nbsp;</td>
					<td width="250"><INPUT name=mb_email itemname="E-mail" email class="ed" size=30></td>
				</tr>
				<? } ?>
			</table>
		</td>
    </tr>
	<tr><td height="10"></td></tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td align="center">
			<input type="image" src="<?=$member_skin_path?>/img/btn_next.gif" width="38" height="18">&nbsp;&nbsp;<a href="javascript:window.close();"><img src="<?=$member_skin_path?>/img/btn_close.gif" width="47" height="18" border="0"></a>
		</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">
function fpasswordforget_submit(f)
{
    if (f.pass_mb_id.value == "") {
        if (typeof f.mb_jumin != "undefined") {
            if (f.mb_name.value == "" || f.mb_jumin.value == "") {
                alert("회원아이디를\n\n아실 경우에는 회원아이디를\n\n모르실 경우에는 이름과 주민등록번호를\n\n입력하여 주십시오.");
                return;
            }
        } else if (typeof f.mb_email != "undefined") {
            if (f.mb_name.value == "" || f.mb_email.value == "") {
                alert("회원아이디를\n\n아실 경우에는 회원아이디를\n\n모르실 경우에는 이름과 E-mail 을\n\n입력하여 주십시오.");
                return;
            }
        }
    }

    f.action = "./password_forget2.php";
    f.submit();
}

document.fpasswordforget.pass_mb_id.focus();
</script>
