-
-// undo rg = on effects
-if (isset($month)) unset($month);
-if (isset($year)) unset($year);
-if (isset($day)) unset($day);
-if (isset($hour)) unset($hour);
-if (isset($minute)) unset($minute);
-if (isset($event_hour)) unset($event_hour);
-if (isset($event_minute)) unset($event_minute);
-if (isset($event_length)) unset($event_length);
-if (isset($event_priority)) unset($event_priority);
-
-
-if (isset($_GET['year']) && is_numeric($_GET['year'])) {
- $year = $_GET['year'];
-}
-elseif (isset($_POST['year']) && is_numeric($_POST['year'])) {
- $year = $_POST['year'];
-}
-if (isset($_GET['month']) && is_numeric($_GET['month'])) {
- $month = $_GET['month'];