forceResult(400, "Wrong parameters."); return; } if (!isset($API_OPTIONS['nav'])) { $FRAME_OPTIONS->forceResult(400, "Wrong parameters."); return; } if (!isset($API_OPTIONS['linkheader'])) { $FRAME_OPTIONS->forceResult(400, "Wrong parameters."); return; } if (!isset($API_OPTIONS['ajax'])) { $FRAME_OPTIONS->forceResult(400, "Wrong parameters."); return; } $year = intval($API_OPTIONS['year']); $shownav = boolval($API_OPTIONS['nav']); $linkheader = boolval($API_OPTIONS['linkheader']); $ajax = boolval($API_OPTIONS['ajax']); $frameid = strval($API_OPTIONS['frameid']); $SITE->fragments->PanelAdventOfCodeCalendar($year, $shownav, $linkheader, $ajax, false, $frameid);