Advertisement
Advertisement
| 07.08.2008 at 12:35PM PDT, ID: 23547978 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: 215: 216: 217: 218: 219: 220: 221: 222: 223: 224: 225: 226: 227: 228: 229: 230: 231: 232: 233: 234: 235: 236: 237: 238: 239: 240: 241: 242: 243: 244: 245: 246: 247: 248: 249: 250: 251: 252: 253: 254: 255: 256: 257: 258: 259: 260: 261: 262: 263: 264: 265: 266: 267: 268: 269: 270: 271: 272: 273: 274: 275: 276: 277: 278: 279: 280: 281: 282: 283: 284: 285: 286: 287: 288: 289: 290: 291: 292: 293: 294: 295: 296: 297: 298: 299: 300: 301: 302: 303: 304: 305: 306: 307: 308: 309: 310: 311: 312: 313: 314: 315: 316: 317: 318: 319: 320: 321: 322: 323: 324: 325: 326: 327: 328: 329: 330: 331: 332: 333: 334: 335: 336: 337: 338: 339: 340: 341: 342: 343: 344: 345: 346: 347: 348: 349: 350: 351: 352: 353: 354: 355: 356: 357: 358: 359: 360: 361: 362: 363: 364: 365: 366: 367: 368: 369: 370: 371: 372: 373: 374: 375: 376: 377: 378: 379: 380: 381: 382: 383: 384: 385: 386: 387: 388: 389: 390: 391: 392: 393: 394: 395: 396: 397: 398: 399: 400: 401: 402: 403: 404: 405: 406: 407: 408: 409: 410: 411: 412: 413: 414: 415: 416: 417: 418: 419: 420: 421: 422: 423: 424: 425: 426: 427: 428: 429: 430: 431: 432: 433: 434: 435: 436: 437: 438: 439: 440: 441: 442: 443: 444: 445: 446: 447: 448: 449: 450: 451: 452: 453: 454: 455: |
<?php
// CONFIGURATION VARIABLES (Set These)
// the name and email address of the person that will receive the email from the form
$ToName = "Beaver Dam Creek House";
$ToAddress = "beaverdamcreek@aol.com";
// the subject of the form email
$Subject = "Beaver Dam Creek House Web E-mail";
// the name of your website
$SiteName = "The Beaver Dam Creek House.";
// the URL of your website
$Homepage = "http://www.beaverdamcreekhouse.com";
// the valid domain where the email send function can be called from
$ValidDomain = "beaverdamcreekhouse.com";
// the auto responders subject
$AutoRespondSubject = "The Beaver Dam Creek House Thanks You (auto response)";
// the auto responders message
$AutoRespondMessage = "\nYour submission has been received, Thank You. This is just an autoresponse, no need to reply.\n\n";
// DO NOT MODIFY THIS
$AutoRespondMessage .= "\r\n$SiteName - $Homepage";
$AutoRespondMessage .= "\r\n\r\n______________________________________________________________";
$AutoRespondMessage .= "\r\nThe Beaver Dam Creek House Email Script";
// CORE FUNCTIONS
function clean_data ( $data )
{
$data = strip_tags ( $data );
$data = stripslashes ( $data );
$data = eregi_replace("[[:space:]]+", " ", $data);
$data = trim ( $data );
return $data;
}
function clean_message ( $data )
{
$data = strip_tags ( $data );
$data = stripslashes ( $data );
$data = trim ( $data );
return $data;
}
// initialize variables
$address = "";
$name = "";
$themessage = "";
// SHOW EMAIL FORM
if ($argv[0] != "send"):
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>The Beaver Dam Creek House - Contact Us</title>
<META NAME="description" CONTENT="Beaver Dam Creek House Bed & Breakfast, one of Westhampton's hidden jewels, is a private waterside home overlooking the Beaver Dam Creek.">
<META NAME="keywords" CONTENT="beaver dam, beaver dam creek house, creek, house, beaver, bed, breakfast, bed and breakfast, b and b, B&B, bb, westhampton, westhampton beach, hamptons, where to stay, places to stay, vacationing, temporary living, ocean, things to do in the hamptons, Sawyer, Joan Sawyer, Bill Sawyer, come stay with us, east hampton, southampton, bridgehampton, water mill, hotel, motel, wine, wine country, ocean beach, beach, long island, performing arts, chamber of commerce">
<!-- beaver dam, beaver dam creek house, creek, house, beaver, bed, breakfast, bed and breakfast, b and b, B&B, bb, westhampton, westhampton beach, hamptons, where to stay, places to stay, vacationing, temporary living, ocean, things to do in the hamptons, Sawyer, Joan Sawyer, Bill Sawyer, come stay with us, east hampton, southampton, bridgehampton, water mill, hotel, motel, wine, wine country, ocean beach, beach, long island, performing arts, chamber of commerce -->
<link href="stylesheet.css" rel=stylesheet>
</head>
<body bgcolor="#336633" leftmargin=0 topmargin=0 marginheight="0" marginwidth="0" text="#000000" link="#0000FF" vlink="#0000FF" alink="#0000FF">
<!-- Begin Body Outer Table-->
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr valign="top">
<td width="45%"><img src="pix/pix_trans.gif" width="1" height="1" alt="" border="0"></td>
<td width="10%">
<!-- Begin Body -->
<table width="620" border="0" cellspacing="0" cellpadding="0"><tr valign="top">
<!-- Begin Left Side -->
<td width="169" bgcolor="#BDBD8A"><a href="index.html"><img src="pix/g_logo.gif" width="169" height="163" alt="About The Beaver Damn Creek House" border="0"></a><br><br>
<a href="about.htm"><img src="pix/nav_about.gif" width="169" height="14" alt="About BDCH" border="0"></a><br><br>
<a href="accommodations.htm"><img src="pix/nav_accommodations.gif" width="169" height="14" alt="Accommodations" border="0"></a><br><br>
<a href="gallery.htm"><img src="pix/nav_gallery.gif" width="169" height="14" alt="Picture Gallery" border="0"></a><br><br>
<a href="contact.php"><img src="pix/nav_contact_on.gif" width="169" height="14" alt="Contact Us" border="0"></a><br><br>
<a href="sitemap.htm"><img src="pix/nav_sitemap.gif" width="169" height="14" alt="Site Map" border="0"></a><br><br>
<a href="index.html"><img src="pix/nav_home.gif" width="169" height="14" alt="Home" border="0"></a><br><br>
</td>
<!-- End Left Side -->
<!-- Begin Right Side -->
<td width="451">
<table width="451" border="0" cellspacing="0" cellpadding="0" align="left"><tr valign="top">
<td bgcolor="#336633"><img src="pix/pix_trans.gif" width="1" height="25" alt="" border="0"><br><img src="pix/header_tagline.jpg" width="451" height="102" alt="" border="0"><br>
<img src="pix/g_title_left_corner.gif" width="41" height="36" alt="" border="0"><img src="pix/title_about.gif" width="372" height="35" alt="About The Beaver Dam Creek House" border="0"><img src="pix/g_title_right_corner.gif" width="38" height="35" alt="" border="0"></td>
</tr><tr valign="top">
<td bgcolor="#ffffff"><br>
<table width="375" border="0" cellspacing="2" cellpadding="2" align="center"><tr valign="top">
<td>
<!-- Start Body Text -->
<?php
echo "<form name=\"email\" action=\"$PHP_SELF?send\" method=\"post\">";
?>
<!-- Start Form -->
<br><br><table width="375" border="0" cellspacing="5" cellpadding="5" align="center"><tr>
<td colspan="2"><font size="2" color="#FF0000" face="verdana" class="body">We've created this form for easy communication via the internet, this form will send an e-mail from the website to <a href="mailto:BeaverDamCreek@aol.com" class="body">BeaverDamCreek@aol.com</a>. Enjoy</b></font></td>
</tr><tr>
<td width="150"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" class="body">Name</font></td>
<td width="350"><input type="text" size="30" name="ReplyTo" tabindex="1"></td>
</tr><tr>
<td><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" class="body">E-mail Address</font></td>
<td><input type="text" size="30" name="ReplyToAddress" tabindex="2"></td>
</tr><tr>
<td colspan="2"><textarea rows="9" cols="40" name="Message" tabindex="3" wrap="virtual"></textarea></td>
</tr><tr>
<td colspan="2" align="center"><input type="submit" value="send" name="submit" tabindex="4"></td>
</tr></table>
<!-- End Form -->
</form>
<!-- End Body Text -->
</td>
</tr></table>
</td>
</tr></table>
</td>
<!-- End Right Side -->
</tr></table>
<!-- End Body -->
<!-- Begin Footer -->
<table width="621" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFCC"><tr valign="top">
<td colspan="4">
<img src="pix/home/g_horiz_line.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/pix_trans.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/g_horiz_line.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/pix_trans.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/g_horiz_line.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/pix_trans.gif" width="620" height="10" alt="" border="0"><br>
</td>
</tr><tr valign="top">
<td colspan="4" align="center">
<a href="about.htm" class="footer">About the BDCH</a> | <a href="accommodations.htm" class="footer">accommodations</a> | <a href="gallery.htm" class="footer">Picture Gallery</a> | <a href="contact.php" class="footer">Contact Us</a> | <a href="http://www.mapquest.com/directions/main.adp?2l=OHOxaN1Yf58%253d&2g=MRK4OZO39VQ%253d&2pn=&2ic=31&2ex=1&src=maps&2a=5%20Pleasant%20Ave&2c=Westhampton&2s=NY&2z=11977%2d1515&2y=US" target="_blank" class="footer">Directions</a> | <a href="sitemap.htm" class="footer">Site Map</a> | <a href="index.html" class="footer">Home</a>
<br><br>
</td>
</tr><tr valign="top">
<td width="100"><img src="pix/home/pix_trans.gif" width="100" height="1" alt="" border="0"></td>
<td align="left" width="300"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" class="footer"><b><a href="index.html" class="footer">Beaver Dam Creek House Bed & Breakfast</a></b><br>Five Pleasant Avenue, Westhampton, NY 11977<br>Phone: (631) 898 0001<br>e-mail: <a mailto:"BeaverDamCreek@aol.com" class="footer">BeaverDamCreek@aol.com</a><br><br>Website designed and maintained by <a href="http://www.fluidimagery.com" class="footer" target="_new">Fluid Imagery.</a></font></td>
<td width="92"><img src="pix/home/g_footer_logo.gif" width="92" height="98" alt="" border="0"></td>
<td width="128" align="right"><img src="pix/home/pix_trans.gif" width="89" height="1" alt="" border="0"><img src="pix/home/g_right-bottom_corner.gif" width="39" height="98" alt="" border="0"></td>
</tr></table>
<!-- End Footer -->
</td>
<td width="45%"><img src="pix/pix_trans.gif" width="1" height="61" alt="" border="0"></td>
</tr></table>
<!-- End Body Outer Table -->
</body>
</html>
<?php
// SEND THE EMAIL
elseif ($argv[0] == "send"):
// check for bad referer
if ( ! eregi ( $ValidDomain , $HTTP_REFERER ) )
{
die ("Bad Referer");
}
$ReplyTo = clean_data ( $ReplyTo );
$ReplyToAddress = clean_data ( $ReplyToAddress );
$Message = clean_message ( $Message );
// check for valid email address
if ( eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+([a-z]{2,3}$)", $ReplyToAddress, $verify) )
{
$address = "OK";
/* Does not work for all addresses
if (getmxrr($verify[1].$verify[2],$temp))
{
$address = "OK";
}
*/
}
// verify name exists
if ( eregi("^[a-z]{3}", $ReplyTo) )
{
$name = "OK";
}
// verify message exists
if ( eregi("^.{10}", $Message) )
{
$themessage = "OK";
}
// send the email if everything is OK
if ( $address == "OK" && $name == "OK" && $themessage == "OK" )
{
// SEND THE FORM EMAIL
@mail($ToName." <".$ToAddress.">", $Subject, $Message, "From: ".$ReplyTo." <".$ReplyToAddress.">\nReply-To: ".$ReplyTo." <".$ReplyToAddress.">\nX-Sender: ".$ReplyTo." <".$ReplyToAddress.">\nX-Mailer: PHP/".phpversion()) or die ("Error sending email");
// SEND THE AUTO REPLY
@mail($ReplyTo." <".$ReplyToAddress.">", $AutoRespondSubject, $AutoRespondMessage, "From: ".$ToName." <".$ToAddress.">\nReply-To: ".$ToName." <".$ToAddress.">\nX-Sender: ".$ToName." <".$ToAddress.">\nX-Mailer: PHP/".phpversion()) or die ("Error sending auto response");
//SHOW CONFIRMATION PAGE
$Message = htmlspecialchars ( $Message );
$Message = eregi_replace ( "\n", "<br>\n\n", $Message );
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>The Beaver Dam Creek House - Contact Us - Mail Sent</title>
<META NAME="description" CONTENT="Beaver Dam Creek House Bed & Breakfast, one of Westhamptons hidden jewels, is a private waterside home overlooking the Beaver Dam Creek.">
<META NAME="keywords" CONTENT="beaver dam, beaver dam creek house, creek, house, beaver, bed, breakfast, bed and breakfast, b and b, B&B, bb, westhampton, westhampton beach, hamptons, where to stay, places to stay, vacationing, temporary living, ocean, things to do in the hamptons, Sawyer, Joan Sawyer, Bill Sawyer, come stay with us, east hampton, southampton, bridgehampton, water mill, hotel, motel, wine, wine country, ocean beach, beach, long island, performing arts, chamber of commerce">
<!-- beaver dam, beaver dam creek house, creek, house, beaver, bed, breakfast, bed and breakfast, b and b, B&B, bb, westhampton, westhampton beach, hamptons, where to stay, places to stay, vacationing, temporary living, ocean, things to do in the hamptons, Sawyer, Joan Sawyer, Bill Sawyer, come stay with us, east hampton, southampton, bridgehampton, water mill, hotel, motel, wine, wine country, ocean beach, beach, long island, performing arts, chamber of commerce -->
<link href="stylesheet.css" rel=stylesheet>
</head>
<body bgcolor="#336633" leftmargin=0 topmargin=0 marginheight="0" marginwidth="0" text="#000000" link="#0000FF" vlink="#0000FF" alink="#0000FF">
<!-- Begin Body Outer Table-->
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr valign="top">
<td width="45%"><img src="pix/pix_trans.gif" width="1" height="1" alt="" border="0"></td>
<td width="10%">
<!-- Begin Body -->
<table width="620" border="0" cellspacing="0" cellpadding="0"><tr valign="top">
<!-- Begin Left Side -->
<td width="169" bgcolor="#BDBD8A"><a href="index.html"><img src="pix/g_logo.gif" width="169" height="163" alt="About The Beaver Damn Creek House" border="0"></a><br><br>
<a href="about.htm"><img src="pix/nav_about_on.gif" width="169" height="14" alt="About BDCH" border="0"></a><br><br>
<a href="accommodations.htm"><img src="pix/nav_accommodations.gif" width="169" height="14" alt="Accommodations" border="0"></a><br><br>
<a href="gallery.htm"><img src="pix/nav_gallery.gif" width="169" height="14" alt="Picture Gallery" border="0"></a><br><br>
<a href="contact.php"><img src="pix/nav_contact.gif" width="169" height="14" alt="Contact Us" border="0"></a><br><br>
<a href="links.htm"><img src="pix/nav_links.gif" width="169" height="14" alt="Links" border="0"></a><br><br>
<a href="http://www.mapquest.com/directions/main.adp?2l=OHOxaN1Yf58%253d&2g=MRK4OZO39VQ%253d&2pn=&2ic=31&2ex=1&src=maps&2a=5%20Pleasant%20Ave&2c=Westhampton&2s=NY&2z=11977%2d1515&2y=US" target="_blank"><img src="pix/nav_directions.gif" width="169" height="14" alt="Directions" border="0"></a><br><br>
<a href="sitemap.htm"><img src="pix/nav_sitemap.gif" width="169" height="14" alt="Site Map" border="0"></a><br><br>
<a href="index.html"><img src="pix/nav_home.gif" width="169" height="14" alt="Home" border="0"></a><br><br>
</td>
<!-- End Left Side -->
<!-- Begin Right Side -->
<td width="451">
<table width="451" border="0" cellspacing="0" cellpadding="0" align="left"><tr valign="top">
<td bgcolor="#336633"><img src="pix/pix_trans.gif" width="1" height="25" alt="" border="0"><br><img src="pix/header_tagline.jpg" width="451" height="102" alt="" border="0"><br>
<img src="pix/g_title_left_corner.gif" width="41" height="36" alt="" border="0"><img src="pix/title_about.gif" width="372" height="35" alt="About The Beaver Dam Creek House" border="0"><img src="pix/g_title_right_corner.gif" width="38" height="35" alt="" border="0"></td>
</tr><tr valign="top">
<td bgcolor="#ffffff"><br>
<table width="375" border="0" cellspacing="2" cellpadding="2" align="center"><tr valign="top">
<td><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" class="body">
The following message has been sent:</b><br><br><b>From: </b>'.$ReplyTo.'<br><br><b>Email Address: </b><a href="mailto:'.$ReplyToAddress.'" class="body">'.$ReplyToAddress.'</a><br><br><b>Message: </b> </a>'.$Message.'<br><br><hr width="250" align="center"><b>This page was created for you to be able to print out the e-mail you have just written for your records.</font><br><br><br>
</td>
</tr><tr valign="top">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr valign="top">
<td align="left"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" class="footer"><a href="index.html" class="footer"><<< Return back home</a></font></td>
<td><img src="pix/pix_trans.gif" width="1" height="1" alt="" border="0"></td>
<td align="right"><img src="pix/pix_trans.gif" width="1" height="1" alt="" border="0"></td>
</tr></table>
</td>
</tr></table>
</td>
</tr></table>
</td>
<!-- End Right Side -->
</tr></table>
<!-- End Body -->
<!-- Begin Footer -->
<table width="621" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFCC"><tr valign="top">
<td colspan="4">
<img src="pix/home/g_horiz_line.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/pix_trans.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/g_horiz_line.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/pix_trans.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/g_horiz_line.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/pix_trans.gif" width="620" height="10" alt="" border="0"><br>
</td>
</tr><tr valign="top">
<td colspan="4" align="center">
<a href="about.htm" class="footer">About the BDCH</a> | <a href="accommodations.htm" class="footer">accommodations</a> | <a href="gallery.htm" class="footer">Picture Gallery</a> | <a href="contact.php" class="footer">Contact Us</a> | <a href="http://www.mapquest.com/directions/main.adp?2l=OHOxaN1Yf58%253d&2g=MRK4OZO39VQ%253d&2pn=&2ic=31&2ex=1&src=maps&2a=5%20Pleasant%20Ave&2c=Westhampton&2s=NY&2z=11977%2d1515&2y=US" target="_blank" class="footer">Directions</a> | <a href="sitemap.htm" class="footer">Site Map</a> | <a href="index.html" class="footer">Home</a>
<br><br>
</td>
</tr><tr valign="top">
<td width="100"><img src="pix/home/pix_trans.gif" width="100" height="1" alt="" border="0"></td>
<td align="left" width="300"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" class="footer"><b><a href="index.html" class="footer">Beaver Dam Creek House Bed & Breakfast</a></b><br>Five Pleasant Avenue, Westhampton, NY 11977<br>Phone: (631) 898 0001<br>e-mail: <a mailto:"BeaverDamCreek@aol.com" class="footer">BeaverDamCreek@aol.com</a><br><br>Website designed and maintained by <a href="http://www.fluidimagery.com" class="footer" target="_new">Fluid Imagery.</a></font></td>
<td width="92"><img src="pix/home/g_footer_logo.gif" width="92" height="98" alt="" border="0"></td>
<td width="128" align="right"><img src="pix/home/pix_trans.gif" width="89" height="1" alt="" border="0"><img src="pix/home/g_right-bottom_corner.gif" width="39" height="98" alt="" border="0"></td>
</tr></table>
<!-- End Footer -->
</td>
<td width="45%"><img src="pix/pix_trans.gif" width="1" height="61" alt="" border="0"></td>
</tr></table>
<!-- End Body Outer Table -->
</body>
</html>';
}
// show error page if everything is not OK
if ( $address != "OK" || $name != "OK" || $themessage != "OK" )
{
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>The Beaver Dam Creek House - Contact Us - Error in Mail</title>
<META NAME="description" CONTENT="Beaver Dam Creek House Bed & Breakfast, one of Westhamptons hidden jewels, is a private waterside home overlooking the Beaver Dam Creek.">
<META NAME="keywords" CONTENT="beaver dam, beaver dam creek house, creek, house, beaver, bed, breakfast, bed and breakfast, b and b, B&B, bb, westhampton, westhampton beach, hamptons, where to stay, places to stay, vacationing, temporary living, ocean, things to do in the hamptons, Sawyer, Joan Sawyer, Bill Sawyer, come stay with us, east hampton, southampton, bridgehampton, water mill, hotel, motel, wine, wine country, ocean beach, beach, long island, performing arts, chamber of commerce">
<!-- beaver dam, beaver dam creek house, creek, house, beaver, bed, breakfast, bed and breakfast, b and b, B&B, bb, westhampton, westhampton beach, hamptons, where to stay, places to stay, vacationing, temporary living, ocean, things to do in the hamptons, Sawyer, Joan Sawyer, Bill Sawyer, come stay with us, east hampton, southampton, bridgehampton, water mill, hotel, motel, wine, wine country, ocean beach, beach, long island, performing arts, chamber of commerce -->
<link href="stylesheet.css" rel=stylesheet>
</head>
<body bgcolor="#336633" leftmargin=0 topmargin=0 marginheight="0" marginwidth="0" text="#000000" link="#0000FF" vlink="#0000FF" alink="#0000FF">
<!-- Begin Body Outer Table-->
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr valign="top">
<td width="45%"><img src="pix/pix_trans.gif" width="1" height="1" alt="" border="0"></td>
<td width="10%">
<!-- Begin Body -->
<table width="620" border="0" cellspacing="0" cellpadding="0"><tr valign="top">
<!-- Begin Left Side -->
<td width="169" bgcolor="#BDBD8A"><a href="index.html"><img src="pix/g_logo.gif" width="169" height="163" alt="About The Beaver Damn Creek House" border="0"></a><br><br>
<a href="about.htm"><img src="pix/nav_about_on.gif" width="169" height="14" alt="About BDCH" border="0"></a><br><br>
<a href="accommodations.htm"><img src="pix/nav_accommodations.gif" width="169" height="14" alt="Accommodations" border="0"></a><br><br>
<a href="gallery.htm"><img src="pix/nav_gallery.gif" width="169" height="14" alt="Picture Gallery" border="0"></a><br><br>
<a href="contact.php"><img src="pix/nav_contact.gif" width="169" height="14" alt="Contact Us" border="0"></a><br><br>
<a href="links.htm"><img src="pix/nav_links.gif" width="169" height="14" alt="Links" border="0"></a><br><br>
<a href="http://www.mapquest.com/directions/main.adp?2l=OHOxaN1Yf58%253d&2g=MRK4OZO39VQ%253d&2pn=&2ic=31&2ex=1&src=maps&2a=5%20Pleasant%20Ave&2c=Westhampton&2s=NY&2z=11977%2d1515&2y=US" target="_blank"><img src="pix/nav_directions.gif" width="169" height="14" alt="Directions" border="0"></a><br><br>
<a href="sitemap.htm"><img src="pix/nav_sitemap.gif" width="169" height="14" alt="Site Map" border="0"></a><br><br>
<a href="index.html"><img src="pix/nav_home.gif" width="169" height="14" alt="Home" border="0"></a><br><br>
</td>
<!-- End Left Side -->
<!-- Begin Right Side -->
<td width="451">
<table width="451" border="0" cellspacing="0" cellpadding="0" align="left"><tr valign="top">
<td bgcolor="#336633"><img src="pix/pix_trans.gif" width="1" height="25" alt="" border="0"><br><img src="pix/header_tagline.jpg" width="451" height="102" alt="" border="0"><br>
<img src="pix/g_title_left_corner.gif" width="41" height="36" alt="" border="0"><img src="pix/title_about.gif" width="372" height="35" alt="About The Beaver Dam Creek House" border="0"><img src="pix/g_title_right_corner.gif" width="38" height="35" alt="" border="0"></td>
</tr><tr valign="top">
<td bgcolor="#ffffff"><br>
<table width="375" border="0" cellspacing="2" cellpadding="2" align="center"><tr valign="top">
<td><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" class="body">There is an error with your submission:</font><br><br><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" class="nav_title"><b>';
if ( $name != "OK" )
{
echo "" Please include your name<br>";
}
if ( $address != "OK" )
{
echo "" Please include your email address<br>";
}
if ( $themessage != "OK" )
{
echo "" Please include a message<br>";
}
echo "<br><br><hr align='center' width='250'></b></font><font face='Verdana, Geneva, Arial, Helvetica, sans-serif' class='body'><b>Please use the browser's back button to re-submit the email form after filling out these fields.<br><br><br><br><br></b></font>";
echo '</td>
</tr></table>
</td>
</tr></table>
</td>
<!-- End Right Side -->
</tr></table>
<!-- End Body -->
<!-- Begin Footer -->
<table width="621" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFCC"><tr valign="top">
<td colspan="4">
<img src="pix/home/g_horiz_line.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/pix_trans.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/g_horiz_line.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/pix_trans.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/g_horiz_line.gif" width="620" height="2" alt="" border="0"><br>
<img src="pix/home/pix_trans.gif" width="620" height="10" alt="" border="0"><br>
</td>
</tr><tr valign="top">
<td colspan="4" align="center">
<a href="about.htm" class="footer">About the BDCH</a> | <a href="accommodations.htm" class="footer">accommodations</a> | <a href="gallery.htm" class="footer">Picture Gallery</a> | <a href="contact.php" class="footer">Contact Us</a> | <a href="http://www.mapquest.com/directions/main.adp?2l=OHOxaN1Yf58%253d&2g=MRK4OZO39VQ%253d&2pn=&2ic=31&2ex=1&src=maps&2a=5%20Pleasant%20Ave&2c=Westhampton&2s=NY&2z=11977%2d1515&2y=US" target="_blank" class="footer">Directions</a> | <a href="sitemap.htm" class="footer">Site Map</a> | <a href="index.html" class="footer">Home</a>
<br><br>
</td>
</tr><tr valign="top">
<td width="100"><img src="pix/home/pix_trans.gif" width="100" height="1" alt="" border="0"></td>
<td align="left" width="300"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" class="footer"><b><a href="index.html" class="footer">Beaver Dam Creek House Bed & Breakfast</a></b><br>Five Pleasant Avenue, Westhampton, NY 11977<br>Phone: (631) 898 0001<br>e-mail: <a mailto:"BeaverDamCreek@aol.com" class="footer">BeaverDamCreek@aol.com</a><br><br>Website designed and maintained by <a href="http://www.fluidimagery.com" class="footer" target="_new">Fluid Imagery.</a></font></td>
<td width="92"><img src="pix/home/g_footer_logo.gif" width="92" height="98" alt="" border="0"></td>
<td width="128" align="right"><img src="pix/home/pix_trans.gif" width="89" height="1" alt="" border="0"><img src="pix/home/g_right-bottom_corner.gif" width="39" height="98" alt="" border="0"></td>
</tr></table>
<!-- End Footer -->
</td>
<td width="45%"><img src="pix/pix_trans.gif" width="1" height="61" alt="" border="0"></td>
</tr></table>
<!-- End Body Outer Table -->
</body>
</html>';
}
endif;
?>
|