<?php
$to = "twoja_nazwa@twój_serwer";
$subject = $_POST['subject'];
$body = $_POST['body'];
$headers = "From: " . $_POST['emailAddress'] . "\n";
mail($to,$subject,$body,$headers);
?>
<!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=iso-8859-2" />
<title>Untitled Document</title>
<link href="css/newland.css" rel="stylesheet" type="text/css" />
</head>

<body>
<a href="#top"><img src="images/spacer.gif" alt="Skip to main page content" width="1" height="1" border="0" align="left" /></a>
<table width="750" border="0" cellpadding="3" cellspacing="0">
  <tr>
    <td><img src="images/banner_left.gif" width="451" height="68" /></td>
    <td width="280"><img src="images/banner_right.jpg" width="276" height="68" /></td>
  </tr>
  <tr>
    <td><img src="images/navbar.gif" name="navbar" width="450" height="20" border="0" usemap="#navbarMap" id="navbar" /></td>
    <td><img src="images/copyright_bar.gif" name="copyright_bar" width="272" height="20" border="0" id="copyright_bar" /></td>
  </tr>
  <tr>
    <td colspan="2"><h1><br />
            <a name="top" id="top"></a>Wiadomość wysłana</h1>
        <p>Twoja wiadomość została wysłana. Odpowiemy w ciągu dwóch dni.</p>
      <p>Przejdź do <a href="index.asp">strony głównej</a>.</p></td>
  </tr>
</table>
<br />
<br />
<map name="navbarMap" id="navbarMap">
  <area shape="rect" coords="1,0,62,20" href="index.asp" alt="Home" />
  <area shape="rect" coords="72,0,118,20" href="about.asp" alt="About" />
  <area shape="rect" coords="131,1,198,21" href="tours.asp" alt="Find Tours" />
  <area shape="rect" coords="209,0,311,20" href="profiles.asp" alt="Country Profiles" />
  <area shape="rect" coords="327,0,434,20" href="contact.asp" alt="Contact An Agent" />
</map>

</body>
</html>
