'$mb_id' and mb_leave_date = '' "; $row2 = sql_fetch($sql2); if($row2['cnt']) alert('입력하신 핸드폰번호는 다른 회원님이 사용 중입니다.', "", true, true); /* ======================================================================================================= */ /* = 휴대폰인증 및 성인인증 = */ /* ======================================================================================================= */ if($w == '') { // 본인인증체크 $kcpcert_no = trim($_POST['kcpcert_no']); if(!$kcpcert_no) alert('휴대폰인증이 되지 않았습니다. 휴대폰인증을 해주세요.', "", true, true); // 본인인증 hash 체크 $reg_hash = md5($reg_hp.$mb_name.$kcpcert_no); if(get_session('ss_kcpcert_hash') != $reg_hash) alert('휴대폰인증 정보가 올바르지 않습니다. 정상적인 방법으로 이용해 주세요.', "", true, true); // 성인인증을 사용한다면 if($config['cf_adult_check']) { if(get_session('ss_adult_check') != 'Y') alert('성인인증이 되지 않았습니다. 다음에 다시 가입해 주세요.', "", true, true); } } else if($w == 'u') { // 휴대폰번호 변경체크 $old_hp = preg_replace("/[^0-9]/", "", $_POST['old_mb_hp']); if($old_hp != $reg_hp) { // 본인인증체크 $kcpcert_no = trim($_POST['kcpcert_no']); if(!$kcpcert_no) alert('휴대폰번호가 변경됐습니다. 휴대폰인증을 해주세요.', "", true, true); // 본인인증 hash 체크 $reg_hash = md5($reg_hp.$mb_name.$kcpcert_no); if(get_session('ss_kcpcert_hash') != $reg_hash) alert('휴대폰인증 정보가 올바르지 않습니다. 정상적인 방법으로 이용해 주세요.', "", true, true); } } /* ======================================================================================================= */ ?>