0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
joomla
/
1.7.2-0
/
standard
/
htdocs
/
modules
/
mod_whosonline
/
tmpl
/
[
Home
]
File: default.php
<?php /** * @version $Id: default.php 21322 2011-05-11 01:10:29Z dextercowley $ * @package Joomla.Site * @subpackage mod_whosonline * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die; ?> <?php if ($showmode == 0 || $showmode == 2) : ?> <?php $guest = JText::plural('MOD_WHOSONLINE_GUESTS', $count['guest']); ?> <?php $member = JText::plural('MOD_WHOSONLINE_MEMBERS', $count['user']); ?> <p><?php echo JText::sprintf('MOD_WHOSONLINE_WE_HAVE', $guest, $member); ?></p> <?php endif; ?> <?php if (($showmode > 0) && count($names)) : ?> <ul class="whosonline<?php echo $moduleclass_sfx ?>" > <?php foreach($names as $name) : ?> <li> <?php if ($linknames == 1) : ?> <a href="index.php?option=com_users&view=profile&member_id=<?php echo (int) $name->userid; ?>"> <?php echo $name->username; ?> </a> <?php else : ?> <?php echo $name->username; ?> <?php endif; ?> </li> <?php endforeach; ?> </ul> <?php endif;