Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hugo Hörnquist
hf-webbsida
Commits
5583ab03
Commit
5583ab03
authored
Sep 20, 2019
by
Gustav Arneving
Committed by
root
Sep 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken links.
parent
86e6be9f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
content/head.php
content/head.php
+7
-7
content/style/style.css
content/style/style.css
+3
-3
index.php
index.php
+2
-1
No files found.
content/head.php
View file @
5583ab03
<?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>
...
...
content/style/style.css
View file @
5583ab03
...
...
@@ -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
{
...
...
index.php
View file @
5583ab03
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment