2022-09-17 20:50:50 +09:00
|
|
|
<?php
|
2024-09-23 11:07:19 +09:00
|
|
|
include_once "./_common.php";
|
2024-09-19 20:57:39 +09:00
|
|
|
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
2022-09-17 20:50:50 +09:00
|
|
|
|
|
|
|
|
$g5['title'] = '메일인증 메일주소 변경';
|
2024-09-23 11:07:19 +09:00
|
|
|
include_once "./_head.php";
|
2022-09-17 20:50:50 +09:00
|
|
|
|
|
|
|
|
$mb_id = substr(clean_xss_tags($_GET['mb_id']), 0, 20);
|
2024-09-30 01:58:32 +09:00
|
|
|
$sql = "SELECT mb_email, mb_datetime, mb_ip, mb_email_certify FROM {$g5['member_table']} where mb_id = '{$mb_id}' ";
|
2022-09-17 20:50:50 +09:00
|
|
|
$mb = sql_fetch($sql);
|
2024-09-19 20:57:39 +09:00
|
|
|
if (substr($mb['mb_email_certify'], 0, 1) != 0) {
|
|
|
|
|
alert("이미 메일인증 하신 회원입니다.", G5_URL);
|
2022-09-17 20:50:50 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$ckey = trim($_GET['ckey']);
|
2024-09-19 20:57:39 +09:00
|
|
|
$key = md5($mb['mb_ip'] . $mb['mb_datetime']);
|
2022-09-17 20:50:50 +09:00
|
|
|
|
2024-09-19 20:57:39 +09:00
|
|
|
if (!$ckey || $ckey != $key)
|
|
|
|
|
alert('올바른 방법으로 이용해 주십시오.', G5_URL);
|
2022-09-17 20:50:50 +09:00
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<p class="rg_em_p">메일인증을 받지 못한 경우 회원정보의 메일주소를 변경 할 수 있습니다.</p>
|
|
|
|
|
|
2024-09-19 20:57:39 +09:00
|
|
|
<form method="post" name="fregister_email" action="<?php echo G5_HTTPS_BBS_URL . '/register_email_update.php'; ?>"
|
|
|
|
|
onsubmit="return fregister_email_submit(this);">
|
|
|
|
|
<input type="hidden" name="mb_id" value="<?php echo $mb_id; ?>">
|
2022-09-17 20:50:50 +09:00
|
|
|
|
2024-09-19 20:57:39 +09:00
|
|
|
<div class="tbl_frm01 tbl_frm rg_em">
|
2022-09-17 20:50:50 +09:00
|
|
|
<table>
|
2024-09-19 20:57:39 +09:00
|
|
|
<caption>사이트 이용정보 입력</caption>
|
|
|
|
|
<tr>
|
2022-09-17 20:50:50 +09:00
|
|
|
<th scope="row"><label for="reg_mb_email">E-mail<strong class="sound_only">필수</strong></label></th>
|
2024-09-19 20:57:39 +09:00
|
|
|
<td><input type="text" name="mb_email" id="reg_mb_email" required class="frm_input email required" size="30"
|
|
|
|
|
maxlength="100" value="<?php echo $mb['mb_email']; ?>"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2022-09-17 20:50:50 +09:00
|
|
|
<th scope="row">자동등록방지</th>
|
|
|
|
|
<td><?php echo captcha_html(); ?></td>
|
2024-09-19 20:57:39 +09:00
|
|
|
</tr>
|
2022-09-17 20:50:50 +09:00
|
|
|
</table>
|
2024-09-19 20:57:39 +09:00
|
|
|
</div>
|
2022-09-17 20:50:50 +09:00
|
|
|
|
2024-09-19 20:57:39 +09:00
|
|
|
<div class="btn_confirm">
|
2022-09-17 20:50:50 +09:00
|
|
|
<input type="submit" id="btn_submit" class="btn_submit" value="인증메일변경">
|
|
|
|
|
<a href="<?php echo G5_URL ?>" class="btn_cancel">취소</a>
|
2024-09-19 20:57:39 +09:00
|
|
|
</div>
|
2022-09-17 20:50:50 +09:00
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<script>
|
2024-09-19 20:57:39 +09:00
|
|
|
function fregister_email_submit(f) {
|
|
|
|
|
<?php echo chk_captcha_js(); ?>
|
2022-09-17 20:50:50 +09:00
|
|
|
|
|
|
|
|
return true;
|
2024-09-19 20:57:39 +09:00
|
|
|
}
|
2022-09-17 20:50:50 +09:00
|
|
|
</script>
|
|
|
|
|
<?php
|
2024-09-23 11:07:19 +09:00
|
|
|
include_once "./_tail.php";
|
2022-09-17 20:50:50 +09:00
|
|
|
?>
|