PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/outtheboxministry.org/xhr/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/outtheboxministry.org/xhr/verify_email_phone.php |
<?php if ($f == "verify_email_phone") { if (empty($_POST['code'])) { $error = $error_icon . $wo['lang']['please_check_details']; } else { $confirm_code = $db->where('user_id', $wo['user']['user_id'])->where('email_code', md5($_POST['code']))->getValue(T_USERS, 'count(*)'); $Update_data = array(); if (empty($confirm_code)) { $error = $error_icon . $wo['lang']['wrong_confirmation_code']; } if (empty($error)) { $message = ''; if ($wo['config']['sms_or_email'] == 'sms') { $message = $success_icon . $wo['lang']['your_phone_verified']; $Update_data['phone_number'] = $wo['user']['new_phone']; $Update_data['new_phone'] = ''; } if ($wo['config']['sms_or_email'] == 'mail') { $message = $success_icon . $wo['lang']['your_email_verified']; $Update_data['email'] = $wo['user']['new_email']; $Update_data['new_email'] = ''; } Wo_UpdateUserData($wo['user']['user_id'], $Update_data); $data = array( 'status' => 200, 'message' => $message ); } } if (!empty($error)) { $data = array( 'status' => 400, 'message' => $error ); } header("Content-type: application/json"); echo json_encode($data); exit(); }