the action of the form is set to use the waue_contact_1_Log session variable:
action="<?php echo(isset($_SESSION["waue_contact_1_Log"])?$_SESSION["waue_contact_1_Log"]:""); ?>"
the action should be set to use the PHP_SELF server variable instead:
action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?>"