Replaced invalid PHP short-tags with correct tags.
Corrected errors in SQL
Corrected Class method definitions.
Included Navigation Class. Included JQuery dependency via CDN.
Merge pull request #1 from SamGoody/master

Making the code work