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

add_stylesheet('<link rel="stylesheet" href="' . G5_THEME_CSS_URL . '/skin/asktheme.outlogin.css">', 0);
?>

<section id="outlogin-before" class="outlogin-wrap clearfix">
    <h2 class="sound-only">회원로그인</h2>
    <form name="foutlogin" action="<?php echo $outlogin_action_url ?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
        <fieldset>
            <input type="hidden" name="url" value="<?php echo $outlogin_url ?>">
            <div class="outlogin-table">
                <div class="table-cell">
                    <div class="outlogin-row ol-id clearfix">
                        <label for="ol_id"><i class="fa fa-user"></i><strong class="sound-only">필수</strong></label>
                        <input type="text" id="ol_id" name="mb_id" required class="required" maxlength="20" placeholder="아이디">
                    </div>
                    <div class="outlogin-row ol-pw clearfix">
                        <label for="ol_pw"><i class="fa fa-key"></i><strong class="sound-only">필수</strong></label>
                        <input type="password" name="mb_password" id="ol_pw" required class="required" maxlength="20" placeholder="비밀번호">
                    </div>
                    <div class="ol-submit">
                        <button type="submit">Login</button>
                    </div>
                </div>
            </div>
            <div class="ol-after-footer row large-collapse small-collapse medium-collapse">
                <div class="small-4 medium-4 large-4 columns">
                    <label for="auto_login" id="auto_login_label"><input type="checkbox" name="auto_login" value="1" id="auto_login">자동</label>
                </div>
                <div class="small-4 medium-4 large-4 columns">
                    <a href="<?php echo G5_BBS_URL ?>/register.php"><i class="fa fa-user-plus" aria-hidden="true"></i> 가입</a>
                </div>
                <div class="small-4 medium-4 large-4 columns">
                    <a href="<?php echo G5_BBS_URL ?>/password_lost.php"><i class="fa fa-search-plus" aria-hidden="true"></i> 정보찾기</a>
                </div>
            </div>
        </fieldset>
    </form>
</section>

<script type="text/javascript">
    function fhead_submit(f) {
        return true;
    }
</script>