if (SQL_NUMROWS($result) > 0) {
// List alle visible modules (or all to the admin)
- $SW = 2;
$OUT .= '<table border="0" cellspacing="0" cellpadding="0" width="100%">';
while ($content = SQL_FETCHARRAY($result)) {
// Prepare array for the template
$content = array(
- 'sw' => $SW,
'cat' => $content['cat'],
'def_y' => '',
'def_n' => '',
// Load template and switch color
$OUT .= loadTemplate('guest_cat_row', true, $content);
- $SW = 3 - $SW;
- }
+ } // END - while
$OUT .= '</table>';
// Free memory