Commit 5583ab03 authored by Gustav Arneving's avatar Gustav Arneving Committed by root

Fix broken links.

parent 86e6be9f
<?php include "base.php" ?>
<?php include "code/base.php" ?>
<!doctype html>
<html>
......@@ -21,16 +21,16 @@ if ($authenticated) { ?>
<p>Häfv nollan, nollan häfv!</p>
<?php } ?>
</div>
<img src="img/hf-logo.png" alt="HF Logo"/>
<img src="/content/img/hf-logo.png" alt="HF Logo"/>
</header>
<nav>
<ul>
<li><a href="/">Startsidan</a></li>
<li><a href="/content/medlem.php">Bli medlem</a></li>
<li><a href="/content/stadgar.php">Stadgar</a></li>
<li><a href="/content/regler.php">Reglemente</a></li>
<li class="facebook"><a href="https://www.facebook.com/hafvfakultet">Facebook</a></li>
<a href="/"><li>Startsidan</li></a>
<a href="/content/medlem.php"><li>Bli medlem</li></a>
<a href="/content/stadgar.php"><li>Stadgar</li></a>
<a href="/content/regler.php"><li>Reglemente</li></a>
<a href="https://www.facebook.com/hafvfakultet"><li class="facebook">Facebook</li></a>
<hr/>
<?php if($authenticated) { ?>
<li><a href="/code/logout.php">Log Out</a></li>
......
......@@ -31,7 +31,7 @@ nav {
header {
grid-area: header;
background-color: red;
background-image: url("white-plaster.png");
background-image: url("/content/img/white-plaster.png");
height: 100px;
}
......@@ -128,12 +128,12 @@ nav li {
display: flex;
align-items: center;
justify-content: center;
}
nav li a {
nav a {
text-decoration: none;
color: black !important;
}
nav li:hover {
......
......@@ -27,7 +27,8 @@ $times = $mysql->query(
ORDER BY time ASC")
or die($mysql->error);
$i = 1;
while ($row = $times->fetch_assoc()) { ?>
while ($row = $times->fetch_assoc()) { ?>
<tr>
<td><?= $i++ ?>
<td><?= $row["name"] ?></td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment