Morgen!
Änder einfach das Ziel des Formulars von "mailform.php?action=mail" in "index.php?action=kontaktformular" und arbeite mit include() per if-else.
<?php
if(empty($_POST))
{
?>
<p align="center"><form name="form1" method="post" action="index.php?action=kontaktformular">
............ne Menge ausgelassen ..................
<input name="ausgefllt" type="hidden" id="ausgefllt" value="1">
</td>
</tr>
</table>
</form></p>
<?php
}
else include("mailform.php?action=mail");
?>
==========
Anmerkung:
Der Quellcode weist gravierende Fehler, sodaß es ein Wunder ist, daß überhaupt etwas angezeigt wird ^^
Gruß aus Berlin!
eddi