]][ahhhhhhhfgfgwerwerwerdgdretertertretertertgffwerwerwerwerdsddfgh
במ12[aspddfsdfsdfdfnggsd g ggk ffghaswerwerweertertertertretetrwerwvbnvfdgdgfbnasd asdaioioidgh;';';'
/
home
/
u217993607
/
domains
/
aerotrustaviation.com
/
public_html
/
Upload FileeE
HOME
<?php $to = "sales@aerotrustaviation.com"; $subject = "Mail From Aero Trust Aviation"; if($_POST['page']=='Passenger'){ $message = " <table> <tr> <td>Passengers</td> <td>".$_POST['Passengers']."</td> </tr> <tr> <td>Name</td> <td>".$_POST['name']."</td> </tr> <tr> <td>Email</td> <td>".$_POST['email']."</td> </tr> <tr> <td>Phone</td> <td>".$_POST['phone']."</td> </tr> <tr> <td>Departing</td> <td>".$_POST['from']."</td> </tr> <tr> <td>Destination</td> <td>".$_POST['to']."</td> </tr> <tr> <td>Departure Date</td> <td>".$_POST['departure']."</td> </tr> <tr> <td>Departure Time</td> <td>".$_POST['departure_time']."</td> </tr> <tr> <td>Return Date</td> <td>".$_POST['return']."</td> </tr> <tr> <td>Return Time</td> <td>".$_POST['return_time']."</td> </tr> </table> "; }elseif($_POST['page']=='Cargo'){ $message = " <table> <tr> <td>Name</td> <td>".$_POST['name']."</td> </tr> <tr> <td>Email</td> <td>".$_POST['email']."</td> </tr> <tr> <td>Phone</td> <td>".$_POST['phone']."</td> </tr> <tr> <td>Departing</td> <td>".$_POST['from']."</td> </tr> <tr> <td>Destination</td> <td>".$_POST['to']."</td> </tr> <tr> <td>Departure Date</td> <td>".$_POST['departure']."</td> </tr> <tr> <td>Departure Time</td> <td>".$_POST['departure_time']."</td> </tr> </table> "; }else{ $message = " <table> <tr> <td>Name</td> <td>".$_POST['name']."</td> </tr> <tr> <td>Email</td> <td>".$_POST['email']."</td> </tr> <tr> <td>Phone</td> <td>".$_POST['phone']."</td> </tr> <tr> <td>Message</td> <td>".$_POST['message']."</td> </tr> </table> "; } // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // More headers $headers .= 'From: <sales@aerotrustaviation.com>' . "\r\n"; if(mail($to,$subject,$message,$headers)){ echo "<script>alert('Your query has been sent successfully')</script>"; echo "<script>window.open('index.php','_self')</script>"; }else{ echo "<script>window.open('contact.php','_self')</script>"; } ?>