Fixed closing tags.
Changed the footer.
Refactored the pagination.