PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/productjuly1video/famousdimensions.click/ajax/ |
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/productjuly1video/famousdimensions.click/ajax/contact_us.php |
<?php $vl1 = (empty($_POST['first_name']) || empty($_POST['last_name'])); $vl2 = (empty($_POST['email']) || empty($_POST['message'])); $vl3 = ($vl1 || $vl2); $data['status'] = 400; if ($vl3 === true) { $data['message'] = $error_icon . $lang->please_check_details; } else if (!filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) { $data['message'] = $error_icon . $lang->email_invalid_characters; } else{ $first_name = PT_Secure($_POST['first_name']); $last_name = PT_Secure($_POST['last_name']); $email = PT_Secure($_POST['email']); $message = PT_Secure($_POST['message']); $name = "Name: {$first_name} {$last_name}<br>E-mail: {$email}<br><br>Message:<br>{$message}"; $send_message_data = array( 'from_email' => $pt->config->email, 'from_name' => $name, 'reply-to' => $email, 'to_email' => $pt->config->email, 'to_name' => $pt->config->name, 'subject' => 'Contact us new message', 'charSet' => 'utf-8', 'message_body' => $message, 'is_html' => false ); $send = PT_SendMessage($send_message_data); if ($send) { $data = array( 'status' => 200, 'message' => $success_icon . $lang->email_sent ); } else { $data['message'] = $error_icon . $lang->error_msg; } }