X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-online.php;h=5bc554b9bc5ab2763500f35088c279e75038f47e;hb=0e575ef6e26c44e00515b0b0c8db081761cbf3d5;hp=9a0f5ee47840921592d09567e4232dba9fde6ec6;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/inc/modules/guest/action-online.php b/inc/modules/guest/action-online.php index 9a0f5ee478..5bc554b9bc 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['middot'].GUEST_ACTIVE_LINK.""); -} +// Add more links in this block +runFilterChain('online_extra_links'); -// +// [EOF] ?>