include ("../daten.php"); include ("../texte/$lang/lang.inc.php"); ?>
|
if ($action == "send") {
/* CHECKEN, OB ALLE MUSS-FELDER RICHTIG AUSGEFÜLLT SIND */
$alles_richtig = 1;
if (empty($vorname)) {$alles_richtig = 0;}
if (empty($nachname)) {$alles_richtig = 0;}
if (empty($email)) {$alles_richtig = 0;}
if (empty($telefon)) {$alles_richtig = 0;}
if ($alles_richtig != 1) {$mel = " ".$fehlermeldung_kontakt."";} if ($alles_richtig == 1) { $name = $vorname." ".$nachname; mail("info@ccp-film.de","CCP-Anfrage: $betreff"," $vorname $nachname $strasse $plz $ort $land FON: $telefon E-Mail: $email Betreff: $betreff Mitteilung: $mitteilung", "From: $name"."<".$email.">"); $gesendet = 1; } } if ($gesendet == 1) { ?> |
|
} else { ?>
echo "$headline_kontakt"; ?> echo "$intro_kontakt"; ?> if (!empty($mel)) echo "$mel"; ?> |
} ?>