%PDF- %PDF-
Direktori : /home/eirtvhdf/designbeasts.com/ |
Current File : //home/eirtvhdf/designbeasts.com/get.php |
<?php if(isset($_POST['book_call'])){ $name = $_POST['name']; $email = $_POST['email']; $number = $_POST['number']; $date = $_POST['date']; $description = $_POST['description']; $body = " <table class='table table-bordered'> <tr> <th>Name:</th> <td>".$name."</td> </tr> <tr> <th>Email:</th> <td>".$email."</td> </tr> <tr> <th>Phone:</th> <td>".$number."</td> </tr> <tr> <th>Date:</th> <td>".$date."</td> </tr> <tr> <th>Description:</th> <td>".$description."</td> </tr> </table> "; $to = "a.fahadansari31@gmail.com"; $subject = "Book a call message from Design Beasts"; // 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"; $headers .= 'From: '.$_SERVER['SERVER_NAME']. "\r\n" . 'Reply-To:' .$email."\r\n" . 'X-Mailer: PHP/' . phpversion(); $retval = mail ($to,$subject,$body,$headers); if( $retval == true ) { echo '<script type="text/javascript"> window.location = "thankyou_quote.php" </script>'; } else{ echo 'Mail not sent'; } } if(isset($_POST['signup'])){ $name = $_POST['name']; $email = $_POST['email']; $number = $_POST['number']; $description = $_POST['description']; $body = " <table class='table table-bordered'> <tr> <th>Name:</th> <td>".$name."</td> </tr> <tr> <th>Email:</th> <td>".$email."</td> </tr> <tr> <th>Phone:</th> <td>".$number."</td> </tr> <tr> <th>Description:</th> <td>".$description."</td> </tr> </table> "; $to = "a.fahadansari31@gmail.com"; $subject = "Signup message from Design Beasts"; // 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"; $headers .= 'From: '.$_SERVER['SERVER_NAME']. "\r\n" . 'Reply-To:' .$email."\r\n" . 'X-Mailer: PHP/' . phpversion(); $retval = mail ($to,$subject,$body,$headers); if( $retval == true ) { echo '<script type="text/javascript"> window.location = "thankyou_quote.php" </script>'; } else{ echo 'Mail not sent'; } } if(isset($_POST['quote'])){ $name = $_POST['name']; $email = $_POST['email']; $number = $_POST['number']; $country = $_POST['country']; $interest = $_POST['interest']; $budget = $_POST['budget']; $description = $_POST['description']; $body = " <table class='table table-bordered'> <tr> <th>Name:</th> <td>".$name."</td> </tr> <tr> <th>Email:</th> <td>".$email."</td> </tr> <tr> <th>Phone:</th> <td>".$number."</td> </tr> <tr> <th>Country:</th> <td>".$country."</td> </tr> <tr> <th>Interest:</th> <td>".$interest."</td> </tr> <tr> <th>Budget:</th> <td>".$budget."</td> </tr> <tr> <th>Description:</th> <td>".$description."</td> </tr> </table> "; $to = "a.fahadansari31@gmail.com"; $subject = "Consultancy Quote from Design Beasts"; // 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"; $headers .= 'From: '.$_SERVER['SERVER_NAME']. "\r\n" . 'Reply-To:' .$email."\r\n" . 'X-Mailer: PHP/' . phpversion(); $retval = mail ($to,$subject,$body,$headers); if( $retval == true ) { echo '<script type="text/javascript"> window.location = "/thankyou_quote.php" </script>'; } else{ echo 'Mail not sent'; } } if(isset($_POST['service_quote'])){ $name = $_POST['name']; $email = $_POST['email']; $number = $_POST['number']; $country = $_POST['country']; $page = $_POST['page']; $description = $_POST['description']; $body = " <table class='table table-bordered'> <tr> <th>Name:</th> <td>".$name."</td> </tr> <tr> <th>Email:</th> <td>".$email."</td> </tr> <tr> <th>Phone:</th> <td>".$number."</td> </tr> <tr> <th>Country:</th> <td>".$country."</td> </tr> <tr> <th>Page:</th> <td>".$page."</td> </tr> <tr> <th>Description:</th> <td>".$description."</td> </tr> </table> "; $to = "a.fahadansari31@gmail.com"; $subject = "Service Quote from Design Beasts"; // 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"; $headers .= 'From: '.$_SERVER['SERVER_NAME']. "\r\n" . 'Reply-To:' .$email."\r\n" . 'X-Mailer: PHP/' . phpversion(); $retval = mail ($to,$subject,$body,$headers); if( $retval == true ) { echo '<script type="text/javascript"> window.location = "thankyou_quote.php" </script>'; } else{ echo 'Mail not sent'; } } ?>