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

add_stylesheet('<link rel="stylesheet" href="' . G5_THEME_CSS_URL . '/skin/asktheme.member.css">', 0);
?>
<div id="header" class="single-header">
    <div class="ask-row">
        <div class="ask-logo">
            <a href="/" class="ask-logo-link">
                <img src="<?php echo G5_THEME_URL ?>/img/ask-logo.png" width="127" height="27" class="ask-logo-img" title="">
            </a>
        </div>
    </div>
</div>
<div class="content-background"></div>
<div class="pasword-lost-page row">
    <div class="small-12 medium-8 large-6 columns">
        <div class="panel panel-default mdl-shadow--5dp">
            <div class="panel-header">
                <h1 class="panel-title"><?php echo $g5['title'] ?></h1>
            </div>

            <form name="fpasswordlost" action="<?php echo $action_url ?>" onsubmit="return fpasswordlost_submit(this);" method="post" autocomplete="off">
                <div class="panel-body">
                    <fieldset id="info_fs">
                        <p class="text text-default">
                            회원가입 시 등록하신 이메일 주소를 입력해 주세요.<br>
                            해당 이메일로 아이디와 비밀번호 정보를 보내드립니다.
                        </p>
                        <label for="mb_email"><strong class="sound_only">E-mail 주소 필수</strong></label>
                        <div class="input-group">
                            <span class="input-group-addon">
                                <i class="fa fa-envelope-o"></i>
                            </span>
                            <input type="text" name="mb_email" id="mb_email" required class="required input email" size="30" placeholder="이메일을 입력하세요.">
                        </div>
                    </fieldset>
                    <?php echo ask_captcha_html(); ?>
                </div>
                <div class="panel-footer">
                    <div class="button-group">
                        <button type="submit" class="button">확인</button>
                    </div>
                </div>
            </form>
        </div>

        <script type="text/javascript">
            function fpasswordlost_submit(f) {
<?php echo chk_captcha_js(); ?>

                return true;
            }

            $(function () {
                var sw = screen.width;
                var sh = screen.height;
                var cw = document.body.clientWidth;
                var ch = document.body.clientHeight;
                var top = sh / 2 - ch / 2 - 100;
                var left = sw / 2 - cw / 2;
                moveTo(left, top);
            });
        </script>
    </div>
</div>