111 lines
5.9 KiB
PHP
111 lines
5.9 KiB
PHP
<?php
|
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|
?>
|
|
|
|
|
|
<link rel="stylesheet" href="<?php echo G5_URL ?>/css/style.css" />
|
|
<!--popup_wrap-->
|
|
<div id="pop_join" class="popup_wrap">
|
|
<!--popup_in-->
|
|
<div class="popup_in">
|
|
<button class="btn_close">
|
|
<div class="close_div"><img src="<?php echo G5_URL ?>/img/ico_close.svg" alt="sdi"></div>
|
|
</button>
|
|
<!--popup_content-->
|
|
<!-- 2025.07 디자인팀 수정 -->
|
|
<!-- 03 사용자 인증 -->
|
|
<!-- 왼쪽 "03 사용자 인증"에 on -->
|
|
<fieldset style="display: none;">
|
|
<!--tbl_wrap-->
|
|
<div id="register_form" class="tbl_wrap">
|
|
|
|
<div class="guide_txt">
|
|
<p>계정 생성이 완료되었습니다.</p>
|
|
사용자 인증을 위해 <em>aaa@gmail.com</em> <br>아이디로 전송된 인증번호를 입력해 주세요.
|
|
</div>
|
|
<div class="verify_wrap">
|
|
<div class="code_input">
|
|
<input type="text" maxlength="1" inputmode="numeric" pattern="[0-9]*" />
|
|
<input type="text" maxlength="1" inputmode="numeric" pattern="[0-9]*" />
|
|
<input type="text" maxlength="1" inputmode="numeric" pattern="[0-9]*" />
|
|
<input type="text" maxlength="1" inputmode="numeric" pattern="[0-9]*" />
|
|
<input type="text" maxlength="1" inputmode="numeric" pattern="[0-9]*" />
|
|
<input type="text" maxlength="1" inputmode="numeric" pattern="[0-9]*" />
|
|
</div>
|
|
<div>
|
|
<span class="important_msg h_6">인증번호 불일치</span>
|
|
<button class="btn_send">인증번호 재전송 ⭮</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<!--//tbl_wrap-->
|
|
<div class="btn_confirm">
|
|
<button type="submit" id="btn_submit_otp_sign_up" class="btn_submit" >인증하기</button>
|
|
</div>
|
|
<script>
|
|
const inputs = document.querySelectorAll('.code-input input');
|
|
|
|
inputs.forEach((input, index) => {
|
|
console.log('dd');
|
|
input.addEventListener('input', (e) => {
|
|
const value = e.target.value;
|
|
if (!/^[0-9]$/.test(value)) {
|
|
e.target.value = '';
|
|
return;
|
|
}
|
|
if (value && index < inputs.length - 1) {
|
|
inputs[index + 1].focus();
|
|
}
|
|
});
|
|
|
|
input.addEventListener('keydown', (e) => {
|
|
if (e.key === 'Backspace' && !e.target.value && index > 0) {
|
|
inputs[index - 1].focus();
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</fieldset>
|
|
<!-- //2025.07 디자인팀 수정-->
|
|
|
|
</div>
|
|
<!--//pop_join_right-->
|
|
<!-- 회원가입결과 시작 { register-->
|
|
<div id="pop_result" class="popup_wrap" style="display:none;">
|
|
<p class="reg_result_p">
|
|
<i class="fa fa-gift" aria-hidden="true"></i><br>
|
|
<strong><?php echo get_text($mb['mb_name']); ?></strong>님의 회원가입을 진심으로 축하합니다.
|
|
</p>
|
|
|
|
<?php if (is_use_email_certify()) { ?>
|
|
<p class="result_txt">
|
|
회원 가입 시 입력하신 이메일 주소로 인증메일이 발송되었습니다.<br>
|
|
발송된 인증메일을 확인하신 후 인증처리를 하시면 사이트를 원활하게 이용하실 수 있습니다.
|
|
</p>
|
|
<div id="result_email">
|
|
<span>아이디</span>
|
|
<strong><?php echo $mb['mb_id'] ?></strong><br>
|
|
<span>이메일 주소</span>
|
|
<strong><?php echo $mb['mb_email'] ?></strong>
|
|
</div>
|
|
<p>
|
|
이메일 주소를 잘못 입력하셨다면, 사이트 관리자에게 문의해주시기 바랍니다.
|
|
</p>
|
|
<?php } ?>
|
|
<!-- } 회원가입결과 끝 -->
|
|
<div class="btn_confirm_reg">
|
|
<a href="<?php echo G5_URL ?>/" class="reg_btn_submit">메인으로</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--//popup_content-->
|
|
</div>
|
|
<!--//popup_in-->
|
|
</div>
|
|
<!--//popup_wrap-->
|
|
<!-- </div>
|
|
</body> -->
|
|
|
|
|