$new_post = DB()->fetch_rowset('SELECT
p.post_id, p.poster_id, t.topic_title, t.topic_first_post_id, t.topic_last_post_id, t.topic_id, u.username, u.user_id,
u.avatar_ext_id, u.user_rank, p.forum_id, p.post_time
FROM '. BB_TOPICS .' t
LEFT JOIN '. BB_POSTS .' p ON p.post_id = t.topic_last_post_id
LEFT JOIN '. BB_USERS .' u ON u.user_id = p.poster_id
WHERE p.poster_id <> '. BOT_UID .'
ORDER BY t.topic_last_post_id DESC LIMIT 10');