X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-online.php;h=5bc554b9bc5ab2763500f35088c279e75038f47e;hb=544aa3fb48613160f812515673e64c46d18d2e1d;hp=e8df9e777748f31878233bc4d8ef0e5e4eda2e5f;hpb=a743c06b732cf6ae8d605379551ac03a87a9bf48;p=mailer.git diff --git a/inc/modules/guest/action-online.php b/inc/modules/guest/action-online.php index e8df9e7777..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] ?>