$file="kontakt.php4"; $error=""; echo "
"; $send_mail="clemens@vontubeuf.de"; $date=date("y-m-d"); $subject.="\n"; $beitrag.="\n"; $f1b="
"; $f21= "
"; $f22b="
"; $f23b="
"; $f2b="
"; $f0="
"; ?>
home
photo
vita
video
Clemens von Tubeuf
Scharnweberstr. 35
10247 Berlin
tel/fax : 030 - 29 36 87 79
mobil : 0179 - 13 21 665
mail: clemens@vontubeuf.de
if ( $senden==1) { $subject="Web Kontakt $date"; $beitrag.="$beitrag"; $beitrag.="<\n>"; $beitrag.="Absender:$name * Mailadresse : $mail"; @mail("$send_mail","$subject","$beitrag"); ?>
echo "$f23b Ihre Nachricht wurde versendet $f0 "; ?>
}else{ if ( isset($gesendet)) { if ($name==""){ $error.="Name * ";} if ($mail=="") { $error.="Mail-Adresse * ";} if ($beitrag==""){ $error.="Beitrag *";} if($mail!="" && !ereg("(^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+\.([a-zA-Z]{2,3})$)",$mail)){ $error .="Mail-Adresse richtig*";} $name = stripslashes($name); $mail= stripslashes($mail); $beitrag= stripslashes($beitrag); $array_1 = array("ä","ü","ö","Ä","Ü","Ö","ß","$","/",'"',"'","+",); $array_2 = array("ä","ü","ö","Ä","Ü","Ö","ss","$","/","*","*","plus"); for($x=0;$x<12;$x++){ $name = str_replace($array_1[$x],$array_2[$x],$name); $mail = str_replace($array_1[$x],$array_2[$x],$mail); $beitrag = str_replace($array_1[$x],$array_2[$x],$beitrag); } if ($error=="") { ?>
echo "$f2b Wenn Ihre Eingaben richtig sind dann $f0
$f22b absenden $f0
"; ?>
echo "$f22b Name $f0"; ?>
echo "$f2b $name $f0"; ?>
echo "$f22b Ihre Mail-Adresse $f0"; ?>
echo "$f2b $mail $f0"; ?>
echo "$f22b Beitrag $f0"; ?>
echo "
$beitrag
";?>
echo "
$f22b verändern $f0
"; echo "
$f22b absenden $f0
"; ?>
} } if ($error !="" || (! isset($gesendet)) ) { echo "
"; if ($error !="") { $text="$f1b Bitte $f0 $f21b $error $f0 $f1b ausfüllen $f0"; } ?>
echo "$f22b Mail an clemens@vontubeuf.de $f0 $f2b $date $f0"; ?>
echo "$f22b $text $f0"; ?>
echo "$f22b Name $f0"; ?>
echo "
"; ?>
echo "$f22b Ihre Mail-Adresse $f0"; ?>
echo "
"; ?>
echo "$f22b Beitrag $f0"; ?>
echo "
$beitrag
";?>
} } ?>