';
$count = '0';
foreach ($RANKS as $k => $rate) {
if (!empty($rate)) {
// Print only when something is in
$OUT .= '
({?POINTS?})
';
} // END - if
$count++;
} // END - foreach
// Maxmium entries
$max = 10;
if ($count >= 8) $max = $count+3;
// Add more empty fields
for ($i = $count; $i < $max; $i++) {
$OUT .= ' ({?POINTS?})
';
} // END - for
$OUT .= '';
$content['trates_list'] = $OUT;
// Selection boxes
$content['login_timeout_selection'] = createConfigurationTimeSelections('login_timeout' , 'WDh');
$content['bonus_timeout_selection'] = createConfigurationTimeSelections('bonus_timeout' , 'WDh');
$content['wait_selection'] = createConfigurationTimeSelections('bonus_notify_wait', 'ms' );
// Init Y/N selections
foreach (array('active','login_yn','stats_yn','order_yn','ref_yn','click_yn','enable_notify','disable_notify','new_member_notify','include_own') as $entry) {
$content[$entry . '_y'] = '';
$content[$entry . '_n'] = '';
$content[$entry . '_' . strtolower(getConfig('bonus_' . $entry))] = ' checked="checked"';
} // END - foreach
// Load final template
loadTemplate('admin_config_bonus', false, $content);
}
// [EOF]
?>