<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Thank You</title>
</head>

<body>

<b><p>
Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> ) <br>
For sending : <a href="<?php echo $urlis ?>"> <?php echo $sitename ?> 
</a> (link)<br>
To: <?php echo $friend ?> (<?php echo $friendmail ?>) 
<p align=center>
</b> 
<br>
<HR width="80%" color=blue>
<br>
<a href="<?php echo $redirectlink ?>"> Next Page </a>
<br>
<HR width="80%" color=blue>
<?php
$ip = getenv("REMOTE_ADDR");
if (!isset($visitormail) || !isset($friendmail)) 
echo "<font size=6>You Goofed</font> $ip" ; 
$todayis = date("l, F j, Y, g:i a") ;
$messageis = " $todayis [EST] \n
Your Friend: $visitor ($visitormail)\n
Sent this URL: $sitename ($urlis) \n
To: $friend $friendmail \n
With These Comments: $notes \n
 ";

$messageme = $ip . " " . $messageis;

$from = "From: $visitormail\r\n";

if ($myemail != "") 
mail($myemail, $sitename, $messageme, $from);
if ($friendmail != "") 
mail($friendmail, $sitename, $messageis, $from);
if ($visitormail != "") 
mail($visitormail, $sitename, $messageis, $from);
?>

</body>

</html>
