diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-03-08 22:10:24 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-03-08 22:10:24 +0000 |
commit | a2cccab6afa2bcd2de55e3c0e9a5a4c04bfa62b6 (patch) | |
tree | 9f97e453f582aaedfb1a14032f5668af970b79fb /phpBB/index.php | |
parent | 9a7f6f98f5141307d2b12b7dd05d24e26aa522ca (diff) | |
download | forums-a2cccab6afa2bcd2de55e3c0e9a5a4c04bfa62b6.tar forums-a2cccab6afa2bcd2de55e3c0e9a5a4c04bfa62b6.tar.gz forums-a2cccab6afa2bcd2de55e3c0e9a5a4c04bfa62b6.tar.bz2 forums-a2cccab6afa2bcd2de55e3c0e9a5a4c04bfa62b6.tar.xz forums-a2cccab6afa2bcd2de55e3c0e9a5a4c04bfa62b6.zip |
Additional info for profiles
git-svn-id: file:///svn/phpbb/trunk@3612 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 9718cbe07b..8aa06f3a98 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -45,7 +45,7 @@ if ($mark_read == 'forums') 'META' => '<meta http-equiv="refresh" content="3;url=' . "index.$phpEx$SID" . '">') ); - $message = $user->lang['Forums_marked_read'] . '<br /><br />' . sprintf($user->lang['Click_return_index'], '<a href="' . "index.$phpEx$SID" . '">', '</a> '); + $message = $user->lang['Forums_marked_read'] . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . "index.$phpEx$SID" . '">', '</a> '); trigger_error($message); } @@ -98,6 +98,15 @@ else $l_total_topic_s = $user->lang['Posted_topics_total']; } + + +$sql = "SELECT group_name, group_colour + FROM " . GROUPS_TABLE . " + WHERE group_colour <> ''"; +$result = $db->sql_query($sql, 300); + + + $template->assign_vars(array( 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), 'TOTAL_USERS' => sprintf($l_total_user_s, $total_users), |