Fixed some spelling errors and var names

changes made in postListing.php