define('SERVER_URL', "http://www.mxchange.org");
// This current patch level
-define('CURR_SVN_REVISION', "464");
+define('CURR_SVN_REVISION', "465");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
else
{
// Anything else so let's explode all entered rank points
- $test = explode(";", $_CONFIG['bonus_ranks']);
+ $test = explode(";", $_CONFIG['turbo_rates']);
if (!empty($test[$rank - 2]))
{
// Level found
$self = false; $OUT = "";
// How many ranks do we have?
- $ranks = sizeof(explode(";", $_CONFIG['bonus_ranks'])) + 1;
+ $ranks = sizeof(explode(";", $_CONFIG['turbo_rates'])) + 1;
// Load current user's data
$result = SQL_QUERY_ESC("SELECT level, points, timemark FROM "._MYSQL_PREFIX."_bonus_turbo WHERE %s=%s AND userid=%s LIMIT 1",
$RANKS = explode(";", $_CONFIG['turbo_rates']);
// Automatically calculate bonus points for ranks 2 and 3 when not set
- if (empty($_CONFIG['bonus_ranks'])) $RANKS = array(round($_CONFIG['turbo_bonus'] / 2), round($_CONFIG['turbo_bonus'] / 4));
+ if (empty($_CONFIG['turbo_rates'])) $RANKS = array(round($_CONFIG['turbo_bonus'] / 2), round($_CONFIG['turbo_bonus'] / 4));
// Generate list
$OUT = "<OL start=\"2\">\n";