define('SERVER_URL', "http://www.mxchange.org");
// This current patch level
-define('CURR_SVN_REVISION', "468");
+define('CURR_SVN_REVISION', "469");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
// Do not execute when script is in CSS mode or no daily reset
if (($CSS == 1) || (!defined('__DAILY_RESET')) || ($_CONFIG['beg_rallye'] == "N")) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Get current month (2 digits)
$curr = date("m", time());
// Do not execute when script is in CSS mode or no daily reset
if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Get current month (2 digits)
$curr = date("m", time());
// Do not execute when script is in CSS mode or no daily reset
if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Get current month (2 digits)
$curr = date("m", time());
// Do not execute when script is in CSS mode or no daily reset
if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Reset surfbar counter
UPDATE_CONFIG("surfbar_monthly_counter", "0");
// Do not execute when script is in CSS mode or no daily reset
if (($CSS == 1) || (!defined('__DAILY_RESET')) || ($_CONFIG['beg_rallye'] == "Y")) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Reset accounts
$result = SQL_QUERY("UPDATE "._MYSQL_PREFIX."_user_data SET beg_points=0.00000 WHERE beg_points > 0",
// Do not execute when script is in CSS mode or no daily reset
if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Reset accounts
$result = SQL_QUERY("UPDATE "._MYSQL_PREFIX."_user_data SET turbo_bonus=0, login_bonus=0, bonus_order=0, bonus_stats=0, bonus_ref=0",
return;
}
+// Do not execute when script is in CSS mode or no daily reset
+if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
+
// Update user profiles
if (GET_EXT_VERSION("order") >= "0.1.1") {
// Latest version
// Do not execute when script is in CSS mode or no daily reset
if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
//
?>
}
// Do not execute when script is in CSS mode or no daily reset
-if (($CSS == 1) || (GET_EXT_VERSION("holiday") == "") || ((!defined('__DAILY_RESET')) && ($_CONFIG['holiday_mode'] == "RESET"))) return;
+if (($CSS == 1) || ((!defined('__DAILY_RESET')) && ($_CONFIG['holiday_mode'] == "RESET"))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Check for holidays we need to enable and send email to user
$result_main = SQL_QUERY("SELECT userid, holiday_activated FROM "._MYSQL_PREFIX."_user_data
// Do not execute when script is in CSS mode or no daily reset
if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Reset surfbar counter
UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter"), array(0, $_CONFIG['surfbar_daily_counter']));
// Do not execute when script is in CSS mode or no daily reset
if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Reset the surfbar counter
UPDATE_CONFIG("surfbar_weekly_counter", "0");