Fix /nerdepitsa and /anime navbar
This commit is contained in:
parent
e88411eea4
commit
b016d27adb
|
@ -1,11 +1,8 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<?php
|
<?php
|
||||||
date_default_timezone_set('Europe/Oslo');
|
require_once dirname(dirname(__DIR__)) . implode(DIRECTORY_SEPARATOR, ['', 'inc', 'include.php']);
|
||||||
setlocale(LC_ALL, 'nb_NO');
|
|
||||||
require __DIR__ . '/../../src/_autoload.php';
|
|
||||||
require __DIR__ . '/../../sql_config.php';
|
|
||||||
use \pvv\side\Agenda;
|
use \pvv\side\Agenda;
|
||||||
?>
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
<html lang="no">
|
<html lang="no">
|
||||||
<title>Sosialverkstedet</title>
|
<title>Sosialverkstedet</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
@ -45,12 +42,7 @@ $nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<nav><ul>
|
<nav>
|
||||||
<li><a href="../">hjem</a></li>
|
<?= navbar(1, 'aktiviteter'); ?>
|
||||||
<!--<li><a href="../prosjekt/">prosjekter</a></li>-->
|
<?= loginbar($sp, $pdo); ?>
|
||||||
<li><a href="../kalender/">kalender</a></li>
|
|
||||||
<li class="active"><a href="../aktiviteter/">aktiviteter</a></li>
|
|
||||||
<li><a href="../prosjekt/">prosjekter</a></li>
|
|
||||||
<li><a href="../kontakt/">kontakt</a></li>
|
|
||||||
<li><a href="../pvv/">wiki</a></li>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<?php
|
<?php
|
||||||
date_default_timezone_set('Europe/Oslo');
|
require_once dirname(dirname(__DIR__)) . implode(DIRECTORY_SEPARATOR, ['', 'inc', 'include.php']);
|
||||||
setlocale(LC_ALL, 'nb_NO');
|
|
||||||
require __DIR__ . '/../../src/_autoload.php';
|
|
||||||
require __DIR__ . '/../../sql_config.php';
|
|
||||||
use \pvv\side\Agenda;
|
use \pvv\side\Agenda;
|
||||||
?>
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
<html lang="no">
|
<html lang="no">
|
||||||
<title>Sosialverkstedet</title>
|
<title>Sosialverkstedet</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
@ -24,8 +21,6 @@ $nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
|
|
||||||
|
|
||||||
<h2><img src="../sosiale/nerdepitsa.jpg"><em><?= $nextEvent->getRelativeDate()?></em> Nerdepitsa</h2>
|
<h2><img src="../sosiale/nerdepitsa.jpg"><em><?= $nextEvent->getRelativeDate()?></em> Nerdepitsa</h2>
|
||||||
<ul class="subtext">
|
<ul class="subtext">
|
||||||
<li>Tid:
|
<li>Tid:
|
||||||
|
@ -47,11 +42,7 @@ $nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<nav><ul>
|
<nav>
|
||||||
<li><a href="../">hjem</a></li>
|
<?= navbar(1, 'aktiviteter'); ?>
|
||||||
<!--<li><a href="../prosjekt/">prosjekter</a></li>-->
|
<?= loginbar($sp, $pdo); ?>
|
||||||
<li class="active"><a href="../aktiviteter/">aktiviteter</a></li>
|
|
||||||
<li><a href="../prosjekt/">prosjekter</a></li>
|
|
||||||
<li><a href="../kontakt/">kontakt</a></li>
|
|
||||||
<li><a href="../pvv/">wiki</a></li>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in New Issue