1
0

ajax aoc panel (main site)

This commit is contained in:
2020-01-06 21:58:09 +01:00
parent c12b217b37
commit a6539cf081
11 changed files with 99 additions and 17 deletions

View File

@@ -0,0 +1,16 @@
<?php
require_once (__DIR__ . '/../internals/base.php');
require_once (__DIR__ . '/../internals/adventofcode.php');
global $PARAM_AOCCALENDAR;
$PARAM_AOCCALENDAR =
[
'year' => intval($_GET['year']),
'nav' => boolval($_GET['nav']),
'linkheader' => boolval($_GET['linkheader']),
'ajax' => boolval($_GET['ajax']),
'frame' => false,
'frameid' => strval($_GET['frameid']),
];
require (__DIR__ . '/../fragments/panel_aoc_calendar.php');