Attempted to make the php website compatible to the database structure used by the server.