2016-08-26 22:35:39 +02:00
|
|
|
<?php
|
2018-02-17 17:24:03 +01:00
|
|
|
require_once dirname(dirname(__DIR__)) . implode(DIRECTORY_SEPARATOR, ['', 'inc', 'include.php']);
|
2016-08-26 23:14:46 +02:00
|
|
|
use \pvv\side\Agenda;
|
2016-08-26 22:35:39 +02:00
|
|
|
?>
|
2018-02-17 17:24:03 +01:00
|
|
|
<!DOCTYPE html>
|
2016-08-18 00:25:47 +02:00
|
|
|
<html lang="no">
|
2016-08-15 21:04:16 +02:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
2018-08-14 02:09:32 +02:00
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
2016-08-15 21:04:16 +02:00
|
|
|
<link rel="stylesheet" href="../css/normalize.css">
|
|
|
|
<link rel="stylesheet" href="../css/style.css">
|
2018-02-10 15:04:57 +01:00
|
|
|
<link rel="stylesheet" href="../css/nav.css">
|
2016-08-15 21:04:16 +02:00
|
|
|
<link rel="stylesheet" href="../css/events.css">
|
2018-08-14 03:29:10 +02:00
|
|
|
<meta name="theme-color" content="#024" />
|
2020-09-03 20:37:55 +02:00
|
|
|
<title>Animeverkstedet</title>
|
2016-08-15 21:04:16 +02:00
|
|
|
|
|
|
|
<header>Sosial­verk­stedet</header>
|
|
|
|
|
2018-08-14 02:09:32 +02:00
|
|
|
|
2016-08-15 21:04:16 +02:00
|
|
|
<main>
|
|
|
|
|
2016-08-26 22:35:39 +02:00
|
|
|
<?php
|
|
|
|
$activity = new \pvv\side\social\AnimekveldActivity;
|
|
|
|
$nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
|
|
|
|
?>
|
|
|
|
|
2016-08-15 21:04:16 +02:00
|
|
|
<article>
|
2018-08-12 03:54:39 +02:00
|
|
|
<h2><em><?= $nextEvent->getRelativeDate()?></em> Animekveld
|
|
|
|
<?php if ($nextEvent->getImageURL()) { ?>
|
|
|
|
<img src="<?= $nextEvent->getImageURL() ?>">
|
|
|
|
<?php } ?>
|
|
|
|
</h2>
|
2016-08-15 21:04:16 +02:00
|
|
|
<ul class="subtext">
|
2016-08-26 23:17:59 +02:00
|
|
|
<li>Tid:
|
|
|
|
<strong>
|
|
|
|
<?= Agenda::getFormattedDate($nextEvent->getStart());?>
|
|
|
|
</strong>
|
2016-08-26 22:35:39 +02:00
|
|
|
<li>Sted:
|
2016-08-26 23:17:59 +02:00
|
|
|
<strong>
|
|
|
|
<?= $nextEvent->getLocation();?>
|
|
|
|
</strong>
|
2016-08-26 22:35:39 +02:00
|
|
|
<li>Arrangør:
|
2016-08-26 23:17:59 +02:00
|
|
|
<strong>
|
|
|
|
<?= $nextEvent->getOrganiser();?>
|
|
|
|
</strong>
|
2016-08-15 21:04:16 +02:00
|
|
|
</ul>
|
|
|
|
|
2018-08-12 03:52:55 +02:00
|
|
|
<?php
|
|
|
|
$Parsedown = new \Parsedown();
|
|
|
|
echo $Parsedown->text(implode("\n", $nextEvent->getDescription()));
|
|
|
|
?>
|
2016-08-15 21:04:16 +02:00
|
|
|
</article>
|
|
|
|
|
|
|
|
</main>
|
2016-08-29 19:37:49 +02:00
|
|
|
|
2018-02-17 17:24:03 +01:00
|
|
|
<nav>
|
|
|
|
<?= navbar(1, 'aktiviteter'); ?>
|
|
|
|
<?= loginbar($sp, $pdo); ?>
|
2016-08-29 19:37:49 +02:00
|
|
|
</nav>
|