Created
August 31, 2012 19:25
-
-
Save emersonbroga/3557841 to your computer and use it in GitHub Desktop.
Emerson Carvalho.com >> Formulário de contato em php + ajax (snippet 2)
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> | |
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8" /> | |
<!-- Set the viewport width to device width for mobile --> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<!-- For third-generation iPad with high-resolution Retina display: --> | |
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="image-144x144.png"> | |
<!-- For iPhone with high-resolution Retina display: --> | |
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="image-114x114.png"> | |
<!-- For first- and second-generation iPad: --> | |
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="image-72x72.png"> | |
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --> | |
<link rel="apple-touch-icon-precomposed" href="image-pre-composed.png"> | |
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --> | |
<link rel="icon" href="favicon.ico" type="image/x-icon" /> | |
<meta name="keywords" content="" /> | |
<meta name="description" content="" /> | |
<meta name="author" content="" /> | |
<meta name="copyright" content="" /> | |
<title>WebSite Title</title> | |
<!-- Included CSS Files --> | |
<!--<link rel="stylesheet" href="style.css">--> | |
<!-- IE Fix for HTML5 Tags --> | |
<!--[if lt IE 9]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
</head> | |
<body> | |
<!-- WEBSITE CONTENT --> | |
<span id="feedback"><?php echo ($return['msg']) ? $return['msg'] : '' ; ?></span> | |
<form action="" method="post" id="contact"> | |
<input type='hidden' name="form" id="form"value="" /> | |
<input type='text' name="name" id="name" value="<?php echo $name; ?>" placeholder="Nome"/><br/> | |
<input type='text' name="email" id="email" value="<?php echo $email; ?>" placeholder="Email"/><br/> | |
<input type='text' name="phone" id="phone" value="<?php echo $phone; ?>" placeholder="Telefone"/><br/> | |
<input type='text' name="subject" id="subject" value="<?php echo $subject; ?>" placeholder="Assunto"/><br/> | |
<textarea cols="30" rows="5" name="message" id="message"><?php echo $message; ?></textarea> | |
<input type="submit" value="Enviar"/> | |
</form> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.0/jquery-1.8.0.min.js" ></script> | |
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js" ></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment