| Server IP : 54.36.91.62 / Your IP : 216.73.217.111 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/nimes/modules/mod_comprofileronline/tmpl/ |
Upload File : |
<?php
/**
* Community Builder (TM)
* @version $Id: $
* @package CommunityBuilder
* @copyright (C) 2004-2023 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2
*/
if ( ! ( defined( '_VALID_CB' ) || defined( '_JEXEC' ) || defined( '_VALID_MOS' ) ) ) { die( 'Direct Access to this location is not allowed.' ); }
?>
<?php echo modCBOnlineHelper::getPlugins( $params, 'start' ); ?>
<?php if ( $preText ) { ?>
<div class="pretext">
<p><?php echo $preText; ?></p>
</div>
<?php } ?>
<?php echo modCBOnlineHelper::getPlugins( $params, 'beforeCensus' ); ?>
<ul class="m-0 unstyled list-unstyled cbOnlineCensus">
<?php echo modCBOnlineHelper::getPlugins( $params, 'beforeList' ); ?>
<li class="cbCensusTotal">
<?php
$icon = '<span class="' . htmlspecialchars( $templateClass ) . '">'
. '<span class="cbModuleCensusTotalIcon fa fa-users" title="' . htmlspecialchars( CBTxt::T( 'TOTAL_USERS', 'Total Users' ) ) . '"></span>'
. '</span>';
if ( $label == 3 ) {
echo CBTxt::T( 'ICON_TOTAL_USERS_COUNT_FORMAT', '[icon] Total Users: [count_format]', array( '[icon]' => $icon, '[count]' => $totalUsers, '[count_format]' => number_format( (float) $totalUsers, 0, '.', $separator ) ) );
} elseif ( $label == 2 ) {
echo CBTxt::T( 'ICON_COUNT_FORMAT', '[icon] [count_format]', array( '[icon]' => $icon, '[count]' => $totalUsers, '[count_format]' => number_format( (float) $totalUsers, 0, '.', $separator ) ) );
} else {
echo CBTxt::T( 'TOTAL_USERS_COUNT_FORMAT', 'Total Users: [count_format]', array( '[count]' => $totalUsers, '[count_format]' => number_format( (float) $totalUsers, 0, '.', $separator ) ) );
}
?>
</li>
<?php if ( $latestUser ) { ?>
<li class="cbCensusLatest">
<?php
$icon = '<span class="' . htmlspecialchars( $templateClass ) . '">'
. '<span class="cbModuleCensusLatestIcon fa fa-user" title="' . htmlspecialchars( CBTxt::T( 'LATEST_USER', 'Latest User' ) ) . '"></span>'
. '</span>';
if ( $label == 3 ) {
echo CBTxt::T( 'ICON_LATEST_USER_FORMATNAME', '[icon] Latest User: [formatname]', array( '[icon]' => $icon, '[formatname]' => $latestUser->getField( 'formatname', null, 'html', 'none', 'list', 0, true ) ) );
} elseif ( $label == 2 ) {
echo CBTxt::T( 'ICON_FORMATNAME', '[icon] [formatname]', array( '[icon]' => $icon, '[formatname]' => $latestUser->getField( 'formatname', null, 'html', 'none', 'list', 0, true ) ) );
} else {
echo CBTxt::T( 'LATEST_USER_FORMATNAME', 'Latest User: [formatname]', array( '[formatname]' => $latestUser->getField( 'formatname', null, 'html', 'none', 'list', 0, true ) ) );
}
?>
</li>
<?php } ?>
<li class="cbCensusOnline">
<?php
$icon = '<span class="' . htmlspecialchars( $templateClass ) . '">'
. '<span class="cbModuleCensusOnlineIcon fa fa-circle" title="' . htmlspecialchars( CBTxt::T( 'ONLINE_USERS', 'Online Users' ) ) . '"></span>'
. '</span>';
if ( $label == 3 ) {
echo CBTxt::T( 'ICON_ONLINE_USERS_COUNT_FORMAT', '[icon] Online Users: [count_format]', array( '[icon]' => $icon, '[count]' => $onlineUsers, '[count_format]' => number_format( (float) $onlineUsers, 0, '.', $separator ) ) );
} elseif ( $label == 2 ) {
echo CBTxt::T( 'ICON_COUNT_FORMAT', '[icon] [count_format]', array( '[icon]' => $icon, '[count]' => $onlineUsers, '[count_format]' => number_format( (float) $onlineUsers, 0, '.', $separator ) ) );
} else {
echo CBTxt::T( 'ONLINE_USERS_COUNT_FORMAT', 'Online Users: [count_format]', array( '[count]' => $onlineUsers, '[count_format]' => number_format( (float) $onlineUsers, 0, '.', $separator ) ) );
}
?>
</li>
<li class="cbCensusToday">
<?php
$icon = '<span class="' . htmlspecialchars( $templateClass ) . '">'
. '<span class="cbModuleCensusTodayIcon fa fa-calendar" title="' . htmlspecialchars( CBTxt::T( 'USERS_TODAY', 'Users Today' ) ) . '"></span>'
. '</span>';
if ( $label == 3 ) {
echo CBTxt::T( 'ICON_USERS_TODAY_COUNT_FORMAT', '[icon] Users Today: [count_format]', array( '[icon]' => $icon, '[count]' => $usersToday, '[count_format]' => number_format( (float) $usersToday, 0, '.', $separator ) ) );
} elseif ( $label == 2 ) {
echo CBTxt::T( 'ICON_COUNT_FORMAT', '[icon] [count_format]', array( '[icon]' => $icon, '[count]' => $usersToday, '[count_format]' => number_format( (float) $usersToday, 0, '.', $separator ) ) );
} else {
echo CBTxt::T( 'USERS_TODAY_COUNT_FORMAT', 'Users Today: [count_format]', array( '[count]' => $usersToday, '[count_format]' => number_format( (float) $usersToday, 0, '.', $separator ) ) );
}
?>
</li>
<li class="cbCensusWeek">
<?php
$icon = '<span class="' . htmlspecialchars( $templateClass ) . '">'
. '<span class="cbModuleCensusWeekIcon fa fa-calendar" title="' . htmlspecialchars( CBTxt::T( 'USERS_THIS_WEEK', 'Users this Week' ) ) . '"></span>'
. '</span>';
if ( $label == 3 ) {
echo CBTxt::T( 'ICON_USERS_THIS_WEEK_COUNT_FORMAT', '[icon] Users this Week: [count_format]', array( '[icon]' => $icon, '[count]' => $usersWeek, '[count_format]' => number_format( (float) $usersWeek, 0, '.', $separator ) ) );
} elseif ( $label == 2 ) {
echo CBTxt::T( 'ICON_COUNT_FORMAT', '[icon] [count_format]', array( '[icon]' => $icon, '[count]' => $usersWeek, '[count_format]' => number_format( (float) $usersWeek, 0, '.', $separator ) ) );
} else {
echo CBTxt::T( 'USERS_THIS_WEEK_COUNT_FORMAT', 'Users this Week: [count_format]', array( '[count]' => $usersWeek, '[count_format]' => number_format( (float) $usersWeek, 0, '.', $separator ) ) );
}
?>
</li>
<li class="cbCensusMonth">
<?php
$icon = '<span class="' . htmlspecialchars( $templateClass ) . '">'
. '<span class="cbModuleCensusMonthIcon fa fa-calendar" title="' . htmlspecialchars( CBTxt::T( 'USERS_THIS_MONTH', 'Users this Month' ) ) . '"></span>'
. '</span>';
if ( $label == 3 ) {
echo CBTxt::T( 'ICON_USERS_THIS_MONTH_COUNT_FORMAT', '[icon] Users this Month: [count_format]', array( '[icon]' => $icon, '[count]' => $usersMonth, '[count_format]' => number_format( (float) $usersMonth, 0, '.', $separator ) ) );
} elseif ( $label == 2 ) {
echo CBTxt::T( 'ICON_COUNT_FORMAT', '[icon] [count_format]', array( '[icon]' => $icon, '[count]' => $usersMonth, '[count_format]' => number_format( (float) $usersMonth, 0, '.', $separator ) ) );
} else {
echo CBTxt::T( 'USERS_THIS_MONTH_COUNT_FORMAT', 'Users this Month: [count_format]', array( '[count]' => $usersMonth, '[count_format]' => number_format( (float) $usersMonth, 0, '.', $separator ) ) );
}
?>
</li>
<li class="cbCensusYear">
<?php
$icon = '<span class="' . htmlspecialchars( $templateClass ) . '">'
. '<span class="cbModuleCensusYearIcon fa fa-calendar" title="' . htmlspecialchars( CBTxt::T( 'USERS_THIS_YEAR', 'Users this Year' ) ) . '"></span>'
. '</span>';
if ( $label == 3 ) {
echo CBTxt::T( 'ICON_USERS_THIS_YEAR_COUNT_FORMAT', '[icon] Users this Year: [count_format]', array( '[icon]' => $icon, '[count]' => $usersYear, '[count_format]' => number_format( (float) $usersYear, 0, '.', $separator ) ) );
} elseif ( $label == 2 ) {
echo CBTxt::T( 'ICON_COUNT_FORMAT', '[icon] [count_format]', array( '[icon]' => $icon, '[count]' => $usersYear, '[count_format]' => number_format( (float) $usersYear, 0, '.', $separator ) ) );
} else {
echo CBTxt::T( 'USERS_THIS_YEAR_COUNT_FORMAT', 'Users this Year: [count_format]', array( '[count]' => $usersYear, '[count_format]' => number_format( (float) $usersYear, 0, '.', $separator ) ) );
}
?>
</li>
<?php echo modCBOnlineHelper::getPlugins( $params, 'afterCensus' ); ?>
</ul>
<?php echo modCBOnlineHelper::getPlugins( $params, 'almostEnd' ); ?>
<?php if ( $postText ) { ?>
<div class="posttext">
<p><?php echo $postText; ?></p>
</div>
<?php } ?>
<?php echo modCBOnlineHelper::getPlugins( $params, 'end' ); ?>