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/invite_user.php |
<?php if ($f == 'invite_user') { if (empty($_POST['email'])) { $errors[] = $error_icon . $wo['lang']['please_check_details']; } else if (!filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) { $errors[] = $error_icon . $wo['lang']['email_invalid_characters']; } else if (Wo_EmailExists($_POST['email'])) { $errors[] = $error_icon . $wo['lang']['email_exists']; } if (empty($errors)) { $email = Wo_Secure($_POST['email']); $message = Wo_LoadPage('emails/invite'); $send_message_data = array( 'from_email' => $wo['config']['siteEmail'], 'from_name' => $wo['config']['siteName'], 'to_email' => $email, 'to_name' => '', 'subject' => 'invitation request', 'charSet' => 'utf-8', 'message_body' => $message, 'is_html' => true ); $send = Wo_SendMessage($send_message_data); if ($send) { $data = array( 'status' => 200, 'message' => $success_icon . $wo['lang']['email_sent'] ); } else { $errors[] = $error_icon . $wo['lang']['processing_error']; } } header("Content-type: application/json"); if (!empty($errors)) { echo json_encode(array( 'errors' => $errors )); } else { echo json_encode($data); } exit(); }