Revert "add index.php + a complexed sql :)"

This reverts commit 9a2753d520a97c156d2d84a46a6eeb73d0f46422.