ADMIN_SAVE_SETTINGS($_POST);
// Remember new settings
- getConfig('bonus_active') = $_POST['bonus_active'];
+ $_CONFIG['bonus_active'] = $_POST['bonus_active'];
$_CONFIG['bonus_en_notify'] = $_POST['bonus_en_notify'];
$_CONFIG['bonus_di_notify'] = $_POST['bonus_di_notify'];
} else {
if (getConfig('turbo_rates') == "") $RANKS = array(round(getConfig('turbo_bonus') / 2), round(getConfig('turbo_bonus') / 4));
// Generate list
- $OUT = "<OL start=\"2\">\n";
+ $OUT = "<ol start=\"2\">\n";
$cnt = 0;
foreach ($RANKS as $k => $rate) {
if (!empty($rate)) {
// Print only when something is in
- $OUT .= " <LI><INPUT type=\"text\" name=\"rate[".($k + 2)."]\" class=\"admin_normal\" size=\"4\" maxlength=\"7\" value=\"".$rate."\"> <FONT class=\"admin_notes\">(".POINTS.")</FONT?</LI>\n";
+ $OUT .= " <li><input type=\"text\" name=\"rate[".($k + 2)."]\" class=\"admin_normal\" size=\"4\" maxlength=\"7\" value=\"".$rate."\"> <div class=\"admin_notes\">({!POINTS!})</div?</li>\n";
}
$cnt++;
}
// Add more empty fields
for ($i = $cnt; $i < $max; $i++) {
- $OUT .= " <LI><INPUT type=\"text\" name=\"rate[".($i+2)."]\" class=\"admin_normal\" size=\"4\" maxlength=\"7\"> <FONT class=\"admin_notes\">(".POINTS.")</FONT?</LI>\n";
+ $OUT .= " <li><input type=\"text\" name=\"rate[".($i+2)."]\" class=\"admin_normal\" size=\"4\" maxlength=\"7\"> <div class=\"admin_notes\">({!POINTS!})</div?</li>\n";
}
- $OUT .= "</OL>\n";
+ $OUT .= "</ol>\n";
define('__TRATES_LIST', $OUT);
define('__LOGIN_TIMEOUT_SELECTION', CREATE_TIME_SELECTIONS(getConfig('login_timeout') , "login_timeout" , "WDh"));