Revert "Updating Main Page to MySQLi"

This reverts commit 7a9796d1028eb2f05fa4a919fef1eb0ca6335ff7.