- $sql .= ") AND `status`='CONFIRMED' ORDER BY last_online ASC";
-
- // Prepare data for the template
- define('__BEG_MIN_POINTS' , translateComma(getConfig('beg_points')));
- define('__BEG_MAX_POINTS' , translateComma(getConfig('beg_points_max')));
- define('__BEG_MAX_WINNERS', round(getConfig('beg_ranks')));
- if (getConfig('beg_ip_timeout') == 0) {
- // No IP locking setuped!
- define('__BEG_IP_LOCKER', getMessage('BEG_NO_LIMITATION'));
- } else {
+ $sql .= ") AND `status`='CONFIRMED' ORDER BY `last_online` ASC";
+
+ // No IP locking setuped by default
+ $content['ip_locker'] = '{--BEG_NO_LIMITATION--}';
+
+ if (getConfig('beg_ip_timeout') > 0) {