휴대폰인증 코드 복구

This commit is contained in:
chicpro
2013-04-09 12:51:21 +09:00
parent 85c4b98a70
commit d95c5b1dcc
3 changed files with 77 additions and 31 deletions

View File

@ -1,5 +1,28 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 자신만의 코드를 넣어주세요.
// 휴대폰번호 포맷(010-0000-0000) 변경해서 기록
// $reg_mb_hp 는 rigister_form_update.head.skin.php 파일
$sql = " update {$g4['member_table']}
set mb_hp = '$reg_mb_hp'
where mb_id = '$mb_id' ";
sql_query($sql);
/* =========================================================================== */
/* = 휴대폰인증 및 성인인증 = */
/* =========================================================================== */
if($_POST['kcpcert_no']) {
$mb_adult = 'N';
if(get_session('ss_adult_check') == 'Y')
$mb_adult = 'Y';
$sql = " update {$g4['member_table']}
set mb_hp_certify = '{$_POST['kcpcert_time']}',
mb_adult = '$mb_adult'
where mb_id = '$mb_id' ";
sql_query($sql);
}
/* =========================================================================== */
?>