A minor typo in functions.php
boards.php now uses the posts table
rebuildPost() now uses the posts table
Applies `` to the table name and removes sprintf.
Missed a parenthesis.
bumpThread() now uses the posts table
deleteFile() and numPosts() now use the posts table
deletePost now uses the posts table
Couple of typos in rebuildPost.
More functions now use posts table.

index(), thread_find_page() and getPages()
buildThread() now uses the posts table
Fixes the table prefix syntax in tools/rebuild.php
Deletion in post.php now uses the posts table
More changes in post.php