"; ?> 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 ($iserr) $_REQUEST['action']=""; } if ($_REQUEST['action']!="smail") { ?>
German
French
Villa Stelida - Prokopios
Villa Stelida - Prokopios
Villa Stelida - Prokopios

contact us
name street + no*
code/city/country*
Email*    
your question
 
 
you will recieve 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]."!"; 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 = "contact to rentalcenter"; $sent = "copy of your 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"); } ?>