Files
heegarden-web/web/html/theme/AT_WEB01/skin/member/basic/login.skin.php
2026-05-27 11:44:02 +09:00

81 lines
3.2 KiB
PHP

<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
?>
<!-- 로그인 시작 { -->
<div id="mb_login" class="mbskin">
<h1>
<!-- <?php echo $g5['title'] ?>-->
LOGIN
</h1>
<p class="mb_login_desc">대동에프앤디 사이트는 <br>mozkorea.net, drumcook.com과 함께<br> 이용하실 수 있습니다.</p>
<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 ?>">
<fieldset id="login_fs">
<legend>회원로그인</legend>
<div class="id_box login_box clearfix">
<label for="login_id" class="sound_only">회원아이디<strong class="sound_only"> 필수</strong></label>
<div class="id_icon icon"></div>
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20" placeholder="아이디">
</div>
<div class="pw_box login_box clearfix">
<label for="login_pw" class="sound_only">비밀번호<strong class="sound_only"> 필수</strong></label>
<div class="pw_icon icon"></div>
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20" maxLength="20" placeholder="비밀번호">
</div>
<div class="login_info_area clearfix">
<div class="auto_login_box clearfix">
<input type="checkbox" name="auto_login" id="login_auto_login">
<label for="login_auto_login" class="checkbox">자동로그인 체크박스</label>
<label for="login_auto_login" class="desc">자동로그인</label>
</div>
<div class="find_id_box">
<a href="<?php echo G5_BBS_URL ?>/password_lost.php" target="_blank" id="login_password_lost">아이디 비밀번호 찾기</a>
</div>
</div>
<input type="submit" value="로그인" class="btn_submit">
<div class="mb_join">
<a href="./register.php">회원 가입</a>
</div>
</fieldset>
<?php
// 소셜로그인 사용시 소셜로그인 버튼
@include_once(get_social_skin_path().'/social_login.skin.php');
?>
<!--
<aside id="login_info">
<h2>회원로그인 안내</h2>
<div>
<a href="<?php echo G5_BBS_URL ?>/password_lost.php" target="_blank" id="login_password_lost">아이디 비밀번호 찾기</a>
<a href="./register.php">회원 가입</a>
</div>
</aside>
-->
</form>
</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>
<!-- } 로그인 끝 -->