69 lines
2.8 KiB
PHP
69 lines
2.8 KiB
PHP
<?php
|
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|
|
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
|
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
|
?>
|
|
|
|
<div class="lwd-login-wrap">
|
|
<div class="login-container">
|
|
<div class="login-header">
|
|
<a href="<?php echo G5_URL ?>" class="login-logo">
|
|
<img src="<?php echo G5_THEME_URL ?>/skin/nav/lwd_basic/img/logo.png" alt="<?php echo $config['cf_title']; ?>">
|
|
</a>
|
|
<h2>로그인</h2>
|
|
</div>
|
|
|
|
<form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);" method="post">
|
|
<input type="hidden" name="url" value="<?php echo $login_url ?>">
|
|
|
|
<div class="login-form">
|
|
<div class="form-group">
|
|
<label for="login_id" class="sound_only">아이디<strong class="sound_only"> 필수</strong></label>
|
|
<input type="text" name="mb_id" id="login_id" required class="frm_input required" maxLength="20" placeholder="아이디">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="login_pw" class="sound_only">비밀번호<strong class="sound_only"> 필수</strong></label>
|
|
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" maxLength="20" placeholder="비밀번호">
|
|
</div>
|
|
|
|
<div class="login-options">
|
|
<div class="chk_box">
|
|
<input type="checkbox" name="auto_login" id="login_auto_login">
|
|
<label for="login_auto_login">자동로그인</label>
|
|
</div>
|
|
</div>
|
|
|
|
<button type="submit" class="btn_submit">로그인</button>
|
|
|
|
<div class="login-links">
|
|
<a href="<?php echo G5_BBS_URL ?>/register.php">회원가입</a>
|
|
<a href="<?php echo G5_BBS_URL ?>/password_lost.php" target="_blank" id="login_password_lost">정보찾기</a>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<?php // 소셜 로그인 버튼 영역 (필요 시 추가) ?>
|
|
<?php if(function_exists('social_login_link_account')) { ?>
|
|
<div class="login-social">
|
|
<?php social_login_link_account(); ?>
|
|
</div>
|
|
<?php } ?>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
$(function(){
|
|
$("#login_auto_login").click(function(){
|
|
if (this.checked) {
|
|
this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");
|
|
}
|
|
});
|
|
});
|
|
|
|
function flogin_submit(f)
|
|
{
|
|
return true;
|
|
}
|
|
</script>
|