session_start(); ?> unset($_SESSION['MM_MemberID']); if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { if (strlen($_POST["firstname"]) < 2) $errormsg[] = "Please fill in your first name."; if (strlen($_POST["lastname"]) < 2) $errormsg[] = "Please fill in your last name."; if (strlen($_POST["email"]) < 8) $errormsg[] = "Please provide us with your email address."; if (isset($errormsg)) { $_POST["MM_insert"] = ""; unset($_POST["MM_insert"]); } } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { if (isset($_POST['news']) && $_POST['news'] == "Newsletter") $newsletter = 1; else $newsletter = 0; $insertSQL = sprintf("INSERT INTO eclub (firstname, lastname, email, address, city, `state`, zip, country, dayphone, eveningphone, comments, datecreated, status, source, newsletter) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", GetSQLValueString($_POST['firstname'], "text"), GetSQLValueString($_POST['lastname'], "text"), GetSQLValueString($_POST['email'], "text"), GetSQLValueString($_POST['address'], "text"), GetSQLValueString($_POST['city'], "text"), GetSQLValueString($_POST['state'], "text"), GetSQLValueString($_POST['zip'], "text"), GetSQLValueString($_POST['country'], "text"), GetSQLValueString($_POST['dayphone'], "text"), GetSQLValueString($_POST['eveningphone'], "text"), GetSQLValueString($_POST['comments'], "text"), GetSQLValueString($_POST['datecreated'], "date"), GetSQLValueString($_POST['status'], "text"), GetSQLValueString('TCVR', "text"), GetSQLValueString($newsletter, "int")); mysqli_select_db($database_Vacation, $Vacation); $Result1 = mysqli_query( $Vacation, $insertSQL) or die(mysqli_error()); $GLOBALS['ThankyouMsg'] = "Thank you " . $_POST["firstname"] . ", for joining our E-CLUB. You will receive additional information via email."; session_register('ThankyouMsg'); $insertGoTo = "top-choice-thankyou.php?thank=" . $_POST["firstname"]; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); // $insertGoTo = "join-e-club-thankyou.php"; } $page_title = "Vacation Rentals Join Our E-Club"; include('includes/topchoice-header.php'); ?>
JOIN OUR E-CLUBif (isset($errormsg)){ echo "";
foreach($errormsg as $msg){
echo "$msg Welcome to Top Choice Vacation Rentals "Join Our E-Club" Page! Top Choice Vacation Rentals invites you to JOIN OUR E-CLUB and receive our Quarterly Newsletter. We strive to make available to you some of the most interesting and useful information for travelers. In addition, special discount offers on a variety of vacation travel packages are made available only to Top Choice E-Club Members!
|
Printer-Friendly Page | Bookmark This Vacation Rental Site | if (isset($_GET['rentalid'])) { ?> " STYLE="font-size: 8 pt">Email This Page to a Friend } else { ?> " STYLE="font-size: 8 pt">Email This Page to a Friend } ?>
Home |
Vacation Rental FAQ's |
About Top Choice Vacation Rentals |
Contact Us |
Vacation Rental Press Room
TCVR Members Log In |
List Your Rental |
Properties For Sale |
Vacation Rentals Specials |
Featured Rentals
Calendar of Events |
Renters Testimonials |
Join Our Frequent User E-Club |
E Vacation Planner
New Vacation Rental Listings |
Link with Us |
Our Friends
Copyright © 2005 by Top Choice Vacation Rentals All Rights Reserved |
Copyright © 2005 by Top Choice Vacation Rentals All Rights Reserved | Privacy & Legal Statement | Site Map