}
// Prepare all entries
-$OUT = ''; $SW = 2;
+$OUT = '';
foreach ($result as $entry) {
// Translate some data
$entry['pay'] = translateComma($entry['pay'], true, 5);
- $entry['sw'] = $SW;
// Check reload lock
$reload = YOOMEDIA_CHECK_RELOAD($entry['id'], $entry['reload'], 'textmail');
// Load row template with buttons
$OUT .= loadTemplate('admin_list_yoomedia_tm_row', true, $entry);
}
-
- // Switch color
- $SW = 3 - $SW;
-} // END - if
+} // END - foreach
// Load main template
loadTemplate('admin_list_yoomedia_tm', false, $OUT);