|
|
@ -13,7 +13,7 @@ section_id: contact |
|
|
|
<div class="row"> |
|
|
|
<div class="large-12 columns"> |
|
|
|
<div class='form'> |
|
|
|
<form id='contact_form' method='POST' action="request.php"> |
|
|
|
<form id='contact_form' method='POST' action=""> |
|
|
|
<p id='thanks' class='hide'> |
|
|
|
Thanks for contacting us, we'll be in touch soon! |
|
|
|
</p> |
|
|
@ -45,3 +45,24 @@ section_id: contact |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="three spacing"></div> |
|
|
|
|
|
|
|
<?php |
|
|
|
if(isset($_POST['submit'])) { |
|
|
|
$name = $_POST['name']; |
|
|
|
$surname = $_POST['surname']; |
|
|
|
$email = $_POST['email']; |
|
|
|
$logo = $_POST['Logo']; |
|
|
|
$brand = $_POST['Brand Identity Guide']; |
|
|
|
$styleguide = $_POST['Style Guide']; |
|
|
|
$documentation = $_POST['Documentation']; |
|
|
|
$project = $_POST ['project name']; |
|
|
|
$message = $_POST['message']; |
|
|
|
$budget = $_POST ['budget']; |
|
|
|
$formcontent=" From: $name $surname \n Email: $email \n Requirements: $logo $brand $styleguide $documentation $project \n Budget: $budget \n Message: $message" ; |
|
|
|
$recipient = "anxhelo1995@gmail.com"; |
|
|
|
$subject = "Ura Design - Design Request"; |
|
|
|
$mailheader = "From: $email \r\n"; |
|
|
|
mail($recipient, $subject, $formcontent, $mailheader) or die("Error!"); |
|
|
|
echo "Thank You!"; |
|
|
|
} |
|
|
|
?> |
|
|
|