AAAA.htaccess000066600000000177151372007760006363 0ustar00 Order allow,deny Deny from all tmpl/index.html000066600000000037151372007760007531 0ustar00 tmpl/.htaccess000066600000000177151372007760007337 0ustar00 Order allow,deny Deny from all tmpl/default.php000066600000000767151372007760007703 0ustar00 mod_users_latest.php000066600000001240151372007760010642 0ustar00get('shownumber', 5); $names = moduserslatestHelper::getUsers($params); $linknames = $params->get('linknames', 0); $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx')); require JModuleHelper::getLayoutPath('mod_users_latest', $params->get('layout', 'default')); mod_users_latest.xml000066600000004734151372007760010666 0ustar00 mod_users_latest Joomla! Project December 2009 Copyright (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_USERS_LATEST_XML_DESCRIPTION mod_users_latest.php tmpl helper.php index.html en-GB.mod_users_latest.ini en-GB.mod_users_latest.sys.ini
index.html000066600000000037151372007760006555 0ustar00 helper.php000066600000002201151372007760006543 0ustar00getQuery(true); $query->select('a.id, a.name, a.username, a.registerDate'); $query->order('a.registerDate DESC'); $query->from('#__users AS a'); $user = JFactory::getUser(); if (!$user->authorise('core.admin') && $params->get('filter_groups', 0) == 1) { $groups = $user->getAuthorisedGroups(); if (empty($groups)) { return array(); } $query->leftJoin('#__user_usergroup_map AS m ON m.user_id = a.id'); $query->leftJoin('#__usergroups AS ug ON ug.id = m.group_id'); $query->where('ug.id in (' . implode(',', $groups) . ')'); $query->where('ug.id <> 1'); } $db->setQuery($query, 0, $params->get('shownumber')); $result = $db->loadObjectList(); return (array) $result; } }