Was ist an diesem Code falsch. er sendet weder eMails, noch geht er auf die thx.htm
<?php
if ($reservierung) {
$message = "Kunde: " . $vorname . " " . $nachname . "\n";
$message .= "Telefonnummer: " . $telefonnummer . "\n";
$message .= "Gewünschtes Datum: " . $gew_datum . "\n";
$message .= "Gewünschte Uhrzeit: " . $gew_uhrzeit . "\n";
$message .= "Personenanzahl: " . $wieviel_personen . "\n";
$message .= "Tischnummer: " . $welche_tischnummer . "\n";
$message .= "Kommentar:\n";
$message .= $kommentar;
mail($to, $subject, $message, 'info@fischhaus.de');
header('Location: ' . $next_url);
exit;
}
?>
<html>
<head>
<title>Historisches Fischaus, Tradition seit 1573 in Dresden</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<STYLE TYPE='text/css'>
<!-- TextRollover-1 -->
a:link { color:#000000; text-decoration:none}
a:visited { color:#000000; text-decoration:none}
a:hover { color:#006600; text-decoration:underline; cursor:hand}
a:active { color:#000000; text-decoration:underline}
</STYLE>
<div align="center">
<table width="765" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#E6CCA6" height="60">
<tr>
<td width="50" height="45" valign="top" bgcolor="#E6CCA6"><img src="syspics/rund_links.gif" width="50" height="45"></td>
<td width="80" height="45" valign="middle" bgcolor="#E6CCA6">
<div align="center"><img src="syspics/wappenkl.gif" width="33" height="40" align="bottom"></div>
</td>
<td width="505" height="45" valign="middle" bgcolor="#E6CCA6">
<div align="center"><img src="syspics/uber.gif" width="500" height="38"></div>
</td>
<td width="80" height="45" valign="middle" bgcolor="#E6CCA6">
<div align="center"><img src="syspics/augustst.gif" width="35" height="40" align="bottom"></div>
</td>
<td width="50" height="45" valign="top" bgcolor="#E6CCA6">
<div align="right"><img src="syspics/rund_rechts.gif" width="50" height="45"></div>
</td>
</tr>
</table>
<table width="765" cellspacing="0" cellpadding="0" bgcolor="#DDD2BF">
<tr bgcolor="#DDD2BF">
<td height="15" width="79"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space_h.gif" width="25" height="14"><a href="index2.htm" class="navigation">Home</a></font></td>
<td width="105"><img src="syspics/nav_space.gif" width="25" height="14"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="history.htm">Geschichte</a></font></td>
<td width="96"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="about_us.htm">Über
uns </a></font></td>
<td width="119"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="reservation.htm">Reservierung</a></font></td>
<td width="104"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="/simpgb/guestbook.php">Gästebuch</a></font></td>
<td width="89"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="contact.htm">Kontakt</a></font></td>
<td width="173"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="open.htm">Öffnungszeiten</a></font></td>
</tr>
</table>
<table width="765" cellspacing="1" cellpadding="0" bgcolor="#DDD2BF" border="0" bordercolor="#DDD2BF" height="530">
<tr>
<td bgcolor="#FFFFFF" height="530" valign="top" >
<br>
<div align="center"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Geben
Sie hier Ihre Daten ein und schicken Sie sie ab.<br>
Wir werden uns dann umgehend mit Ihnen in Verbindung setzen<br>
ob die gewünschte Reservierung bestätigt werden kann.<br>
<br>
<font color="#CC6600" size="1">TISCHRESERVIERUNG </font></font></b></div>
<div align="center"><br>
</div>
<form method="POST" name="reservierung" action="<?php echo $PHP_SELF; ?>">
<input type=hidden name="to" value="info@fischhaus.de">
<input type=hidden name="subject" value="!!!!!!!!!!!!!!!Tischreservierung - Online Gast unbedingt Rueckrufen und bestaetigen!!!!!!!!!!!!!!">
<input type=hidden name="next_url" value="thx.htm">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="39%" id="AutoNumber1" height="238">
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Vorname :</font></td>
<td width="150" height="10"><input type="text" name="vorname" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Nachname :</font></td>
<td width="150" height="10"><input type="text" name="nachname" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Telefonnummer :</font></td>
<td width="150" height="10"><input type="text" name="telefonnummer" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Gewünschtes Datum :</font></td>
<td width="150" height="10"><input type="text" name="gew_datum" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Gewünschte Uhrzeit :</font></td>
<td width="150" height="10"><input type="text" name="gew_uhrzeit" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Wieviel Personen :</font></td>
<td width="150" height="10"><input type="text" name="wieviel_personen" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Welche Tischnummer :</font></td>
<td width="150" height="10"><input type="text" name="welche_tischnummer" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Komentar anfügen :</font></td>
<td width="150" height="10"><input type="text" name="kommentar" size="20"></td>
</tr>
<tr>
<td width="51%" height="10"><input type="reset" value="Zurücksetzen" name="" style="float: right"> </td>
<td width="150" height="10"><input type="submit" value="Bestätigen" name="reservierung"></td>
</tr>
</table>
</center>
</form>
<?php
if ($reservierung) {
$message = "Kunde: " . $vorname . " " . $nachname . "\n";
$message .= "Telefonnummer: " . $telefonnummer . "\n";
$message .= "Gewünschtes Datum: " . $gew_datum . "\n";
$message .= "Gewünschte Uhrzeit: " . $gew_uhrzeit . "\n";
$message .= "Personenanzahl: " . $wieviel_personen . "\n";
$message .= "Tischnummer: " . $welche_tischnummer . "\n";
$message .= "Kommentar:\n";
$message .= $kommentar;
mail($to, $subject, $message, 'info@fischhaus.de');
header('Location: ' . $next_url);
exit;
}
?>
<html>
<head>
<title>Historisches Fischaus, Tradition seit 1573 in Dresden</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<STYLE TYPE='text/css'>
<!-- TextRollover-1 -->
a:link { color:#000000; text-decoration:none}
a:visited { color:#000000; text-decoration:none}
a:hover { color:#006600; text-decoration:underline; cursor:hand}
a:active { color:#000000; text-decoration:underline}
</STYLE>
<div align="center">
<table width="765" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#E6CCA6" height="60">
<tr>
<td width="50" height="45" valign="top" bgcolor="#E6CCA6"><img src="syspics/rund_links.gif" width="50" height="45"></td>
<td width="80" height="45" valign="middle" bgcolor="#E6CCA6">
<div align="center"><img src="syspics/wappenkl.gif" width="33" height="40" align="bottom"></div>
</td>
<td width="505" height="45" valign="middle" bgcolor="#E6CCA6">
<div align="center"><img src="syspics/uber.gif" width="500" height="38"></div>
</td>
<td width="80" height="45" valign="middle" bgcolor="#E6CCA6">
<div align="center"><img src="syspics/augustst.gif" width="35" height="40" align="bottom"></div>
</td>
<td width="50" height="45" valign="top" bgcolor="#E6CCA6">
<div align="right"><img src="syspics/rund_rechts.gif" width="50" height="45"></div>
</td>
</tr>
</table>
<table width="765" cellspacing="0" cellpadding="0" bgcolor="#DDD2BF">
<tr bgcolor="#DDD2BF">
<td height="15" width="79"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space_h.gif" width="25" height="14"><a href="index2.htm" class="navigation">Home</a></font></td>
<td width="105"><img src="syspics/nav_space.gif" width="25" height="14"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="history.htm">Geschichte</a></font></td>
<td width="96"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="about_us.htm">Über
uns </a></font></td>
<td width="119"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="reservation.htm">Reservierung</a></font></td>
<td width="104"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="/simpgb/guestbook.php">Gästebuch</a></font></td>
<td width="89"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="contact.htm">Kontakt</a></font></td>
<td width="173"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="syspics/nav_space.gif" width="25" height="14"><a href="open.htm">Öffnungszeiten</a></font></td>
</tr>
</table>
<table width="765" cellspacing="1" cellpadding="0" bgcolor="#DDD2BF" border="0" bordercolor="#DDD2BF" height="530">
<tr>
<td bgcolor="#FFFFFF" height="530" valign="top" >
<br>
<div align="center"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Geben
Sie hier Ihre Daten ein und schicken Sie sie ab.<br>
Wir werden uns dann umgehend mit Ihnen in Verbindung setzen<br>
ob die gewünschte Reservierung bestätigt werden kann.<br>
<br>
<font color="#CC6600" size="1">TISCHRESERVIERUNG </font></font></b></div>
<div align="center"><br>
</div>
<form method="POST" name="reservierung" action="<?php echo $PHP_SELF; ?>">
<input type=hidden name="to" value="info@fischhaus.de">
<input type=hidden name="subject" value="!!!!!!!!!!!!!!!Tischreservierung - Online Gast unbedingt Rueckrufen und bestaetigen!!!!!!!!!!!!!!">
<input type=hidden name="next_url" value="thx.htm">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="39%" id="AutoNumber1" height="238">
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Vorname :</font></td>
<td width="150" height="10"><input type="text" name="vorname" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Nachname :</font></td>
<td width="150" height="10"><input type="text" name="nachname" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Telefonnummer :</font></td>
<td width="150" height="10"><input type="text" name="telefonnummer" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Gewünschtes Datum :</font></td>
<td width="150" height="10"><input type="text" name="gew_datum" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Gewünschte Uhrzeit :</font></td>
<td width="150" height="10"><input type="text" name="gew_uhrzeit" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Wieviel Personen :</font></td>
<td width="150" height="10"><input type="text" name="wieviel_personen" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Welche Tischnummer :</font></td>
<td width="150" height="10"><input type="text" name="welche_tischnummer" size="20"></td>
</tr>
<tr>
<td width="51%" height="10" align="justify"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#006633">Komentar anfügen :</font></td>
<td width="150" height="10"><input type="text" name="kommentar" size="20"></td>
</tr>
<tr>
<td width="51%" height="10"><input type="reset" value="Zurücksetzen" name="" style="float: right"> </td>
<td width="150" height="10"><input type="submit" value="Bestätigen" name="reservierung"></td>
</tr>
</table>
</center>
</form>
Kommentar