set_file(array("contact" => "contact.ihtml")); if($tnx=='1'){ $message="eine neue mail ist eingetroffen:\n-----------------------------------\n".$name."\n-----------------------------------\n".$email."\n-----------------------------------\n".$comments; mail ("tone@contour.net", "$betreff [mailform request]", $message); header("Location: http://www.hgb-leipzig.de/~tamas/contour/contact_thanks.html"); } $t->parse("out", "contact"); $t->p("out"); ?>