Old stuff/old_sites/amaury/photoblog/html/contact.php
(Deskargatu)
<html>
<head>
<title>index.png</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
div.contact dl { font-size:9px; }
div.contact { font-size:9px; }
div.contact dd
{
width:40px;
position:relative;
top:-16px;
left:50px;
}
div.contact dl { margin:30px 0 0 0 ; }
div.contact dt { font-weight:bold; }
div.contact input
{
border:none;
text-align:right;
background-color:black;
padding:0px 2px;
color:#ccc;
border-bottom:1px solid #555;
}
div.contact textarea {
border:1px solid #555;
background-color:#333;
padding:2px;
color:#ccc;
}
div.contact dt.button { display:none; }
div.contact dd.button input
{
margin:10px 0 0 180px;
width:70px;
font-size:9px;
text-align:right;
border-bottom:1px solid #bbb;
}
div.left img
{
margin:5px 20px;
float:left;
}
div.right img
{
margin:5px 20px;
float:right;
}
div.right p,div.left p
{
padding:10px 0 0 0;
vertical-align:center;
}
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
color: #666666;
}
body {
margin-left: 15px;
margin-top: 15px;
margin-right: 15px;
margin-bottom: 15px;
}
a:link {
color: #CCCCCC;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #999999;
}
h6 { font-size:10px; }
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
</style></head>
<body bgcolor="#000000">
<center> <table border="0" cellpadding="0" cellspacing="0" width="800">
<tr>
<td><img src="images/spacer.gif" width="10" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="53" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="10" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="53" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="8" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="53" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="26" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="202" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="6" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="378" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="9"><img name="index_r1_c1" src="images/index_r1_c1.png" width="421" height="28" border="0" alt=""></td>
<td rowspan="14"><img name="index_r1_c10" src="images/index_r1_c10.png" width="1" height="600" border="0" alt=""></td>
<td rowspan="14"><img name="index_r1_c11" src="images/index_r1_c11.png" width="378" height="600" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="28" border="0" alt=""></td>
</tr>
<tr>
<td colspan="10" height="380px" style="overflow:auto;" vertical-align="top">
<div class="contact" style="overflow:auto; height:380px">
<div>
<?
if (empty($_POST['mail']) or empty($_POST['sujet']) or empty($_POST['message']))
{
?>
<p>Vous désirez me contacter ? N'hésitez pas à m'envoyer un mail!</p>
<form action="contact.php" method="post">
<dl>
<dt>Nom</dt>
<dd><input size="35" type="text" value="" name="nom" /></dd>
<dt>Prénom</dt>
<dd><input size="35" type="text" value="" name="prenom" /></dd>
<dt>mail</dt>
<dd><input size="35" type="text" value="" name="mail" /></dd>
<dt>gsm</dt>
<dd><input size="35" type="text" value="" name="gsm" /></dd>
<dt>Sujet<sup>*</sup></dt>
<dd><input size="35" type="text" value="" name="sujet" /></dd>
<dt>Message</dt>
<dd><textarea rows="5" cols="35" name="message"></textarea></dd>
<dt class="button">Validation</dt>
<dd class="button"><input type="submit" value="ENVOYER" /></dd>
</dl>
</form>
<?
}
else {
$nom = $_POST['nom'];
$prenom = $_POST['prenom'];
$mail = $_POST['mail'];
$gsm = $_POST['gsm'];
$sujet = $_POST['sujet'];
$message = $_POST['message'];
mail("Amaury@indesignstudio.be","$sujet","
nom:\t$nom
prenom :\t$prenom
mail :\t$mail
gsm :\t$gsm
message :
_____________(start)_____________
$message
______________(end)______________
",
"From:contact@InDesignStudio.be\r\n"
);
echo "<h6>Message envoyé.</h6>
<p><a href=\"index.php\">Retour</a></p>";
}
?>
</div>
</td>
</tr>
<tr>
<td colspan="9"><img name="index_r5_c1" src="images/index_r5_c1.png" width="421" height="46" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="46" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="9"><img name="index_r6_c1" src="images/index_r6_c1.png" width="10" height="147" border="0" alt=""></td>
<td><a href="index.php"><img name="index_r6_c2" src="images/index_r6_c2.png" width="53" height="9" border="0" alt=""></a></td>
<td rowspan="9"><img name="index_r6_c3" src="images/index_r6_c3.png" width="10" height="147" border="0" alt=""></td>
<td><a href="contact.php"><img name="index_r6_c4" src="images/index_r6_c4.png" width="53" height="9" border="0" alt=""></a></td>
<td rowspan="9"><img name="index_r6_c5" src="images/index_r6_c5.png" width="8" height="147" border="0" alt=""></td>
<td><a href="index.php"><img name="index_r6_c6" src="images/index_r6_c6.png" width="53" height="9" border="0" alt=""></a></td>
<td rowspan="9"><img name="index_r6_c7" src="images/index_r6_c7.png" width="26" height="147" border="0" alt=""></td>
<td rowspan="8"><img name="index_r6_c8" src="images/index_r6_c8.png" width="202" height="147" border="0" alt=""></td>
<td rowspan="9"><img name="index_r6_c9" src="images/index_r6_c9.png" width="6" height="147" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="9" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r7_c2" src="images/index_r7_c2.png" width="53" height="1" border="0" alt=""></td>
<td><img name="index_r7_c4" src="images/index_r7_c4.png" width="53" height="1" border="0" alt=""></td>
<td><img name="index_r7_c6" src="images/index_r7_c6.png" width="53" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><a href="about.php"><img name="index_r8_c2" src="images/index_r8_c2.png" width="53" height="9" border="0" alt=""></a></td>
<td><a href="portfolio.php"><img name="index_r8_c4" src="images/index_r8_c4.png" width="53" height="9" border="0" alt=""></a></td>
<td><a href="about.php"><img name="index_r8_c6" src="images/index_r8_c6.png" width="53" height="9" border="0" alt=""></a></td>
<td><img src="images/spacer.gif" width="1" height="9" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r9_c2" src="images/index_r9_c2.png" width="53" height="1" border="0" alt=""></td>
<td><img name="index_r9_c4" src="images/index_r9_c4.png" width="53" height="1" border="0" alt=""></td>
<td><img name="index_r9_c6" src="images/index_r9_c6.png" width="53" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><a href="portfolio.php"><img name="index_r10_c2" src="images/index_r10_c2.png" width="53" height="9" border="0" alt=""></a></td>
<td><a href="about.php"><img name="index_r10_c4" src="images/index_r10_c4.png" width="53" height="9" border="0" alt=""></a></td>
<td><a href="portfolio.php"><img name="index_r10_c6" src="images/index_r10_c6.png" width="53" height="9" border="0" alt=""></a></td>
<td><img src="images/spacer.gif" width="1" height="9" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r11_c2" src="images/index_r11_c2.png" width="53" height="1" border="0" alt=""></td>
<td><img name="index_r11_c4" src="images/index_r11_c4.png" width="53" height="1" border="0" alt=""></td>
<td><img name="index_r11_c6" src="images/index_r11_c6.png" width="53" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><a href="contact.php"><img name="index_r12_c2" src="images/index_r12_c2.png" width="53" height="9" border="0" alt=""></a></td>
<td><a href="index.php"><img name="index_r12_c4" src="images/index_r12_c4.png" width="53" height="9" border="0" alt=""></a></td>
<td><a href="contact.php"><img name="index_r12_c6" src="images/index_r12_c6.png" width="53" height="9" border="0" alt=""></a></td>
<td><img src="images/spacer.gif" width="1" height="9" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img name="index_r13_c2" src="images/index_r13_c2.png" width="53" height="108" border="0" alt=""></td>
<td rowspan="2"><img name="index_r13_c4" src="images/index_r13_c4.png" width="53" height="108" border="0" alt=""></td>
<td rowspan="2"><img name="index_r13_c6" src="images/index_r13_c6.png" width="53" height="108" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="96" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r14_c8" src="images/index_r14_c8.png" width="202" height="12" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="12" border="0" alt=""></td>
</tr>
</table>
</center>
</body>
</html>