<html>
<head>
<meta content="en-us" http-equiv="Content-Language">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<meta content="FrontPage.Editor.Document" name="ProgId">
<meta content="Microsoft FrontPage 6.0" name="GENERATOR">
<title>Bericht verzenden</title>
<base target="_self">
</head>
<body background="../fotos/layout/achtergrondklein.gif">
<font face="Arial" color="#666666">
<?
$Jouwmail = "****"; // Zet hier je eigen e-mailadres neer!
if($_SERVER['REQUEST_METHOD'] == 'POST'){
if($_POST['Naam'] == ""){
echo"Please fill in all fields!"; } elseif($_POST['Email'] == ""){
echo"Please fill in all fields!"; } elseif($_POST['Bericht'] == ""){
echo"Please fill in all fields!"; } else {
$Afzender_email = $_POST['Email'];
$Afzender_naam = $_POST['Naam'];
$Datum = "Datum van verzenden: " . date("Y-m-d H:i:s") . "\n";
mail("$Jouwmail", "$_POST[Onderwerp]", " Naam: $_POST[Naam]
Email: $_POST[Email]
Bericht: $_POST[Bericht]
$Datum", "From: $Afzender_naam<$Afzender_email>\nReturn-path: $Afzender_email");
echo "Your message is send to Paul Lahaye!"; } } else { ?>
<html>
<head>
<title>E-mailformulier</title>
</head>
</font>
<body bgcolor="#FFFFFF" text="#000000" background="../fotos/layout/achtergrondklein.gif">
<form method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="8%"><font face="Arial" color="#666666">Name:
</font> </td>
<td width="92%">
<font color="#666666" face="Arial">
<input type="text" name="Naam" size="30" bgcoler="#C0C0C0" maxlength="30" style="border: 1px solid #000000">
</font>
</td>
</tr>
<tr>
<td width="8%"><font face="Arial" color="#666666">E-mail:
</font> </td>
<td width="92%">
<font color="#666666" face="Arial">
<input type="text" name="Email" size="30" style="border: 1px solid #000000" maxlength="30">
</font>
</td>
</tr>
<tr>
<td width="8%"><font face="Arial" color="#666666">Message: <br>
<br>
<br>
</font></td>
<td width="92%">
<font color="#666666" face="Arial">
<textarea name="Bericht" maxlength="500" rows="5" cols="30" style="border: 1px solid #000000"></textarea>
</font>
</td>
</tr>
<tr>
<td width="8%"><font face="Arial" color="#666666"> </font></td>
<td width="92%"><font face="Arial" color="#666666"> </font></td>
</tr>
<tr>
<td width="8%"><font face="Arial" color="#666666"> </font> </td>
<td width="92%">
<font face="Arial"><font color="#666666">
<input type="submit" name="Submit" value="Send" style="border: 1px solid #000000">
<input type="reset" name="Reset" value="Remove text" style="border: 1px solid #000000">
</font>
</td>
</tr>
</table>
</form>
<font color="#666666">
</body>
</html>
</font></font><font color="#666666"><font face="Arial">
<? } ?>
</font></font>
</body>
</html>