Mountain Bike Touren Buchung
if ($_POST['submit']!='Invia richiesta') {?>
Hier könnt Ihr unsere Touren DIREKT buchen.
} ?>if($_POST['note']!=''){ $test_message = $_POST['note']; $test_message1 = strstr($test_message, 'http'); $test_message2 = strstr($test_message, 'href'); if ($test_message1 != '') { $errore_note='ko'; }elseif ($test_message2 != ''){ $errore_note='ko'; } }else{ $errore_note='ko'; } if ( ($_POST['privacy']!='') && ($_POST['nome']!='') && ($_POST['email2']!='') && ($_POST['partecipanti'] !='') && ($_POST['tipo_tour'] !='')&& ($_POST['scelta'] !='')&& ($_POST['theDate1'] !='') && ($errore_note=='')) { $richiesta= str_replace("'", "'", $richiesta); $richiesta = str_replace(",", ",", $richiesta); $Destinatario = "info@gardamtbtours.com"; $Oggetto = "Contatto dal sito web www.gardamtbtours.com "; $Messaggio = "RICHIESTA PRENOTAZIONE *********www.gardamtbtours.com***********\n\n"; $Messaggio .= "Nome: $nome \nIndirizzo: $citta \n"; $Messaggio .= "Tel: $tel \n"; $Messaggio .= "E-mail: $email2\n\n"; $Messaggio .= "Tipo Tour: $tipo_tour - Partecipanti $partecipanti\n"; $Messaggio .= "Data: ".$_POST['theDate1']."\n"; $Messaggio .= "Noleggio Bici: $scelta\n\n"; $Messaggio .= "Richiesta: $richiesta"; $Messaggio .= "Richiesta: $richiesta"; $IntestazioniMail = "From: $email2\n"; $IntestazioniMail .= "Reply-To: $email2\n"; mail( $Destinatario, $Oggetto, $Messaggio, $IntestazioniMail ); $msg = "
Richiesta inviata correttamente
"; } elseif($_POST['submit']!='') { $msg = "
Attenzione! Devi compilare tutti i campi obbligatori del modulo
e accettare il trattamento dei dati personali
"; } ?> if ($msg != "
Richiesta inviata correttamente
") {?>










