diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2001-06-13 08:32:32 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-06-13 08:32:32 +0000 |
commit | b4d3854cd2892f51ac34e69a73c36588d625f818 (patch) | |
tree | 8c6ccc6c4428d4353feb749b460202f2b1daa04a /phpBB/index.php | |
parent | d707a5f099c99bd1030b7a01c91c67d9ef1ecbe4 (diff) | |
download | forums-b4d3854cd2892f51ac34e69a73c36588d625f818.tar forums-b4d3854cd2892f51ac34e69a73c36588d625f818.tar.gz forums-b4d3854cd2892f51ac34e69a73c36588d625f818.tar.bz2 forums-b4d3854cd2892f51ac34e69a73c36588d625f818.tar.xz forums-b4d3854cd2892f51ac34e69a73c36588d625f818.zip |
Added a count of total number of topics to the get_db_stats function
git-svn-id: file:///svn/phpbb/trunk@485 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index cfdfe6c98a..9f88c7febd 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -38,6 +38,7 @@ init_userprefs($userdata); $total_posts = get_db_stat('postcount'); $total_users = get_db_stat('usercount'); +$total_topics = get_db_stat('topiccount'); $newest_userdata = get_db_stat('newestuser'); $newest_user = $newest_userdata["username"]; $newest_uid = $newest_userdata["user_id"]; @@ -102,6 +103,7 @@ $template->set_filenames(array( $template->assign_vars(array( "TOTAL_POSTS" => $total_posts, "TOTAL_USERS" => $total_users, + "TOTAL_TOPICS" => $total_topics, "NEWEST_USER" => $newest_user, "NEWEST_UID" => $newest_uid, "USERS_BROWSING" => $users_browsing, |