render_incidents(false, $_GET['offset'], 5); exit(); } else if (isset($_GET['offset'])) { $offset = $_GET['offset']; } if (isset($_GET['new']) && $_GET['new'] == "incident") { Incident::add(); } if (isset($_GET['delete'])) { Incident::delete($_GET['delete']); } if (isset($_GET['tasks'])) { Queue::process_queue(); } Template::render_header(_("Dashboard"), true); ?>