| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/news/nhrc-bk1/modules/mod_whosonline/tmpl/ |
Upload File : |
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
if ($showmode == 0 || $showmode == 2) :
if ($count['guest'] != 0 || $count['user'] != 0) :
echo JText::_('We have') . ' ';
if ($count['guest'] == 1) :
echo JText::sprintf('guest', '1');
else :
if ($count['guest'] > 1) :
echo JText::sprintf('guests', $count['guest']);
endif;
endif;
if ($count['guest'] != 0 && $count['user'] != 0) :
echo ' ' . JText::_('and') . ' ';
endif;
if ($count['user'] == 1) :
echo JText::sprintf('member', '1');
else :
if ($count['user'] > 1) :
echo JText::sprintf('members', $count['user']);
endif;
endif;
echo ' ' . JText::_('online');
endif;
endif;
if(($showmode > 0) && count($names)) : ?>
<ul>
<?php foreach($names as $name) : ?>
<li><strong><?php echo $name->username; ?></strong></li>
<?php endforeach; ?>
</ul>
<?php endif;