Current Path :
/
home
/
develito
/
www
/
modules
/
mod_extrawatch_users
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/www/modules/mod_extrawatch_users/mod_extrawatch_users.php
<?php /** * @file * ExtraWatch - A real-time ajax monitor and live stats * @package ExtraWatch * @version 2.3 * @revision 2587 * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU General Public License v3 * @copyright (C) 2015 by CodeGravity.com - All rights reserved! * @website http://www.extrawatch.com */ /** ensure this file is being included by a parent file */ defined('_JEXEC') or die('Restricted access'); if (!defined("JPATH_BASE2")) { define("JPATH_BASE2", JPATH_BASE); } if (!defined("DS")) { define("DS", DIRECTORY_SEPARATOR); } require_once JPATH_BASE . DS . "components" . DS . "com_extrawatch" . DS . "includes.php"; function renderExtraWatchUsers() { $output = ""; $extraWatch = new ExtraWatchMain(); $extraWatch->config->initializeTranslations(); $extraWatchStatHTML = new ExtraWatchStatHTML($extraWatch); $output .= $extraWatchStatHTML->renderFrontendUsers(); return $output; } $env = ExtraWatchEnvFactory::getEnvironment()->getEnvironmentName(); if (!defined('ENV') | $env == "nocms") echo renderExtraWatchUsers();