| Server IP : 198.244.165.102 / Your IP : 216.73.216.218 [ Web Server : nginx/1.24.0 System : Linux modovh-ub-01 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : colleary ( 1011) PHP Version : 8.3.23 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/johnhoban/hold_html/administrator/modules/ |
Upload File : |
<?php /** * @version $Id: mod_online.php,v 1.4 2005/01/06 01:13:25 eddieajau Exp $ * @package Mambo * @copyright (C) 2000 - 2005 Miro International Pty Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * Mambo is Free Software */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); $session_id = mosGetParam( $_SESSION, 'session_id', '' ); // Get no. of users online not including current session $query = "SELECT count(session_id) FROM #__session" ."\n WHERE session_id <> '$session_id'"; $database->setQuery($query); $online_num = intval( $database->loadResult() ); echo $online_num . " <img src=\"images/users.png\" align=\"middle\" alt=\"Users Online\" />"; ?>