// Total visitors online
$total = SQL_NUMROWS($result_guests) + SQL_NUMROWS($result_members) + SQL_NUMROWS($result_admins);
-if ($_CONFIG['mad_count'] < $total) {
+if (getConfig('mad_count') < $total) {
// Update counter
UPDATE_CONFIG(array("mad_timestamp", "mad_count"), array(time(), $total));
$_CONFIG['mad_count'] = $total;
$_CONFIG['last_mad'] = time();
-}
+} // END - if
// Put all values in constants for the template
define('GUESTS_ONLINE_CNT' , SQL_NUMROWS($result_guests));
// Output table
LOAD_TEMPLATE("online_now");
-if (EXT_IS_ACTIVE("active")) {
- // Init content
- $content = array(
- 'menu' => "<A class=\"menu_blur\" href=\"".URL."/modules.php?module=index&what=active\">".$_CONFIG['menu_blur_spacer'].GUEST_ACTIVE_LINK."</A>",
- 'what' => "active"
- );
-
- // Add link to "we were active today" page
- LOAD_TEMPLATE("guest_menu_bottom", false, $content);
-} // END - if
+// Add more links in this block
+RUN_FILTER('online_extra_links');
//
?>