Make post.php compatable with PHP 5.3x

Compatible with earlier versions of PHP. This should work on 5.4 too, but I haven't tested it.
Merge pull request #55 from itsCrafted/patch-1

Make post.php compatable with PHP 5.3x
Fix displaying bans
Merge remote-tracking branch 'upstream/master'