session_start(); ?> unset($_SESSION['MM_MemberID']); if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { if (strlen($_POST["firstname"]) < 2) $errormsg[] = "Please provide us with your first name."; if (strlen($_POST["lastname"]) < 2) $errormsg[] = "Please provide us with your last name."; if (strlen($_POST["email"]) < 8) $errormsg[] = "Please provide us with your email address."; if (strlen($_POST["birthday"]) < 6) $errormsg[] = "Please provide us with your birthdate."; if (isset($errormsg)){ $_POST["MM_insert"] = ""; unset($_POST["MM_insert"]); } else{ $email = $_POST["email"]; $_POST["password"] = "V".genpassword(); } } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO eteam (firstname, lastname, email, password, address, city, `state`, zip, country, dayphone, eveningphone, birthday, occupation, comments, datecreated, status) VALUES (%s, %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['password'], "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['birthday'], "text"), GetSQLValueString($_POST['occupation'], "text"), GetSQLValueString($_POST['comments'], "text"), GetSQLValueString($_POST['datecreated'], "date"), GetSQLValueString($_POST['status'], "text")); mysqli_select_db($database_Vacation, $Vacation); $Result1 = mysqli_query( $Vacation, $insertSQL) or die(mysqli_error()); // moved email from thank-you program $name = $_POST["firstname"] . " " . $_POST["lastname"]; $email = $_POST["email"]; $password = $_POST["password"]; $eol = "\r\n"; $message = "\n"; $message .= "
\n"; $message .= "Thank you for signing up with the TopChoiceVacationRentals.com E-Team service. Below you will find your login and password information.
"; $message .= "Email = $email
Password = $password
JOIN THE TOP CHOICE TEAM and BE A RECRUITERif (isset($errormsg)){ echo "";
foreach($errormsg as $msg){
echo "$msg Welcome to Top Choice Vacation Rentals Join The Top Choice Team and Be A Recruiter Page! Top Choice Vacation Rentals invites you to join the Top Choice Team and become a Recruiter. Top Choice Vacation Rentals will award $100.00 each month to the Top Choice Team Recruiter who sends us the largest number of new vacation rental listings. Just follow these easy steps to become a Top Choice Team Member and Be a Recruiter:
JOIN THE TOP CHOICE TEAM and become a Recruiter today! |
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