Kontakt
if($id2==1) { ?>Kontaktformular
$send = $_POST['send']; $inputs = array($_POST['firma'], $_POST['name'], $_POST['firstname'], $_POST['street'], $_POST['hnr'], $_POST['plz'], $_POST['town'], $_POST['email'], $_POST['tel'], $_POST['message'], $_POST['material']); $inputs_text = array('Name', 'Vorname', 'Straße', 'Hausnummer', 'Postleitzahl', 'Ort', 'eMail'); $header = 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; if(!empty($send) && !empty($inputs[1]) && !empty($inputs[2]) && !empty($inputs[3]) && !empty($inputs[4]) && !empty($inputs[5]) && !empty($inputs[6]) && !empty($inputs[7]) && !empty($inputs[8])) { $receiver = "info@jota-publikationen.de"; // $receiver = "vp@homgmbh.de"; $seperator = "-------------------------"; foreach($inputs[10] as $value) { if(!empty($value)) { $material.="\t".$value."\n"; } } $text = "Firma: $inputs[0]\n\nName: $inputs[2] $inputs[1]\n\nStraße: $inputs[3] $inputs[4]\nOrt: $inputs[5] $inputs[6]\n\neMail: $inputs[7]\nTelefon: $inputs[8]\n\n$seperator\n\nNachricht:\n$inputs[9]\n\n$seperator\n\nMaterial:\n$material"; mail($receiver, "Kontaktanfrage auf Homepage", $text, "From: $inputs[2] $inputs[1] <$inputs[7]>", $header); echo "Vielen Dank für Ihre Nachricht, ".$inputs[1]." ".$inputs[0]."!Wir werden uns so schnell wie möglich mit Ihnen in Kontakt setzen!
"; ?>
Ihre Daten: | |
Firma: | echo $inputs[0]?> |
Name: | echo $inputs[2]." ".$inputs[1]; ?> |
Adresse: | echo $inputs[3]." ".$inputs[4]; ?> |
echo $inputs[5]." ".$inputs[6]; ?> | |
eMail: | echo $inputs[7]; ?> |
Telefon: | echo $inputs[8]; ?> |
Bestellte Unterlagen: |
foreach($inputs[10] as $value) {
if(!empty($value)) {
echo " - ".$value." "; } } ?> |
Ihre Nachricht: | echo nl2br($inputs[9]); ?> |
} else { ?> Bitte nehmen Sie bei Fragen oder Anregungen Kontakt mit uns auf. Wir stehen Ihnen gerne zur Verfügung.
if(!empty($send)) { echo "
Es fehlen folgende Angaben:
"; $set_first = false; for($i=1; $i<=count($inputs_text); $i++) { if(empty($inputs[$i])) { if ($set_first == true) echo ", "; echo $inputs_text[$i-1]; $set_first = true; } } echo "
";
}
?>
}
//} else if($id2==2) {
?>
} else if($id2==2) {
?>
"; $set_first = false; for($i=1; $i<=count($inputs_text); $i++) { if(empty($inputs[$i])) { if ($set_first == true) echo ", "; echo $inputs_text[$i-1]; $set_first = true; } } echo "
geschäftsmäßiger Anbieter:
jota Publikationen GmbH
Geschäftsführer: Frieder Seidel
Friedrichsgrüner Str. 83
08262 Muldenhammer
e-mail: info@jota-publikationen.de
Telefon: 037465 444-0
Fax: 037465 444-22
HRB 18361 - Amtsgericht 09112 Chemnitz
Ust.-ID-Nr. DE 211567028
Haftungsausschluss
Trotz sorgfältiger inhaltlicher Kontrolle übernimmt die jota-Publikationen GmbH keine Haftung für die Inhalte externer Links. Für den Inhalt der verlinkten Seiten sind ausschließlich deren Betreiber verantwortlich. Änderungen und Irrtümer vorbehalten.
Erstellung und Betreuung dieser Website:
Volker Ploß
e-mail: bonuswws@concepcion.de
erste Veröffentlichung: August 2010
letzte Änderung: 25.07.2018