The website of Ura Design
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
3.2 KiB

---
layout: default
section_id: contact
---
<div class="three spacing"></div>
<div class="full">
<div class="large-11 large-centered columns">
<h3>Email Us</h3>
<p>Convinced yet? If you need some design magic for your open source project, send us your submission so we can help you. Don’t worry if you are on a tight budget!</p>
<p>Fields marked with an * are required.</p>
</div>
<div class="one spacing"></div>
<div class="row">
<div class="large-12 columns">
<div class='form'>
<form id='contact_form' method='POST' action="">
<p id='thanks' class='hide'>
Thanks for contacting us, we'll be in touch soon!
</p>
<p>First Name *<br />
<input class='required' name='name' placeholder='NAME' type='text'></p>
<p>Last Name *<br />
<input class='required' name='surname' placeholder='SURNAME' type='text'</p>
<p>E-mail *<br />
<input class='required email' name='email' placeholder='EMAIL' type='text'></p>
<p>What services do you need? *<br />
<input type="checkbox" name="Logo" value="1"> Logo<br />
<input type="checkbox" name="Brand Identity Guide" value="0"> Brand Identity Guide<br />
<input type="checkbox" name="Style Guide" value="0"> Style Guide<br />
<input type="checkbox" name="Documentation" value="0"> Documentation<br />
<input type="checkbox" name="Consultancy" value="0"> Consultancy<br /></p>
<p>Your open source project name *<br />
<input class='required' name='project name' placeholder='Project Name' type='text'></p>
<p>Tell us about your open source project, the more details, the better: *<br />
<textarea class='required' name='message' placeholder='Details'></textarea></p>
<p>Your budget (USD $) *<br />
<blockquote>If your budget is 0, we suggest a pledge for Ura with at least $2 (suggested: $5) on Patreon. This allows us to keep helping projects and buy coffee when working.</blockquote>
<input class='required' name='budget' placeholder='0' type='number' min="0" max="9999999"></p>
<p>Enter your bid and we will get back to you with a time & cost estimate.</p>
<div class='spacing'></div>
<input class='button small boxed blue simple' type='submit'>
</form>
</div>
</div>
</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!";
}
?>