diff --git a/calendar.php b/calendar.php new file mode 100644 index 00000000..21cf43c3 --- /dev/null +++ b/calendar.php @@ -0,0 +1,97 @@ + 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' : 'background: ' . $row['color']; + $categories[] = $row; +} + +require_once(HESK_PATH . 'inc/header.inc.php'); +?> + +
+
+
+
+

Categories

+
+
+
    + +
  • +
    + +
    + + + +
  • + +
+
+
+
+
+
+
+

+ Calendar +

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/inc/header.inc.php b/inc/header.inc.php index 406dad64..76cd524d 100644 --- a/inc/header.inc.php +++ b/inc/header.inc.php @@ -101,6 +101,9 @@ if (is_dir(HESK_PATH . 'install')) { + + + @@ -109,6 +112,7 @@ if (is_dir(HESK_PATH . 'install')) { src="js/modsForHesk-javascript.js"> + @@ -116,6 +120,7 @@ if (is_dir(HESK_PATH . 'install')) { +