Revert "result.php working partly"

This reverts commit 1f6de398c10c61e6799ac75295107dc6b72038df.