1 AND `type` = '0' ORDER BY '" . $orderBy . "'"; $categoryRs = hesk_dbQuery($categorySql); while ($row = hesk_dbFetchAssoc($categoryRs)) { $row['css_style'] = $row['color'] == null ? 'color: black; border: solid 1px #000; padding-right: 14px' : 'background: ' . $row['color']; $categories[] = $row; } require_once(HESK_PATH . 'inc/header.inc.php'); ?>