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