setField('Name', @$_POST['imObjectForm_5_1'], '', false); $form->setField('Email', @$_POST['imObjectForm_5_2'], '', false); $form->setField('Thema', @$_POST['imObjectForm_5_3'], '', false); $form->setField('Nachricht', @$_POST['imObjectForm_5_4'], '', false); $errorMessage = ''; if(@$_POST['action'] != 'check_answer') { if(!isset($_POST['imJsCheck']) || $_POST['imJsCheck'] != '0EBAFE0FB2456DBB2DB61403848E3405' || (isset($_POST['imSpProt']) && $_POST['imSpProt'] != "")) die(imPrintJsError()); $form->mailToOwner('info@stromsparen.online', $_POST['imObjectForm_5_2'] != '' ? $_POST['imObjectForm_5_2'] : 'info@stromsparen.online', 'info@stromsparen.online', 'Stromsparen', "", false); @header('Location: ../index.php'); exit(); } else { echo $form->checkAnswer(@$_POST['id'], @$_POST['answer']) ? 1 : 0; } } // End of file