0)) { $lodges_array = $_POST['LODGE']; $lodges_added = implode(', ',$lodges_array); } if (count($_POST['ACTIVITIES'] > 0)) { $activities_array = $_POST['ACTIVITIES']; $activities_added = implode(', ',$activities_array); } if (count($_POST['OCCASION'] > 0)) { $occasion_array = $_POST['OCCASION']; $occasion_added = implode(', ',$occasion_array); } if (count($form_errors) > 0) { $_SESSION['form_errors'] = $form_errors; //Other incomplete Mail } else { //FORM IS COMPLETE - MAIL THE FORM $_SESSION['your_name'] = $_POST['FULL_NAME']; unset($_SESSION['form_errors']); // EMAIL MESSAGE FUNCTION $to = 'guidedsafaris@gmail.com' . ', '; // note the comma $to .= 'gsafrica@africa-safari.info'; $subject = "Into Seychelles: $enq_it"; $date = date("F j, Y, g:i a"); $message = ' ......................................
REQUEST:'. $enq_it .' ( '.$_POST['IT_REF'].' )
from '. $_POST['FULL_NAME'] . ' ( '.$_POST['E_MAIL'].' ) / Submitted on '. $date . '
......................................

'. 'Full Name: '.$_POST['FULL_NAME']. '

'. 'Email: '.$_POST['E_MAIL'].'

'. 'Companion\'s Name: '.$_POST['COMPANIONS_NAME']. '

'. 'Alternative email: '.$_POST['ALTERNATIVE_EMAIL'].'

'. 'Phone: '.$_POST['TELEPHONE'].'

'. 'Street address: '.$_POST['STREET'].'

'. 'City: '.$_POST['CITY'].'

'. 'State: '.$_POST['STATE'].'

'. 'Zip: '.$_POST['ZIP'].'

'. 'Country: '.$_POST['COUNTRY'].'

'. 'Departure Date: '.$_POST['DEPARTURE'].'

'. 'Return Date: '.$_POST['RETURN'].'

'. 'Flights required: ' .$_POST['TICKETS'].'

'. //'Flights required [No]: ' .$_POST['TICKETS_NO'].'

'. 'City of departure: '.$_POST['DEPARTURE_CITY'].'

'. 'Mileage program: '.$_POST['skymiles'].'

'. 'Resort preference:
'.$lodges_added.'

'. '
Activities:
'.$activities_added.'

'. 'Occasion:
'.$occasion_added.'

'. 'Enquiry: '.$_POST['YOUR_ENQUIRY'].'



'. '......................................
Country: '.apache_note("GEOIP_COUNTRY_NAME").' -> IP: '.$_SERVER["REMOTE_ADDR"].'/'.$_SERVER['HTTP_X_FORWARDED_FOR'].'
User Agent: '.$_SERVER["HTTP_USER_AGENT"].'
......................................
'; $headers = 'From: '.$_POST['FULL_NAME'].'<'.$_POST['E_MAIL'].'>'."\n" . "MIME-Version: 1.0\n" . 'X-Mailer: PHP/' . phpversion() . "\n" . "Content-type: text/html; charset=iso-8859-1"; mail ($to, $subject, $message, $headers); if (mail) { header("Location: thanks.html"); } } } elseif (isset($_SESSION['form_errors'])) { unset($_SESSION['form_errors']); } //vacation - honeymoon - anniversary - weddings - diving - discover - special $dot = "";?>
Into Seychelles enquiry
Into Seychelles enquire  Into Seychelles Home Page  Into Seychelles site map  View Seychelles Travel Packages  
Enquire
Please correct the following errors:
'; echo '
'; foreach ($_SESSION['form_errors'] as $key => $value){ echo $value.'
'; } echo '
'; } ?>
Thank you for your interest! You currently have the following package or resort in your enquiry:
". ""."\n"; } if (isset($_SESSION['Itinerary_ID'])){ include ('Pricing.Enquiry.inc.php'); } ?>
Contact info
" /> "; } ?>
FULL NAME: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" />  
YOUR COMPANION’S NAME: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" />  
E-MAIL ADDRESS: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" />  
ALTERNATIVE E-MAIL: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" /> * Requested incase primary e-mail bounces back
TELEPHONE: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" /> * Day time telephone requested, incase of a question
STREET ADDRESS: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" />  
CITY: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" />  
STATE: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" />  
ZIP: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" />  
COUNTRY: " onfocus="this.style.background='#EDFAD2'" onblur="this.style.background=''" />  


Your Travel Plans
SELECT YOUR DATES OF TRAVEL: " id="departure" class="travel_dates" onfocus="this.select()" /> " id="return" class="travel_dates" onfocus="this.select()" />  

PREFERRED CITY OF DEPARTURE: " type="text" value="" /> * If different from home city specified above.  


Select your travel interests
PLEASE LET US KNOW IF YOU WILL BE CELEBRATING A SPECIAL OCCASION ON THIS TRIP:
/>
/>
/>
BIRTHDAY



Write in your request
PLEASE USE THIS SPACE TO ADD ANY TRIP PERSONALIZATION NOTES, ADDITIONAL REQUESTS OR QUESTIONS FOR YOUR PERSONAL TRAVEL SPECIALIST. YOU MAY ALSO USE THIS SPACE TO INFORM US OF ANY SPECIAL MEDICAL CONDITIONS YOU MAY HAVE THAT NEED TO BE TAKEN INTO TRAVEL PLANNING CONSIDERATION. IF YOU’RE TRAVELING WITH MORE THAN ONE COMPANION YOU MAY USE THIS BOX TO NOTIFY US OF THE NUMBER IN YOUR PARTY AND ANY ADDITIONAL ROOM REQUIREMENTS. WE’RE LOOKING FORWARD TO HEARING FROM YOU!