1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>L'oeil de LuciOle - Contact</title>
<style type="text/css">
<!--
@import url("style.css");
#contactparam {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12pt;
color: #989898;
text-align: right;
height: auto;
width: 295px;
float: left;
}
#contactchamps {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12pt;
color: #000000;
text-align: left;
height: auto;
width: 300px;
float: right;
}
#contactform {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12pt;
height: auto;
width: 600px;
color: #989898;
}
-->
</style>
</head>
<body bgcolor="#2e2e2e">
<div align="center">
<p><a href="http://www.test.loeildeluciole.com">
<img src="/images/BanSiteOeil.jpg" width="800" border="0" /></a></p></div>
<br />
<br />
<br />
<br />
<br />
<br />
<?php
$sujet="Nouveau mail de demande de contact";
$nom=$_POST["nom"];
$email=$_POST["email"];
$message=$_POST["message"];
$adresse="monmail@monfai.com";
$email2 = "noreply@domain.td";
if ($nom == "" OR $email == "" OR $message == "")
{
echo "Veuillez remplir correctement le formulaire<br>Cliquez <a href='javascript:history.back();'>ici</a> pour revenir au formulaire";
}else{
if (mail($adresse,$message,$sujet,"Reply-to: $email2\r\nFrom: $email2\r\n"))
{
echo "<center><br><br><br><h2>Formulaire envoyé ! Je vous répondrai rapidement. Merci !</h2></center>";
}else{
echo '<center><br><br><br><h2>Une erreur est survenu lors de l\'envoi du message Vérifiez votre réseau</h2></center>';
}
}
?>
<br />
<br />
<br />
<br />
<h2 align="center"><a href="http://www.test.loeildeluciole.com">Accueil</a> | <a href="albums.html">Albums</a> | <a href="Mentions_legales.html">Mentions légales</a> | <a href="contact.html">Contact</a></h2>
</div>
</body>
</html> |