X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-online.php;h=5dae478a83a803a471ce157b71922cbfb32c1bb8;hb=0ddf8f6c578aa2c1ff1db9fb8eb0b93a1e247b73;hp=5d7ba831d4d0a65166fca0047852496a5002955a;hpb=daefa5dc8ffd7773e0c2556a5dcf33fa52196180;p=mailer.git diff --git a/inc/modules/guest/action-online.php b/inc/modules/guest/action-online.php index 5d7ba831d4..5dae478a83 100644 --- a/inc/modules/guest/action-online.php +++ b/inc/modules/guest/action-online.php @@ -1,7 +1,7 @@ countSumTotalData('N', 'online', 'id', 'is_admin', true, " AND `is_member`='N'"), + 'members' => countSumTotalData('N', 'online', 'id', 'is_admin', true, " AND `is_member`='Y'"), + 'admins' => countSumTotalData('Y', 'online', 'id', 'is_admin', true), + 'total' => $total +); // Output table -LOAD_TEMPLATE("online_now"); +$GLOBALS['rows'] .= loadTemplate('online_now', true, $content); -if (EXT_IS_ACTIVE("active")) { - // Add link to "we were active today" page - LOAD_TEMPLATE("guest_menu_bottom", false, "".$_CONFIG['menu_blur_spacer'].GUEST_ACTIVE_LINK.""); -} +// Add more links in this block +runFilterChain('online_extra_links'); -// +// [EOF] ?>