Vielen Dank für Ihr Interesse
$v) {
$message.= $k.': '.$v."\r\n";
}
$message.= "von Seite: ".$_SERVER['HTTP_REFERER'];
if((isset($_GET['Standort']) and $_GET['Standort']=='Berlin- Impuls')){
mail('karriere@sozialstation-impuls.de', 'Impuls Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Leizpig - Ohnsorge')){
mail('karriere@s-ohnsorge.de', 'Ohnsorge Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Wismar - Hameyer')){
mail('karriere@pflege-wismar.de', 'Hameyer Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Cottbus - Ambulantis')){
mail('karriere@ambulantis-cottbus.de', 'Cottbus Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Oldenburg - Ambulantis')){
mail('karriere@ambulantis-oldenburg.de', 'Oldenburg Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Schwerin - Kohler')){
mail('karriere@pflegedienst-kohler.de', 'Kohler Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}else{
mail('karriere@ambulantis.de', 'Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
mail('gregor.plato@ambulantis.de', 'LPs', $message);
}
$message.=$_SERVER['REMOTE_ADDR'];
mail('gregor.plato@ambulantis.de', 'LPs', $message);
}
if (!empty($_POST) ) {
//$message.="Daten: ".print_r($_GET);
foreach($_POST as $k=>$v) {
$message.= $k.': '.$v."\r\n";
}
$message.= "von Seite: ".$_SERVER['HTTP_REFERER'];
if((isset($_GET['Standort']) and $_GET['Standort']=='Berlin- Impuls')){
mail('karriere@sozialstation-impuls.de', 'Impuls Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Leizpig - Ohnsorge')){
mail('karriere@s-ohnsorge.de', 'Ohnsorge Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Wismar - Hameyer')){
mail('karriere@pflege-wismar.de', 'Hameyer Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Cottbus - Ambulantis')){
mail('karriere@ambulantis-cottbus.de', 'Cottbus Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Oldenburg - Ambulantis')){
mail('karriere@ambulantis-oldenburg.de', 'Oldenburg Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif((isset($_GET['Standort']) and $_GET['Standort']=='Schwerin - Kohler')){
mail('karriere@pflegedienst-kohler.de', 'Kohler Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}elseif(strpos("impuls", $_SERVER['HTTP_REFERER']) !== false){
mail('ttf-landingpage@sozialstation-impuls.de', 'TTF Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}else{
mail('karriere@ambulantis.de', 'Website Kontaktaufnahme', $message, "From: Ambulantis Website ");
}
$message.=$_SERVER['REMOTE_ADDR'];
mail('gregor.plato@ambulantis.de', 'LPs', $message);
}
if (!empty($_GET) ) {
//if(isset($_POST['value']))
// The message
$message = "";
if (isset($_POST["Vorname"])) {
$message.="Vorname: ".$_POST["Vorname"]."\r\n";
}
if (isset($_POST["Nachname"])) {
$message.="Nachname: ".$_POST["Nachname"]."\r\n";
}
if (isset($_POST["Email"])) {
$message.="Email: ".$_POST["Email"]."\r\n";
}
if (isset($_POST["Phone"])) {
$message.="Telefon: ".$_POST["Phone"]."\r\n";
}
if (isset($_POST["Anfrage"])) {
$message.="Anfrage: ".$_POST["Anfrage"]."\r\n";
}
//$message.="Daten: ".print_r($_GET);
foreach($_GET as $k=>$v) {
$message.= $k.'='.$v."&\r\n";
}
$message.= "Seite: ".$_SERVER['HTTP_REFERER'];
if(strpos($_POST["pageurl"], 'abcdefghi') !== false){
mail('vermietung@gelewo.de', 'cottbus LP', $message);
}else{
mail('gregor.plato@ambulantis.de', 'LPs', $message);
}
// Send
}
echo "
";
?>