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

Fix broken links.

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