return $nextId;
}
+// ----------------------------------------------------------------------------
+// Wrapper function
+// ----------------------------------------------------------------------------
+
+// "Getter" for surfbar_dynamic_percent
+function getSurfbarDynamicPercent () {
+ // Do we have cache?
+ if (!isset($GLOBALS['surfbar_dynamic_percent'])) {
+ // Determine it
+ $GLOBALS['surfbar_dynamic_percent'] = getConfig('surfbar_dynamic_percent');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS['surfbar_dynamic_percent'];
+}
+
+// "Getter" for surfbar_static_reward
+function getSurfbarStaticReward () {
+ // Do we have cache?
+ if (!isset($GLOBALS['surfbar_static_reward'])) {
+ // Determine it
+ $GLOBALS['surfbar_static_reward'] = getConfig('surfbar_static_reward');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS['surfbar_static_reward'];
+}
+
+// "Getter" for surfbar_static_time
+function getSurfbarStaticTime () {
+ // Do we have cache?
+ if (!isset($GLOBALS['surfbar_static_time'])) {
+ // Determine it
+ $GLOBALS['surfbar_static_time'] = getConfig('surfbar_static_time');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS['surfbar_static_time'];
+}
+
+// "Getter" for surfbar_max_order
+function getSurfbarMaxOrder () {
+ // Do we have cache?
+ if (!isset($GLOBALS['surfbar_max_order'])) {
+ // Determine it
+ $GLOBALS['surfbar_max_order'] = getConfig('surfbar_max_order');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS['surfbar_max_order'];
+}
+
// -----------------------------------------------------------------------------
// PLEASE DO NOT ADD ANY OTHER FUNCTIONS BELOW THIS LINE IF THEY DON'T "WRAP"
// THE $GLOBALS['surfbar_cache'] ARRAY!
return $GLOBALS['ref_payout'];
}
-// "Getter" for surfbar_dynamic_percent
-function getSurfbarDynamicPercent () {
- // Do we have cache?
- if (!isset($GLOBALS['surfbar_dynamic_percent'])) {
- // Determine it
- $GLOBALS['surfbar_dynamic_percent'] = getConfig('surfbar_dynamic_percent');
- } // END - if
-
- // Return cache
- return $GLOBALS['surfbar_dynamic_percent'];
-}
-
-// "Getter" for surfbar_static_reward
-function getSurfbarStaticReward () {
- // Do we have cache?
- if (!isset($GLOBALS['surfbar_static_reward'])) {
- // Determine it
- $GLOBALS['surfbar_static_reward'] = getConfig('surfbar_static_reward');
- } // END - if
-
- // Return cache
- return $GLOBALS['surfbar_static_reward'];
-}
-
-// "Getter" for surfbar_static_time
-function getSurfbarStaticTime () {
- // Do we have cache?
- if (!isset($GLOBALS['surfbar_static_time'])) {
- // Determine it
- $GLOBALS['surfbar_static_time'] = getConfig('surfbar_static_time');
- } // END - if
-
- // Return cache
- return $GLOBALS['surfbar_static_time'];
-}
-
// "Getter" for online_timeout
function getOnlineTimeout () {
// Do we have cache?