Fix bug with table name in database query.
Change page structure.