Upload Preview Fixed

Fixed something in listings, fixed backend for preview image upload,
added getTopic sql
Merge branch 'master' of https://github.com/pbekker/justforteachers.co.za