"; ?> please enter your name";} if ($_REQUEST['email'] == "") { $iserr=true; $errmsg[1]=" -> please enter your E-Mail adress";} else if (!fCheckMail($_REQUEST['email'])) { $iserr=true; $errmsg[1]=" - this is not a valid E-Mail adress";} if ($_REQUEST['street'] == "") { $iserr=true; $errmsg[2]=" -> please enter a street";} if ($_REQUEST['code'] == "") { $iserr=true; $errmsg[3]=" -> please enter the city code";} if ($_REQUEST['city'] == "") { $iserr=true; $errmsg[4]=" -> please enter your city";} if ($_REQUEST['arrival'] == "") { $iserr=true; $errmsg[5]=" -> please enter a arrival date";} if ($_REQUEST['departure'] == "") { $iserr=true; $errmsg[6]=" -> please enter a departure date";} if ($iserr) $_REQUEST['action']=""; } if ($_REQUEST['action']!="smail") { ?>
German
French
Villa Stelida - Prokopios
Villa Stelida - Prokopios
Villa Stelida - Prokopios

your request for the villa
name street + no*
code/city/country*
Email* no of people
arrival* departure*
comments  
 
you will receive a copy of
your request per email
\n"; echo "please fill in the requested fields*"; if ($errmsg[0]!="") echo $errmsg[0]."!"; if ($errmsg[1]!="") echo $errmsg[1]."!"; if ($errmsg[2]!="") echo $errmsg[2]."!"; if ($errmsg[3]!="") echo $errmsg[3]."!"; if ($errmsg[4]!="") echo $errmsg[4]."!"; if ($errmsg[5]!="") echo $errmsg[5]."!"; if ($errmsg[6]!="") echo $errmsg[6]."!"; echo "
\n"; echo "
\n"; } ?>
Thank you for your request

we will contact you as soon as possible



back to Homepage
\n"; echo "\n"; $admin = "info@rentalcenter.com.gr"; $subject = "booking request for the villa"; $sent = "copy of your booking request to rentalcenter"; $Email = "".$_REQUEST['email']."\r\n"; $message = "request for $admin from $email:\n\n"; $email = preg_replace( "/(content-type:|bcc:|cc:|to:|from:)/im", "", $email ); $txt = preg_replace( "/(content-type:|bcc:|cc:|to:|from:)/im", "", $_POST['txt'] ); while(list($name,$value)=each($_POST)) { $message.="$name: $value\n\n"; } mail($admin,$subject,$message,"From: $Email"); mail($Email,$sent,$message,"From: $admin"); } ?>