Bank- und Immobilienconsulting GmbH
City-Office:
Hubertusallee 18
14193 Berlin
Tel.: 030/896 698-36
Fax: 030/138 956 86
e-mail: mail@cityhyp.de
// alle fehler anzeigen error_reporting(E_ALL); ini_set('display_errors', 0); $flag_debug = 1; // debugging: 0-off, 1-on $error = array(); $success = array(); // WENN NICHT ABGESCHICKT // Default Werte if (!isset($_REQUEST['abgeschickt'])) { $company = ''; $name = ''; $surname = ''; $tel = ''; $fax = ''; $email = ''; $message = ''; } // WENN ABGESCHICKT if (isset($_REQUEST['abgeschickt'])) { $company = $_REQUEST["company"]; $name = $_REQUEST["name"]; $surname = $_REQUEST["surname"]; $tel = $_REQUEST["tel"]; $fax = $_REQUEST["fax"]; $email = $_REQUEST["email"]; $topic = $_REQUEST["topic"]; $message = $_REQUEST["message"]; if($name == "") { $error[] = "Please fill in your name."; } if($surname == "") { $error[] = "Please fill in your surname."; } if($email == "") { $error[] = "Please fill in your email adress."; } if($topic == "choose_topic") { $error[] = "Please choose your topic."; } if(!$message) { $error[] = "Please fill in a message."; } // Wenn keine Fehler dann Mail senden if(count($error) == 0) { $text="Cityhyp Kontaktformular\n"; $text.="Zusammenfassung:\n"; $text.="-----------------------------------------------\n"; $text.="Firma: $company\n"; $text.="Name: $name, $surname\n"; $text.="Tel: $tel\n"; $text.="Fax: $fax\n"; $text.="Email: $email\n"; $text.="Betreff: $topic\n"; $text.="Nachricht: $message\n\n"; $text.="-----------------------------------------------\n"; //mail ("info@tonkberlin.de", "Cityhyp Webseiten-Kontaktformular", "$text", "From: Cityhyp"); mail ("korn@cityhyp.de", "Cityhyp Webseiten-Kontaktformular", "$text", "From: Cityhyp"); $success[] = "Nachricht erfolgreich gesendet."; } } ?> $path='' ?> include('inc_head.php'); ?>
include('inc_header.php'); ?>