if ($_CONFIG['mad_counter'] < $total)
{
// Update counter
+ UPDATE_CONFIG(array("mad_timestamp", "mad_count"), array(time(), $total));
$_CONFIG['mad_counter'] = $total;
$_CONFIG['last_mad'] = time();
- $result_mad = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_config SET mad_timestamp=%d, mad_count='%s' WHERE config=0 LIMIT 1",
- array($_CONFIG['last_mad'], $_CONFIG['mad_counter']), __FILE__, __LINE__);
-
- // Destroy cache
}
// Put all values in constants for the template
if (EXT_IS_ACTIVE("active"))
{
// Add link to "we were active today" page
- LOAD_TEMPLATE("guest_menu_bottom", false, "<A class=\"menu_blur\" href=\"".URL."/modules.php?module=index&what=active\">".$_CONFIG['middot'].GUEST_ACTIVE_LINK."</A>");
+ LOAD_TEMPLATE("guest_menu_bottom", false, "<A class=\"menu_blur\" href=\"".URL."/modules.php?module=index&what=active\">".$_CONFIG['menu_blur_spacer'].GUEST_ACTIVE_LINK."</A>");
}
//