render_incidents(false,$_GET['offset'],5); exit(); }else if (isset($_GET['offset'])) { $offset = $_GET['offset']; } if ($_GET['new']=="incident") { Incident::add(); } if (isset($_GET['delete'])) { Incident::delete($_GET['delete']); } //TODO: Pamatovat si data render_header("Dashboard", true); ?>