2019-11-03 15:44:47 +01:00
|
|
|
<?php
|
2020-01-15 02:50:23 +01:00
|
|
|
require_once (__DIR__ . '/../internals/website.php');
|
2019-11-03 15:44:47 +01:00
|
|
|
|
2020-01-15 02:50:23 +01:00
|
|
|
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
|
|
|
|
/** @var URLRoute $ROUTE */ global $ROUTE;
|
|
|
|
/** @var Website $SITE */ global $SITE;
|
|
|
|
|
|
|
|
global $FRAGMENT_PARAM;
|
|
|
|
/** @var array $parameter */
|
|
|
|
$parameter = $FRAGMENT_PARAM;
|
|
|
|
?>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
$years = $SITE->modules->AdventOfCode()->listYears();
|
|
|
|
$year = intval(end($years));
|
2019-11-03 15:44:47 +01:00
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="index_pnl_base">
|
|
|
|
|
|
|
|
<div class="index_pnl_header">
|
2020-01-15 02:50:23 +01:00
|
|
|
<a href="<?php echo $SITE->modules->AdventOfCode()->getURLForYear($year); ?>">Advent of Code</a>
|
2019-11-03 15:44:47 +01:00
|
|
|
</div>
|
|
|
|
<div class="index_pnl_content">
|
|
|
|
|
2020-01-17 00:25:29 +01:00
|
|
|
<?php echo $SITE->fragments->PanelAdventOfCodeCalendar($year, true, true, true); ?>
|
2019-11-03 15:44:47 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|