10) $errormsg[] = "You may select only 10 rentals to email."; 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 (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($errormsg) && isset($_POST["MM_insert"]) && $_POST["MM_insert"] == "form1") { { $cardexpiration = $_POST['cardexpmonth'].'/'.$_POST['cardexpyear']; $rentals = $_POST['RentalIDs']; $equery = "Insert into reservation_request (rentalid, firstname, middlename, lastname, address1, address2, country, state, city, postalcode, cellphone, dayphone, eveningphone, email, trip, triptype, tripdate, triptime, tripadult, tripchild, tripinfant, lodgingrequest, lodgingdate,lodgingdatecheckout, lodgingadult, lodgingchild, lodginginfant, nameoncard, cardtype, cardnumber, cardexpiration, verifactioncode, cardcomment, comments,createddatettime,type) values ('" .$colname_Recordset1 . "', '" . $_POST["firstname"] . "', '" . $_POST["middlename"] . "', '" . $_POST["lastname"] . "', '" .$_POST['address1'] . "', '" .$_POST['address2'] . "', '" .$_POST['country'] . "', '" .$_POST['state'] . "', '" .$_POST['city'] . "', '" .$_POST['postalcode'] . "', '" .$_POST['cellphone'] . "', '" .$_POST['dayphone'] . "', '" .$_POST['eveningphone'] . "', '" .$_POST['email'] . "', '" .$_POST['trip'] . "', '" .$_POST['triptype'] . "', '" .$_POST['tripdate'] . "', '" .$_POST['triptime'] . "', '" .$_POST['tripadult'] . "', '" .$_POST['tripchild'] . "', '" .$_POST['tripinfant'] . "', '" .$_POST['lodgingrequest'] . "', '" .$_POST['lodgingdate'] . "', '" .$_POST['lodgingdatecheckout'] . "', '" .$_POST['lodgingadult'] . "', '" .$_POST['lodgingchild'] . "', '" .$_POST['lodginginfant'] . "', '" .$_POST['nameoncard'] . "', '" .$_POST['cardtype'] . "', '" .$_POST['cardnumber'] . "', '" .$cardexpiration . "', '" .$_POST['verifactioncode'] . "', '" .$_POST['cardcomment'] . "', '" .$_POST['comments'] . "','".date('Y-m-d H:i:s')."', '" .$type. "')"; mysqli_query( $Vacation ,$equery) or die(mysqli_error()); /*while ($row_Recordset1 = mysqli_fetch_assoc($Recordset1)) { $equery = "Insert into emails (rentalid, memberid, source, sourceid, datesent) values ('" . $row_Recordset1["rentalid"] . "', '" . $row_Recordset1["memberid"] . "', '" . $row_Recordset1["source"] . "', '" . $row_Recordset1["sourceid"] . "', '" . date('Y-m-d') . "')"; mysqli_query( $Vacation ,$equery) or die(mysqli_error()); $name = $row_Recordset1['firstname'] . " " . $row_Recordset1['firstname'];*/ //$email = $row_Recordset1['email']; $email = 'brenda@carolinaoutfitters.com , dev.kafe.adom@gmail.com'; $eol = "\r\n"; $message = "A potential renter has viewed your property on the Top Choice Vacation Rentals Website and has sent you a Request for Information about your Vacation Rental:" . "$eol$eol"; $message .= "Vacation Rental #"; $message .= $colname_Recordset1. "$eol"; //$message .= $row_Recordset1['listingheadline'] . "$eol"; //$message .= $row_Recordset1['rentalcity'] . " " . $row_Recordset1['rentalstatecode'] . $row_Recordset1['countryname'] . "$eol"; if($type == 'rental') { $message .= "http://www.topchoicevacationrentals.com/details.php?rentalid=" . $colname_Recordset1 . "$eol$eol"; } else { $message .= "http://www.topchoicevacationrentals.com/attraction.php?attractionid=" . $colname_Recordset1 . "$eol$eol"; } $message .= "Submitted by: " . $_POST["firstname"] . " ".$_POST['middlename']. " " . $_POST["lastname"] . "$eol"; $message .= "Email: " . $_POST["email"] . "$eol"; $message .= "Day Phone: " . $_POST["dayphone"] . "$eol"; $message .= "Evening Phone: " . $_POST["eveningphone"] . "$eol"; //$message .= "Heard about us: " . $_POST["howdidyouhear"] . "$eol"; $message .= "Comments: " . $_POST["comments"] . "$eol"; $headers = "MIME-Version: 1.0$eol"; // $headers .= "Content-type: text/html; charset=iso-8859-1$eol"; $headers .= "From: " . $_POST["firstname"] . " " . $_POST["lastname"] . " <" . $_POST["email"] . ">$eol"; // if ($row_Recordset1['source'] == 'tcvr') $headers .= "Bcc:webmaster@topchoicevacationrentals.com\n"; if ($row_Recordset1['isforsale'] == 'Y') $Subject = "Top Choice Vacation Rental Inquiry"; else $Subject = "Top Choice Vacation Rentals Lodging Inquiry"; $emresult = mail($email, $Subject, $message, $headers); //echo "
" . $message . "

"; //} } $GLOBALS['ThankyouMsg'] = "Thank you " . $_POST["firstname"] . ", for visiting our Web Site.

"; $GLOBALS['ThankyouMsg'] .= "Your request for information was sent to the rental owner/manager."; session_register('ThankyouMsg'); $insertGoTo = "top-choice-thankyou.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo));exit; } $page_title = "Contact Property Manager"; include('includes/topchoice-header.php'); ?>

Vacation Rental: , #

VACATION RENTAL INFORMATION

CONTACT THE PROPERTY MANAGER -

"; foreach($errormsg as $msg){ echo "$msg
"; } echo "

"; } ?>

If you are trying to contact "Top Choice Vacation Rentals" please go HERE

TRAVELERS: Find out availability or more information by filling out the form below.

  Request availability or more information on this rental

Please fill in the form below, letting the property manager know what questions or comments you have, and we'll process your request as soon as we get it! Once the form is completed, simply hit "Submit"! We will respond to your inquiry by email. Thanks!

 

*First name:

 

*Middle name:

 

*Last name:

 

Address 1:

 

Address 2:

 

Country:

 

State:

 

City:

 

Postal Code:

 

Cell Phone:

 

Day Phone:

 

Evening Phone:

 

*E-mail address:

ATTRACTION OR ACTIVITY RESERVATON:

 

Trip:

 

Trip type:

 

Date:

 

Time:

 

Number of Adult: (18+ years)

 

Number of Children: (12-17 years)

 

Number of Infant: (under 12 years)

LODGING RESERVATION:

 

Lodging Requested:

 

Date(s) of Rental:

 

Date(s) of Checkout:

 

Number of Adult: (18+ years)

 

Number of Children: (12-17 years)

 

Number of Infant: (under 12 years)

PAYMENT INFORMATION:

 

Name on Card:

 

Card Type:

 

Card Number:

 

Card Expiration:

 

Verifcation Code:

 

Comment:

 

REQUEST INFORMATION:

Comments, Special Requests, or Additional Information:


Enter the code below as it is shown:





Printer-Friendly Page | Bookmark This Vacation Rental Site | Email This Page to a Friend 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