<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* base.html.twig */
class __TwigTemplate_8e9dfcbdd38277122dfcd499ec80f75282074b540a33bb3c7211e9a3d3a08c7e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'css' => [$this, 'block_css'],
'body' => [$this, 'block_body'],
'javascript' => [$this, 'block_javascript'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"en\" class=\"h-100\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<meta name=\"description\" content=\"\">
<link rel=\"shortcut icon\" href=\"/images/favicon.png\">
<title>Paleontica
";
// line 9
if ( $this->hasBlock("title", $context, $blocks)) {
// line 10
echo " - ";
$this->displayBlock("title", $context, $blocks);
echo "
";
}
// line 12
echo " </title>
<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css\" integrity=\"sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh\" crossorigin=\"anonymous\">
<link href=\"/css/paleontica.css\" rel=\"stylesheet\">
";
// line 15
if (($this->extensions['App\Twig\GetEnv']->getEnvironmentVariable("SITE_TYPE") == "beta")) {
// line 16
echo " <link href=\"/css/paleontica.beta.css\" rel=\"stylesheet\">
";
}
// line 18
echo " <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fullcalendar/core@4.1.0/main.min.css\">
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fullcalendar/daygrid@4.1.0/main.min.css\">
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fullcalendar/timegrid@4.1.0/main.min.css\">
";
// line 21
$this->displayBlock('css', $context, $blocks);
// line 22
echo " </head>
<body class=\"d-flex flex-column h-100\">
<!-- Start Header -->
<header>
<div class=\"container\">
";
// line 27
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_IMPERSONATOR")) {
// line 28
echo " <div class=\"alert alert-warning\" style=\"position: fixed; z-index: 99;\">
";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Je bent nu het profiel van '{user}' aan het naboosten", ["{user}" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 29, $this->source); })()), "user", [], "any", false, false, false, 29), "username", [], "any", false, false, false, 29)]), "html", null, true);
echo "
<a href=\"";
// line 30
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontpage", ["_switch_user" => "_exit"]);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Uit nabootsing-modus gaan"), "html", null, true);
echo "</a>
</div>
";
}
// line 33
echo " <div class=\"row\" >
<div class=\"col-11 mt-auto\">
<a href=\"/\"><img src=\"/images/PaleonticaLogo-408.png\" alt=\"paleontica-logo\" class=\"img-fluid img-responsive\"></a>
</div>
<div class=\"col-1 mt-auto\">
</div>
</div>
</div>
</header>
<!-- End Header -->
";
// line 44
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\NavigationController::navigation"));
echo "
";
// line 46
echo " <!-- Start Main Content -->
<main>
<div class=\"container flex-shrink-0\">
";
// line 49
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 49, $this->source); })()), "flashes", [0 => "info"], "method", false, false, false, 49));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 50
echo " <div class=\"alert alert-info\">";
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "flashes", [0 => "success"], "method", false, false, false, 52));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 53
echo " <div class=\"alert alert-success\">";
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 55
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 55, $this->source); })()), "flashes", [0 => "warning"], "method", false, false, false, 55));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 56
echo " <div class=\"alert alert-warning\">";
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 58
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 58, $this->source); })()), "flashes", [0 => "error"], "method", false, false, false, 58));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 59
echo " <div class=\"alert alert-danger\">";
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 61
echo " ";
$this->displayBlock('body', $context, $blocks);
// line 62
echo " </div>
</main>
<!-- End Main Content -->
<!-- Start Footer -->
<footer>
<div class=\"container mt-auto text-center\">
© ";
// line 68
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Stichting Paleontica"), "html", null, true);
echo ". ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Alle rechten voorbehouden"), "html", null, true);
echo ".<br />
<a href=\"/contact\">";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Contact"), "html", null, true);
echo "</a> ";
echo " | <a href=\"/article/99/Copyright\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Copyright"), "html", null, true);
echo "</a>
</div>
</footer>
";
// line 73
echo " <script src=\"https://code.jquery.com/jquery-3.4.1.js\" integrity=\"sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=\" crossorigin=\"anonymous\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js\" integrity=\"sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo\" crossorigin=\"anonymous\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js\" integrity=\"sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6\" crossorigin=\"anonymous\"></script>
<script src=\"https://unpkg.com/feather-icons/dist/feather.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fullcalendar/core@4.1.0/main.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fullcalendar/interaction@4.1.0/main.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fullcalendar/daygrid@4.1.0/main.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fullcalendar/timegrid@4.1.0/main.min.js\"></script>
<script>feather.replace()</script>
";
// line 82
if (((isset($context["site_type"]) || array_key_exists("site_type", $context) ? $context["site_type"] : (function () { throw new RuntimeError('Variable "site_type" does not exist.', 82, $this->source); })()) != "beta")) {
// line 83
echo " <!-- Matomo -->
<script type=\"text/javascript\">
var _paq = window._paq = window._paq || [];
/* tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=\"//analytics.paleontica.org/\";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
";
}
// line 99
echo " <script>
var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://georockshop.nl/advertisement/index.php');
xhr.onload = function() {
var ad = JSON.parse(xhr.responseText);
document.getElementById('advertisement_img').innerHTML = \"<img src=\\\"\"+ad.thumb+\"\\\" width='190' height='144' class='img-fluid img-responsive'>\";
document.getElementById('advertisement_img').href = ad.link;
document.getElementById('advertisement_link').innerHTML = \"<a href=\\\"\" + ad.link + \"\\\">\" + ad.name + \"</a><br><b>€ \" + ad.price + \"</b>\";
};
xhr.send();
</script>
<script type=\"text/javascript\">
document.addEventListener('DOMContentLoaded', () => {
var calendarEl = document.getElementById('minicalendar-holder');
var calendar = new FullCalendar.Calendar(calendarEl, {
defaultView: 'dayGridMonth',
editable: true,
firstDay: 1,
locale: '";
// line 118
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 118, $this->source); })()), "request", [], "any", false, false, false, 118), "locale", [], "any", false, false, false, 118) == "nl")) {
echo "nl";
} else {
echo "en";
}
echo "',
eventSources: [
{
url: \"";
// line 121
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fc_load_events");
echo "\",
method: \"POST\",
extraParams: {
filters: JSON.stringify({})
},
failure: () => {
console.log(\"There was an error while fetching FullCalendar!\");
},
},
],
";
// line 131
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 131, $this->source); })()), "request", [], "any", false, false, false, 131), "locale", [], "any", false, false, false, 131) == "nl")) {
} else {
// line 132
echo " eventDataTransform: function(eventData) {
eventData.title_nl = eventData.title;
eventData.title = eventData.title_en;
return eventData;
},
";
}
// line 138
echo " header: {
left: 'prev,next today',
center: 'title',
right: 'dayGridMonth',
},
plugins: [ 'interaction', 'dayGrid', 'timeGrid' ], // https://fullcalendar.io/docs/plugin-index
timeZone: 'UTC',
});
calendar.render();
});
</script>
";
// line 150
$this->displayBlock('javascript', $context, $blocks);
// line 151
echo " <!-- End Footer -->
</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 21
public function block_css($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 61
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 150
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 360 => 150, 342 => 61, 324 => 21, 311 => 151, 309 => 150, 295 => 138, 287 => 132, 284 => 131, 271 => 121, 261 => 118, 240 => 99, 222 => 83, 220 => 82, 209 => 73, 200 => 69, 194 => 68, 186 => 62, 183 => 61, 174 => 59, 169 => 58, 160 => 56, 155 => 55, 146 => 53, 141 => 52, 132 => 50, 128 => 49, 123 => 46, 118 => 44, 106 => 33, 98 => 30, 94 => 29, 91 => 28, 89 => 27, 82 => 22, 80 => 21, 75 => 18, 71 => 16, 69 => 15, 64 => 12, 58 => 10, 56 => 9, 46 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"en\" class=\"h-100\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<meta name=\"description\" content=\"\">
<link rel=\"shortcut icon\" href=\"/images/favicon.png\">
<title>Paleontica
{% if block('title') is defined %}
- {{ block('title') }}
{% endif %}
</title>
<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css\" integrity=\"sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh\" crossorigin=\"anonymous\">
<link href=\"/css/paleontica.css\" rel=\"stylesheet\">
{% if get_env(\"SITE_TYPE\") == 'beta' %}
<link href=\"/css/paleontica.beta.css\" rel=\"stylesheet\">
{% endif %}
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fullcalendar/core@4.1.0/main.min.css\">
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fullcalendar/daygrid@4.1.0/main.min.css\">
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fullcalendar/timegrid@4.1.0/main.min.css\">
{% block css %}{% endblock %}
</head>
<body class=\"d-flex flex-column h-100\">
<!-- Start Header -->
<header>
<div class=\"container\">
{% if is_granted('IS_IMPERSONATOR') %}
<div class=\"alert alert-warning\" style=\"position: fixed; z-index: 99;\">
{{ 'Je bent nu het profiel van \\'{user}\\' aan het naboosten'|trans({'{user}' : app.user.username }) }}
<a href=\"{{ path('frontpage', {'_switch_user': '_exit'}) }}\">{{ 'Uit nabootsing-modus gaan'|trans }}</a>
</div>
{% endif %}
<div class=\"row\" >
<div class=\"col-11 mt-auto\">
<a href=\"/\"><img src=\"/images/PaleonticaLogo-408.png\" alt=\"paleontica-logo\" class=\"img-fluid img-responsive\"></a>
</div>
<div class=\"col-1 mt-auto\">
</div>
</div>
</div>
</header>
<!-- End Header -->
{#{% include 'navigation.twig' %}#}
{{ render(controller('App\\\\Controller\\\\NavigationController::navigation')) }}
{# {{ render(controller('App\\\\Controller\\\\Menu::menubar', { 'current_path': path(app.request.attributes.get('_route'),app.request.attributes.get('_route_params')) } )) }} #}
<!-- Start Main Content -->
<main>
<div class=\"container flex-shrink-0\">
{% for message in app.flashes('info') %}
<div class=\"alert alert-info\">{{ message }}</div>
{% endfor %}
{% for message in app.flashes('success') %}
<div class=\"alert alert-success\">{{ message }}</div>
{% endfor %}
{% for message in app.flashes('warning') %}
<div class=\"alert alert-warning\">{{ message }}</div>
{% endfor %}
{% for message in app.flashes('error') %}
<div class=\"alert alert-danger\">{{ message }}</div>
{% endfor %}
{% block body %}{% endblock %}
</div>
</main>
<!-- End Main Content -->
<!-- Start Footer -->
<footer>
<div class=\"container mt-auto text-center\">
© {{'Stichting Paleontica'|trans }}. {{ 'Alle rechten voorbehouden'|trans }}.<br />
<a href=\"/contact\">{{ 'Contact'|trans }}</a> {#| <a href=\"/page/privacy-statement\">{{ 'Privacy statement'|trans }}</a> | <a href=\"/page/disclamer\">{{ 'Disclaimer'|trans }}</a>#} | <a href=\"/article/99/Copyright\">{{ 'Copyright'|trans }}</a>
</div>
</footer>
{#<script src=\"https://code.jquery.com/jquery-3.4.1.min.js\" integrity=\"sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n\" crossorigin=\"anonymous\"></script>#}
<script src=\"https://code.jquery.com/jquery-3.4.1.js\" integrity=\"sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=\" crossorigin=\"anonymous\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js\" integrity=\"sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo\" crossorigin=\"anonymous\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js\" integrity=\"sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6\" crossorigin=\"anonymous\"></script>
<script src=\"https://unpkg.com/feather-icons/dist/feather.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fullcalendar/core@4.1.0/main.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fullcalendar/interaction@4.1.0/main.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fullcalendar/daygrid@4.1.0/main.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fullcalendar/timegrid@4.1.0/main.min.js\"></script>
<script>feather.replace()</script>
{% if site_type != 'beta' %}
<!-- Matomo -->
<script type=\"text/javascript\">
var _paq = window._paq = window._paq || [];
/* tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=\"//analytics.paleontica.org/\";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
{% endif %}
<script>
var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://georockshop.nl/advertisement/index.php');
xhr.onload = function() {
var ad = JSON.parse(xhr.responseText);
document.getElementById('advertisement_img').innerHTML = \"<img src=\\\"\"+ad.thumb+\"\\\" width='190' height='144' class='img-fluid img-responsive'>\";
document.getElementById('advertisement_img').href = ad.link;
document.getElementById('advertisement_link').innerHTML = \"<a href=\\\"\" + ad.link + \"\\\">\" + ad.name + \"</a><br><b>€ \" + ad.price + \"</b>\";
};
xhr.send();
</script>
<script type=\"text/javascript\">
document.addEventListener('DOMContentLoaded', () => {
var calendarEl = document.getElementById('minicalendar-holder');
var calendar = new FullCalendar.Calendar(calendarEl, {
defaultView: 'dayGridMonth',
editable: true,
firstDay: 1,
locale: '{% if app.request.locale == 'nl' %}nl{% else %}en{% endif %}',
eventSources: [
{
url: \"{{ path('fc_load_events') }}\",
method: \"POST\",
extraParams: {
filters: JSON.stringify({})
},
failure: () => {
console.log(\"There was an error while fetching FullCalendar!\");
},
},
],
{% if app.request.locale == 'nl' %}{% else %}
eventDataTransform: function(eventData) {
eventData.title_nl = eventData.title;
eventData.title = eventData.title_en;
return eventData;
},
{% endif %}
header: {
left: 'prev,next today',
center: 'title',
right: 'dayGridMonth',
},
plugins: [ 'interaction', 'dayGrid', 'timeGrid' ], // https://fullcalendar.io/docs/plugin-index
timeZone: 'UTC',
});
calendar.render();
});
</script>
{% block javascript %}{% endblock %}
<!-- End Footer -->
</body>
</html>
", "base.html.twig", "/var/www/acc.paleontica.org/templates/base.html.twig");
}
}