-
-
Save gyprosetti/1f44d79a9fbb0e640d29 to your computer and use it in GitHub Desktop.
Contact Form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="contact.css" /> | |
<link rel="stylesheet" href="styles/jquery-ui.css" /> | |
<script type="text/javascript" src="javascript/jquery-1.8.2.js"></script> | |
<script type="text/javascript" src="javascript/jquery-ui.js"></script> | |
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=News+Cycle:400,700' rel='stylesheet' type='text/css'> | |
<link href="http://fonts.googleapis.com/css?family=Ubuntu:bold" rel="stylesheet" type="text/css"> | |
<link href='http://fonts.googleapis.com/css?family=Cantora+One' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=Alegreya:400italic,700italic,900italic,400,700,900' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=Voltaire' rel='stylesheet' type='text/css'> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> | |
<script> | |
$(function() { | |
$( "#datepicker" ).datepicker(); | |
}); | |
</script> | |
</head> | |
<body> | |
<?php | |
require_once('sendmail.php'); | |
//Same as copy-pasting sendmail.php code at this point | |
?> | |
<p class="phpmessage"> | |
<?php | |
echo $complete_message; //The thank you message will be echoed if the emailing is successful in sendmail.php | |
?> | |
</p> | |
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> | |
<fieldset> | |
<legend>Contact Form</legend> | |
<div class="form"> | |
<label for="Name">Name</label><input type="text" class="inset" name="Name" id="Name" accesskey="1" title="enter name" /> | |
<label for="email">email address</label><input type="text" class="inset" name="email" id="email" accesskey="2" title="enter email address" /> | |
<label for="Telephone">Telephone</label><input type="text" class="inset" name="Telephone" id="Telephone" accesskey="3" title="enter Telephone Number" /> | |
<label for="datepicker">Booking Date</label><input type="text" class="inset" name="Date" id="datepicker" accesskey="5"/> | |
<label for="Comments">Comments</label> | |
<textarea id="Comments" name="Comments" class="comment"></textarea> | |
<div class="submit"><input name="Submit" type="submit" class="postc" value="Send"></div> | |
<div class="submit"><input name="Reset" type="reset" class="reset" value="Reset"/></div> | |
</div> | |
</fieldset> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment