This repository has been archived by the owner on Oct 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.php
103 lines (102 loc) · 6.07 KB
/
menu.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
/**
* Created by PhpStorm.
* User: eentox
* Date: 5/5/17
* Time: 7:14 PM
*/
?>
<div class="navbar navbar-static-top navbar-inverse" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php "><?php echo $lang['navbar.home']; ?></a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<ul class="nav navbar-nav">
<li><a href="about.php"><span
class="glyphicon glyphicon-th-list"></span> <?php echo $lang['navbar.about_us']; ?></a>
</li>
<li><a href="pracovnici.php"><span class="glyphicon glyphicon-user"></span> <?php echo $lang['navbar.staff']; ?></a>
</li>
<li><a href="study.php"><span class="glyphicon glyphicon-education"></span> <?php echo $lang['navbar.study']; ?>
</a>
</li>
<li>
<a href="#" class="dropdown-togglex" data-toggle="dropdown"><span
class="glyphicon glyphicon-certificate"></span> <?php echo $lang['navbar.research']; ?>
<b
class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="research_projects.php"><?php echo $lang['navbar.projects']; ?></a></li>
<li>
<a href="#" class="dropdown-toggle"
data-toggle="dropdown"><?php echo $lang['navbar.research_topics']; ?><b
class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="kart.php"><?php echo $lang['navbar.electric_kart']; ?></a></li>
<li><a href="car.php"><?php echo $lang['navbar.independent_car']; ?></a></li>
<li><a href="cube.php"><?php echo $lang['navbar.led_cube']; ?></a></li>
<li><a href="biomech.php"><?php echo $lang['navbar.biomechatronics']; ?></a></li>
</ul>
</li>
</ul>
</li>
<li><a href="index.php"><span class="glyphicon glyphicon-envelope"></span> <?php echo $lang['navbar.news']; ?>
</a></li>
<li>
<a href="#" class="dropdown-togglex" data-toggle="dropdown"><span
class="glyphicon glyphicon-check"></span> <?php echo $lang['navbar.activities']; ?><b
class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="gallery.php"><?php echo $lang['navbar.photos']; ?></a></li>
<li><a href="video.php"><?php echo $lang['navbar.video']; ?></a></li>
<li><a href="media.php"><?php echo $lang['navbar.media']; ?></a></li>
<li>
<a href="#" class="dropdown-toggle"
data-toggle="dropdown"><?php echo $lang['navbar.our_websites']; ?><b
class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="http://www.e-mobilita.fei.stuba.sk"><?php echo $lang['navbar.electromobility']; ?></a></li>
</ul>
</li>
</ul>
</li>
<li><a href="contact.php"><span
class="glyphicon glyphicon-map-marker"></span> <?php echo $lang['navbar.contact']; ?>
</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="<?php echo $lang['lang_link'] ?>"><span
class="glyphicon glyphicon-globe"></span> <?php echo $lang['navbar.lang_change']; ?></a>
</li>
<?php
if (isset($_SESSION['name'])) {
echo "<li><a href=\"#\" class=\"dropdown-togglex\" data-toggle=\"dropdown\"><span class=\"glyphicon glyphicon-user\"></span> " . $_SESSION['name'] . "<b class=\"caret\"></b></a>";
echo "<ul class=\"dropdown-menu\">";
echo "<li><a href=\"intranet_pedagogika.php\">" .$lang['intranet.pedagogy'] . "</a></li>";
echo "<li><a href=\"intranet_doktorandi.php\">" .$lang['intranet.inceptors'] . "</a></li>";
echo "<li><a href=\"intranet_publikacie.php\">". $lang['intranet.publications'] . "</a></li>";
echo "<li><a href=\"intranet_sluzobne.php\">". $lang['intranet.business'] . "</a></li>";
echo "<li><a href=\"intranet_nakupy.php\">". $lang['intranet.purchases'] . "</a></li>";
echo "<li><a href=\"intranet_dochadzka.php\">". $lang['intranet.attendance'] . "</a></li>";
echo "<li><a href=\"intranet_rozdelenie.php\">". $lang['intranet.distribution'] . "</a></li>";
echo "<li><a href=\"video_managment.php\">" . $lang['intranet.video_management'] . "</a></li>";
echo "<li role=\"separator\" class=\"divider\"></li>";
echo "<li><a href=\"intranet_logout.php\"><span class='glyphicon glyphicon-log-out'></span> " . $lang['navbar.logout'] . "</a></li>";
echo "</ul></li>";
}
else {
echo "<li><a href=\"intranet_login.php\"><span class=\"glyphicon glyphicon-log-in\"></span> " . $lang['navbar.login'] . "</a></li>";
}
?>
</ul>
</div>
</div>
</div>