]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Fixed displaying of correct values in surfbar
[mailer.git] / inc / wrapper-functions.php
index 770c266ebafeadc11b491abe1ff4fdddf9c16410..a8277d6255d0d1eee25d24acd807062ec4461fd2 100644 (file)
@@ -1730,6 +1730,66 @@ function getPointsRef () {
        return $GLOBALS['points_ref'];
 }
 
+// "Getter" for ref_payout
+function getRefPayout () {
+       // Do we have cache?
+       if (!isset($GLOBALS['ref_payout'])) {
+               // Determine it
+               $GLOBALS['ref_payout'] = getConfig('ref_payout');
+       } // END - if
+
+       // Return cache
+       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?
+       if (!isset($GLOBALS['online_timeout'])) {
+               // Determine it
+               $GLOBALS['online_timeout'] = getConfig('online_timeout');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS['online_timeout'];
+}
+
 // Checks wether proxy configuration is used
 function isProxyUsed () {
        // Do we have cache?