summaryrefslogtreecommitdiff
path: root/modules/mod_who_is_there.php
blob: cad8790981b56532c70e1321edc7427b06ccfc4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * $Header: /cvsroot/bitweaver/_bit_users/modules/mod_who_is_there.php,v 1.5 2006/07/25 23:30:13 fmathias Exp $
 *
 * Copyright (c) 2004 bitweaver.org
 * Copyright (c) 2003 tikwiki.org
 * Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
 * All Rights Reserved. See copyright.txt for details and a complete list of authors.
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
 *
 * $Id: mod_who_is_there.php,v 1.5 2006/07/25 23:30:13 fmathias Exp $
 * @package users
 * @subpackage modules
 */
$logged_users = $gBitUser->count_sessions();
$online_users = $gBitUser->$gBitUser->getUserActivity();
$gBitSmarty->assign('online_users', $online_users);
$gBitSmarty->assign('logged_users', $logged_users);
?>