"; include_once("languagepicker.php"); echo "




"; //-------------------------------------------------------------------------------- //----------------------formulier----------------------------------------------- $naam=$_POST["naam"]; $adres=$_POST["adres"]; $woonplaats=$_POST["woonplaats"]; $telefoon=$_POST["telefoon"]; $email=$_POST["email"]; $bericht=$_POST["bericht"]; $ingevuld2=$_POST["ingevuld2"]; $code=$_POST["code"]; //----controle of email adres is ingevuld----- //-----controles--------------------------------- if(!$email || !$bericht || $code!="E6D75"){ //------------------------------------------- if($ingevuld2=="ja"){ //------------------- $txt_red= ""; $txt= ""; if(!$email){$txt_email=$txt_red;}else{$txt_email=$txt;} if(!$bericht){$txt_bericht=$txt_red;}else{$txt_bericht=$txt;} if(!$code){$txt_code=$txt_red;}else{$txt_code=$txt;} $foutmelding="You forgot to fill in something"; //einde if($ingevuld2=="ja") } //------------------------------------------------------------------------- //-------------------------------------------- echo "

Here you can send us an Email to book or to ask a question:

Please fill in the code below - to protect us from spam:

$foutmelding

$txt_code Code [as shown in the box]

Family Name and Initials

Address

Postal Code + Residence

Phonenumber

$txt_email EMail Address

$txt_bericht Write your message below - please press "verzenden" when ready.

"; //------------------------------------------------------------------------- echo "
E-mail: info@kretavilla.eu | Mobile: +31-(0)651340259 | Phone: +31-(0)118-471324
"; exit; //einde if(!$veld1 || !$veld } //-------------------------------------------------------------------------------- //------------------------------------------------------------------- require("mailto.php"); $to = "zomer@zeelandnet.nl"; $subject = "engelse Reactie / Boekingsaanvraag KretaVilla.eu"; $body = "Gegevens van degene die reageerde\n\n". "naam : $naam\n\n". "adres : $adres\n\n". "woonplaats : $woonplaats\n\n". "telefoonnummer : $telefoon\n\n". "email adres : $email\n\n". "bericht : \n\n". "--------------------------------\n\n". "$bericht\n\n". "---------------------------------\n\n"; email_verzenden($to,$subject,$body); //------------------------------------ $url = "verzenden_succesvol.html"; echo(""); exit; ?>