rendered paste body<?php define('IN_PHPBB', true);$phpbb_root_path = './forums/';include($phpbb_root_path . 'extension.inc');include($phpbb_root_path . 'common.'.$phpEx);$sql = "SELECT COUNT(*) AS total_postsFROM " . POSTS_TABLE;if(!$result = $db->sql_query($sql)){ message_die(GENERAL_ERROR, 'Could not obtain posts information', '', __LINE__, __FILE__, $sql);}$posts = $db->sql_fetchrow($result);$total_posts = $posts['total_posts'];$sql = "SELECT COUNT(*) AS total_topicsFROM " . TOPICS_TABLE;if(!$result = $db->sql_query($sql)){ message_die(GENERAL_ERROR, 'Could not obtain topics information', '', __LINE__, __FILE__, $sql);}$topics = $db->sql_fetchrow($result);$total_topics = $topics['total_topics'];$sql = "SELECT COUNT(*) AS total_usersFROM " . USERS_TABLE;if(!$result = $db->sql_query($sql)){ message_die(GENERAL_ERROR, 'Could not obtain users information', '', __LINE__, __FILE__, $sql);}$users = $db->sql_fetchrow($result);$total_users = $users['total_users'];$sql = "SELECT usernameFROM " . USERS_TABLE . "ORDER BY user_id DESCLIMIT 1";if(!$result = $db->sql_query($sql)){ message_die(GENERAL_ERROR, 'Could not obtain username information', '', __LINE__, __FILE__, $sql);}$usernames = $db->sql_fetchrow($result);$newest_user = $usernames['username'];?>We currently have <strong><?php echo $total_users?></strong> users<br />We currently have <strong><?php echo $total_posts?></strong> posts<br />We currently have <strong><?php echo $total_topics?></strong> topics<br />Our newest user is <strong><?php echo $newest_user?></strong><br />