1 AND `type` = '0' ORDER BY '" . $orderBy . "'"; $categoryRs = hesk_dbQuery($categorySql); while ($row = hesk_dbFetchAssoc($categoryRs)) { $row['css_style'] = "background: {$row['background_color']};"; $row['background_volatile'] = 'background-volatile'; if ($row['foreground_color'] != 'AUTO') { $row['background_volatile'] = ''; $row['css_style'] .= " color: {$row['foreground_color']};"; if ($row['display_border_outline'] == '1') { $row['css_style'] .= " border: solid 1px {$row['foreground_color']};"; } } $categories[] = $row; } require_once(HESK_PATH . 'inc/header.inc.php'); ?>