Make db.php do separate queries for last post since we need information about the post/thread anyway
Display link to thread in last post