2016-08-15 21:04:16 +02:00
|
|
|
<!DOCTYPE html>
|
2016-08-26 22:16:50 +02:00
|
|
|
<?php
|
|
|
|
date_default_timezone_set('Europe/Oslo');
|
|
|
|
setlocale(LC_ALL, 'no_NO');
|
|
|
|
require __DIR__ . '/../../src/_autoload.php';
|
|
|
|
require __DIR__ . '/../../sql_config.php';
|
2016-08-26 23:14:46 +02:00
|
|
|
use \pvv\side\Agenda;
|
2016-08-26 22:16:50 +02:00
|
|
|
?>
|
2016-08-18 00:25:47 +02:00
|
|
|
<html lang="no">
|
2016-08-15 21:04:16 +02:00
|
|
|
<title>Sosialverkstedet</title>
|
|
|
|
<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">
|
|
|
|
<link rel="stylesheet" href="../css/normalize.css">
|
|
|
|
<link rel="stylesheet" href="../css/style.css">
|
|
|
|
<link rel="stylesheet" href="../css/events.css">
|
|
|
|
|
|
|
|
<nav>
|
2016-08-18 00:30:59 +02:00
|
|
|
<li><a href="../index.php">hjem</a></li>
|
2016-08-15 21:04:16 +02:00
|
|
|
<li><a href="../kurs/index.html">kurs</a></li>
|
|
|
|
<li><a href="../prosjekt/index.html">prosjekt</a></li>
|
|
|
|
<li class="active"><a href="../sosiale/index.html">sosiale</a></li>
|
|
|
|
<li><a href="../wiki/index.html">wiki</a></li>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<header>Sosial­verk­stedet</header>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
|
2016-08-26 22:16:50 +02:00
|
|
|
<?php
|
|
|
|
$activity = new \pvv\side\social\NerdepitsaActivity;
|
|
|
|
$nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
|
|
|
|
?>
|
|
|
|
|
2016-08-15 21:04:16 +02:00
|
|
|
<article>
|
2016-08-26 22:16:50 +02:00
|
|
|
|
|
|
|
|
2016-08-26 22:58:20 +02:00
|
|
|
<h2><img src="../sosiale/nerdepitsa.jpg"><em><?= $nextEvent->getRelativeDate()?></em> Nerdepitsa</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:16:50 +02:00
|
|
|
<li>Sted:
|
2016-08-26 23:17:59 +02:00
|
|
|
<strong>
|
|
|
|
<?= $nextEvent->getLocation();?>
|
|
|
|
</strong>
|
2016-08-26 22:16:50 +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>
|
|
|
|
|
2016-08-26 23:46:41 +02:00
|
|
|
<?= implode($nextEvent->getDescription(), "<p>\n</p>")?>
|
2016-08-15 21:04:16 +02:00
|
|
|
|
|
|
|
<p><a class="btn" href="#">Påminn meg</a>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
</main>
|