sql_query( "SELECT * FROM ".$prefix."_bbtopics" ); $Amount_Of_Topics = $db->sql_numrows( $result ); /* Total Amount of Posts */ $result = $db->sql_query( "SELECT * FROM ".$prefix."_bbposts" ); $Amount_Of_Posts = $db->sql_numrows( $result ); /* Total Amount of Topic Views */ $Amount_Of_Topic_Views = 0; $result = $db->sql_query( "SELECT topic_views FROM ".$prefix."_bbtopics" ); while( list( $topic_views ) = $db->sql_fetchrow( $result ) ) { $Amount_Of_Topic_Views = $Amount_Of_Topic_Views + $topic_views; } /* Total Amount of Topic Replies */ $Amount_Of_Topic_Replies = 0; $result = $db->sql_query( "SELECT topic_replies FROM ".$prefix."_bbtopics" ); while( list( $topic_replies ) = $db->sql_fetchrow( $result ) ) { $Amount_Of_Topic_Replies = $Amount_Of_Topic_Replies + $topic_replies; } /* Total Amount of Members */ $result = $db->sql_query( "SELECT * FROM ".$user_prefix."_users" ); $Amount_Of_Members = $db->sql_numrows( $result ); $count = 1; $content = "