-
Notifications
You must be signed in to change notification settings - Fork 3
/
header.php
73 lines (67 loc) · 3.28 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
require_once './functions.php';
$loggedIn = isLoggedIn();
?>
<div class="">
<div class="navigation-bar bg-NACOSS-UNN">
<div class="container">
<div class="navigation-bar-content">
<a class="element bg-hover-dark" href="index.php">NACOSS UNN</a>
<span class="element-divider"></span>
<a class="element1 pull-menu" href="#"></a>
<ul class="element-menu">
<li class="on-phone on-tablet no-desktop">
<?php if ($loggedIn) { ?>
<a class="bg-hover-dark" href="profile.php">Profile</a>
<?php } else { ?>
<a class="bg-hover-dark" href="login.php">Login | Register</a>
<?php } ?>
</li>
<li>
<a class="bg-hover-dark" target="_blank" href="#">Forum</a>
</li>
<li>
<a class="bg-hover-dark" href="prospectus.php">Prospectus</a>
</li>
<?php if ($loggedIn) { ?>
<li>
<a class="bg-hover-dark" href="library.php">Library</a>
</li>
<?php } ?>
<li>
<a class="bg-hover-dark" href="news.php">News</a>
</li>
<li>
<a class="bg-hover-dark" target="_blank" href="#">Alumni</a>
</li>
<li>
<a class="bg-hover-dark" href="contact.php">Contact</a>
</li>
<li>
<a class="bg-hover-dark" href="about.php">About Us</a>
</li>
</ul>
<div class="no-phone no-tablet">
<span class="element-divider place-right"></span>
<?php if ($loggedIn) { ?>
<a href="profile.php" title="Profile" class="element bg-transparent bg-hover-dark place-right">
<i class="icon-user"></i>   <?= getDisplayName() ?>
</a>
<?php } else { ?>
<a href="login.php" title="Login or Register" class="element bg-transparent bg-hover-dark place-right">
Login | Register
</a>
<?php } ?>
<!--
<span class="element-divider place-right"></span>
<a class="element place-right fg-lightRed bg-hover-lightRed fg-hover-white" href="#" target="_blank">
<i class="icon-google-plus"></i>
</a>
<a class="element place-right fg-darkBlue bg-hover-darkBlue fg-hover-white" href="#" target="_blank">
<i class="icon-facebook"></i>
</a>-->
</div>
</div>
</div>
</div>
</div>