corps du collage affiché<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Dummy: Lorem Ipsum</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="CSS/Stijlen.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
<!-- made by Aswin Coolsaet, mail: aswin@aswin.be -->
<!--
if (document.images)
{
image1on = new Image(); image1on.src = "Images/Buttons/Geel/Home.jpg";
image1off = new Image(); image1off.src = "Images/Buttons/Zwart/Home.jpg";
image2on = new Image(); image2on.src = "Images/Buttons/Geel/Producten.jpg";
image2off = new Image(); image2off.src = "Images/Buttons/Zwart/Producten.jpg";
image3on = new Image(); image3on.src = "Images/Buttons/Geel/UwSysteem.jpg";
image3off = new Image(); image3off.src = "Images/Buttons/Zwart/UwSysteem.jpg";
image4on = new Image(); image4on.src = "Images/Buttons/Geel/WaarKopen.jpg";
image4off = new Image(); image4off.src = "Images/Buttons/Zwart/WaarKopen.jpg";
image5on = new Image(); image5on.src = "Images/Buttons/Geel/Montage.jpg";
image5off = new Image(); image5off.src = "Images/Buttons/Zwart/Montage.jpg";
image6on = new Image(); image6on.src = "Images/Buttons/Geel/InGebruik.jpg";
image6off = new Image(); image6off.src = "Images/Buttons/Zwart/InGebruik.jpg";
image7on = new Image(); image7on.src = "Images/Buttons/Geel/Downloads.jpg";
image7off = new Image(); image7off.src = "Images/Buttons/Zwart/Downloads.jpg";
image8on = new Image(); image8on.src = "Images/Buttons/Geel/FAQ.jpg";
image8off = new Image(); image8off.src = "Images/Buttons/Zwart/FAQ.jpg";
image9on = new Image(); image9on.src = "Images/Buttons/Geel/Links.jpg";
image9off = new Image(); image9off.src = "Images/Buttons/Zwart/Links.jpg";
image10on = new Image(); image10on.src = "Images/Buttons/Geel/Vragen.jpg";
image10off = new Image(); image10off.src = "Images/Buttons/Zwart/Vragen.jpg";
}
function changeImages()
{
if (document.images)
{
for (var i=0; i<changeImages.arguments.length; i+=2)
{
document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
}
}
}
// -->
</SCRIPT>
<style type="text/css">
<!--
body {
background-color: #DDDDDD;
}
-->
</style></head>
<body>
<table width="760" border="0" align="center" bgcolor="#DDDDDD">
<tr>
<td colspan="2" scope="col"><div align="left"><img src="Images/Banner.jpg" width="760" height="84"></div></td>
</tr>
<tr>
<td height="5" colspan="0" scope="col"> </td>
</tr>
<tr>
<td width="135" valign="top" scope="row"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="40"><a href="index.php" onmouseover="changeImages('image1', 'image1on')" onmouseout="changeImages('image1', 'image1off')"><img src="Images/Buttons/Zwart/Home.jpg" alt="Ga naar Home (Start)" width="120" height="25" border="0" name="image1"></a></td>
</tr>
<tr>
<td height="40"><a href="Producten.php" onmouseover="changeImages('image2', 'image2on')" onmouseout="changeImages('image2', 'image2off')"><img src="Images/Buttons/Zwart/Producten.jpg" alt="Ga naar Producten" width="120" height="25" border="0" name="image2"></a></td>
</tr>
<tr>
<td height="40"><a href="UwSysteem.php" onmouseover="changeImages('image3', 'image3on')" onmouseout="changeImages('image3', 'image3off')"><img src="Images/Buttons/Zwart/UwSysteem.jpg" alt="Ga naar UwSysteem" width="120" height="25" border="0" name="image3"></a></td>
</tr>
<tr>
<td height="40"><a href="WaarKopen.php" onmouseover="changeImages('image4', 'image4on')" onmouseout="changeImages('image4', 'image4off')"><img src="Images/Buttons/Zwart/WaarKopen.jpg" alt="Ga naar WaarKopen" width="120" height="25" border="0" name="image4"></a></td>
</tr>
<tr>
<td height="40"><a href="Montage.php" onmouseover="changeImages('image5', 'image5on')" onmouseout="changeImages('image5', 'image5off')"><img src="Images/Buttons/Zwart/Montage.jpg" alt="Ga naar Montage" width="120" height="25" border="0" name="image5"></a></td>
</tr>
<tr>
<td height="40"><a href="InGebruik.php" onmouseover="changeImages('image6', 'image6on')" onmouseout="changeImages('image6', 'image6off')"><img src="Images/Buttons/Zwart/InGebruik.jpg" alt="Ga naar In Gebruik" width="120" height="25" border="0" name="image6"></a></td>
</tr>
<tr>
<td height="40"><a href="Downloads.php" onmouseover="changeImages('image7', 'image7on')" onmouseout="changeImages('image7', 'image7off')"><img src="Images/Buttons/Zwart/Downloads.jpg" alt="Ga naar Downloads" width="120" height="25" border="0" name="image7"></a></td>
</tr>
<tr>
<td height="40"><a href="Vragen.php"><img src="Images/Buttons/Zwart/Vragen.jpg" alt="Ga naar Vragen?" width="120" height="25" border="0" name="image10"></a></td>
</tr>
</table></td>
<td width="615" rowspan="3" valign="top" class="InhoudGroot"><h1 class="style1">Stel een vraag! </h1>
<form action="Mail.php" method="POST">
<p><b>Uw Naam</b><br>
<input type="text" name="name" size=40>
</p>
<p><b>Uw e-mailadres*</b><br>
<input type="text" name="email" size=40>
</p>
<p><b>Onderwerp</b><br>
<input type="text" name="subject" size=40>
<p><b>Boodschap</b><br>
<textarea cols=72 rows=10 name="message"></textarea>
<p><input type="submit" value=" Send ">
</form>
<?php
/* All form fields are automatically passed to the PHP script through the array $HTTP_POST_VARS. */
$fromname = $HTTP_POST_VARS['name'];
$fromadress = $HTTP_POST_VARS['email'];
$email = 'huybkoen@gmail.com';
$subject = $HTTP_POST_VARS['subject'];
$message = $HTTP_POST_VARS['message'];
$headers .= "From: \"".$fromname."\" <".$fromaddress.">\n";
/* PHP form validation: the script checks that the Email field contains a valid email address and the Subject field isn't empty. preg_match performs a regular expression match. It's a very powerful PHP function to validate form fields and other strings - see PHP manual for details. */
if (!preg_match("/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/", $email)) {
echo "<h4>Invalid email address</h4>";
echo "<a href='javascript:history.back(1);'>Back</a>";
} elseif ($subject == "") {
echo "<h4>No subject</h4>";
echo "<a href='javascript:history.back(1);'>Back</a>";
}
/* Sends the mail and outputs the "Thank you" string if the mail is successfully sent, or the error string otherwise. */
elseif (mail($email,$subject,$message,$headers)) {
echo "<h4>Uw e-mail is verzonden.\nBedankt voor de reactie</h4>";
} else {
echo "<h4>Can't send email to $email</h4>";
}
?>
<p>* Dit e-mailadres wordt enkel gebruikt om antwoord te geven op gestelde vragen</p> </tr>
<tr>
<td valign="top" scope="row"> </td>
</tr>
</table>
</body>
</html>