AAAAPK $?\V tmpl/index.htmlnu W+A
PK $?\) tmpl/.htaccessnu W+A
Order allow,deny
Deny from all
PK $?\mLH H tmpl/default.phpnu W+A get('show_loggedin_users', 1)) :
$output[] = ''.JText::plural('MOD_STATUS_USERS', $online_num).'';
endif;
// Print the back-end logged in users.
if ($params->get('show_loggedin_users_admin', 1)) :
$output[] = ''.JText::plural('MOD_STATUS_BACKEND_USERS', $count).'';
endif;
// Print the inbox message.
if ($params->get('show_messages', 1)) :
$output[] = ''.
($hideLinks ? '' : '').
JText::plural('MOD_STATUS_MESSAGES', $unread).
($hideLinks ? '' : '').
'';
endif;
// Output the items.
foreach ($output as $item) :
echo $item;
endforeach;
PK $?\) .htaccessnu W+A
Order allow,deny
Deny from all
PK $?\V
index.htmlnu W+A
PK $?\ mod_status.xmlnu W+A
mod_status
Joomla! Project
Feb 2006
(C) 2005 - 2014 Open Source Matters. All rights reserved.
GNU General Public License version 2 or later; see LICENSE.txt
admin@joomla.org
www.joomla.org
2.5.0
MOD_STATUS_XML_DESCRIPTION
mod_status.php
index.html
tmpl
en-GB.mod_status.ini
en-GB.mod_status.sys.ini
PK $?\ mod_status.phpnu W+A getQuery(true);
$query->select('COUNT(*)');
$query->from('#__messages');
$query->where('state = 0 AND user_id_to = '.(int) $user->get('id'));
$db->setQuery($query);
$unread = (int) $db->loadResult();
// Get the number of back-end logged in users.
$query->clear();
$query->select('COUNT(session_id)');
$query->from('#__session');
$query->where('guest = 0 AND client_id = 1');
$db->setQuery($query);
$count = (int) $db->loadResult();
// Set the inbox link.
if (JRequest::getInt('hidemainmenu')) {
$inboxLink = '';
} else {
$inboxLink = JRoute::_('index.php?option=com_messages');
}
// Set the inbox class.
if ($unread) {
$inboxClass = 'unread-messages';
} else {
$inboxClass = 'no-unread-messages';
}
// Get the number of frontend logged in users.
$query->clear();
$query->select('COUNT(session_id)');
$query->from('#__session');
$query->where('guest = 0 AND client_id = 0');
$db->setQuery($query);
$online_num = (int) $db->loadResult();
require JModuleHelper::getLayoutPath('mod_status', $params->get('layout', 'default'));
PK $?\V tmpl/index.htmlnu W+A PK $?\) ^ tmpl/.htaccessnu W+A PK $?\mLH H tmpl/default.phpnu W+A PK $?\) .htaccessnu W+A PK $?\V
[ index.htmlnu W+A PK $?\ mod_status.xmlnu W+A PK $?\ mod_status.phpnu W+A PK