If there is any special vessel you are looking for or if you want our experienced holiday designer to match you a yacht according to given criteria please fill the inquiry form and we will contact you within 24 hours.



Name,city/country,e-mail or phone number can not be null!'; } else { require("admin/baglanti.php"); $first_date = substr($_POST["first_date"],6,4)."/".substr($_POST["first_date"],3,2)."/".substr($_POST["first_date"],0,2); $last_date = substr($_POST["last_date"],6,4)."/".substr($_POST["last_date"],3,2)."/".substr($_POST["last_date"],0,2); $SQL = "INSERT INTO `inquiry_form` (`KTARIH` ,`TYPE` , `TEKNE_ID` , `NAME` , `ADDRESS` , `COUNTRY` , `EMAIL` , `PHONE_NUMBER1` , `PHONE_NUMBER2` , `FIRST_DATE` , `LAST_DATE` , `NUMBER_OF_GUESTS` , `JOURNEYS` , `COMMENTS` ) VALUES ('".date('Y-m-d')."','CHARTER', ".$_POST["tekne_id"].", '".$_POST["name"]."', '".$_POST["address"]."', '".$_POST["country"]."', '".$_POST["email"]."', '".$_POST["phone_number1"]."', '".$_POST["phone_number2"]."', '".$first_date."', '".$last_date."', ".$_POST["number_of_guests"].", '".$_POST["journeys"]."', '".$_POST["comments"]."')"; $sorgu = @mysql_query($SQL,$baglanti); if (!$sorgu) { echo '

Your charter inquiry form has not been sent!

'; } else { //if ($_POST["activities_added"]=='yes') //{ $if_id=mysql_insert_id(); $sorgu_sql = "select * from aktivite"; $sorgu = @mysql_query($sorgu_sql,$baglanti); while ($sira = mysql_fetch_array($sorgu)) { $a_id=$sira["A_ID"]; if ($_POST["a_$a_id"]=='on') { $sorgu_sql1 = "insert into inquiry_form_activity(IF_ID,A_ID) values(".$if_id.",".$sira["A_ID"].")"; $sorgu1 = @mysql_query($sorgu_sql1,$baglanti); } } $sorgu_sql = "select * from gidilecek_yer"; $sorgu = @mysql_query($sorgu_sql,$baglanti); while ($sira = mysql_fetch_array($sorgu)) { $gy_id=$sira["GY_ID"]; if ($_POST["gy_$gy_id"]=='on') { $sorgu_sql1 = "insert into inquiry_form_destination(IF_ID,GY_ID) values(".$if_id.",".$sira["GY_ID"].")"; $sorgu1 = @mysql_query($sorgu_sql1,$baglanti); } } $sorgu_sql = "select * from ilgi where BOLUM='CHARTER'"; $sorgu = @mysql_query($sorgu_sql,$baglanti); while ($sira = mysql_fetch_array($sorgu)) { $i_id=$sira["I_ID"]; if ($_POST["ilgi_$i_id"]=='on') { $sorgu_sql1 = "insert into inquiry_form_interest(IF_ID,I_ID) values(".$if_id.",".$sira["I_ID"].")"; $sorgu1 = @mysql_query($sorgu_sql1,$baglanti); } } //} echo '

Your charter inquiry form has been sent. Thank you.

'; $text = "A new charter inquiry form has been created.Please check it by using control pannel.\n\n" ; $name = 'Web Admin'; $email = 'info@styluss.com'; $subject = 'Charter inquiry form'; $text = $text."This form was created by a person who use " .$_SERVER["REMOTE_ADDR"] ." ip address."; mail('info@styluss.com',$subject,$text,"From: $name <$email>"); } } } ?>
CHARTER INQUIRY FORM
  Vessel Name (*)
Name (*)
Address
City & Country (*)
E-Mail (*)
Phone Numbers (*)
 
 
Interested in
type="checkbox" name="ilgi_">  
Destinations
type="checkbox" name="gy_">  
Please select the  dates you would like to get your charter
Start Date ID="first_date" READONLY="1"> Please select the first date End Date ID="last_date" READONLY="1"> Please select the first date
  Number of  Guests
 
Comments
 
 
 


 

 

 
© The copyright of all images used for this website belongs to Styluss Holiday Designer and can not be copied or used without approval.