<?php $sub_menu = "200100"; include_once "./_common.php"; include_once G5_LIB_PATH . "/register.lib.php"; if ($w == 'u') { check_demo(); } auth_check($auth[$sub_menu], 'w'); check_token(); $mb_id = escape_trim($_POST['mb_id']); // 휴대폰번호 체크 $mb_hp = $_POST['mb_hp']; if ($mb_hp) { $result = exist_mb_hp($mb_hp, $mb_id); if ($result) { alert($result); } } // 인증정보처리 if ($_POST['mb_certify_case'] && $_POST['mb_certify']) { $mb_certify = $_POST['mb_certify_case']; $mb_adult = $_POST['mb_adult']; } else { $mb_certify = ''; $mb_adult = 0; } $sql_common = " mb_name = '{$_POST['mb_name']}',\n mb_nick = '{$_POST['mb_nick']}',\n mb_email = '{$_POST['mb_email']}',\n mb_homepage = '{$_POST['mb_homepage']}',\n mb_tel = '{$_POST['mb_tel']}',\n mb_hp = '{$_POST['mb_hp']}',\n mb_certify = '{$mb_certify}',\n mb_adult = '{$mb_adult}',\n mb_zip1 = '{$_POST['mb_zip1']}',\n mb_zip2 = '{$_POST['mb_zip2']}',\n mb_addr1 = '{$_POST['mb_addr1']}',\n mb_addr2 = '{$_POST['mb_addr2']}',\n mb_addr3 = '{$_POST['mb_addr3']}',\n mb_addr_jibeon = '{$_POST['mb_addr_jibeon']}',\n mb_birth = '{$_POST['mb_birth']}',\n mb_sex = '{$_POST['mb_sex']}',\n mb_signature = '{$_POST['mb_signature']}',\n mb_leave_date = '{$_POST['mb_leave_date']}',\n mb_intercept_date='{$_POST['mb_intercept_date']}',\n mb_memo = '{$_POST['mb_memo']}',\n mb_mailling = '{$_POST['mb_mailling']}',\n mb_sms = '{$_POST['mb_sms']}',\n mb_open = '{$_POST['mb_open']}',\n mb_profile = '{$_POST['mb_profile']}',\n mb_level = '{$_POST['mb_level']}',\n mb_1 = '{$_POST['mb_1']}',\n mb_2 = '{$_POST['mb_2']}',\n mb_3 = '{$_POST['mb_3']}',\n mb_4 = '{$_POST['mb_4']}',\n mb_5 = '{$_POST['mb_5']}',\n mb_6 = '{$_POST['mb_6']}',\n mb_7 = '{$_POST['mb_7']}',\n mb_8 = '{$_POST['mb_8']}',\n mb_9 = '{$_POST['mb_9']}',\n mb_10 = '{$_POST['mb_10']}' "; if ($w == '') { $mb = get_member($mb_id); if ($mb['mb_id']) {
<?php include_once './_common.php'; include_once G5_LIB_PATH . '/register.lib.php'; $mb_hp = escape_trim($_POST['reg_mb_hp']); $mb_id = escape_trim($_POST['reg_mb_id']); if ($msg = valid_mb_hp($mb_hp)) { die($msg); } if ($msg = exist_mb_hp($mb_hp, $mb_id)) { die($msg); }