-
Notifications
You must be signed in to change notification settings - Fork 2
/
menu.php
54 lines (52 loc) · 1.56 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
<?php
$menuDisciplinas = "";
$menuRequisitos = "";
$menuProfessores = "";
$mapa = "";
$calendario = "";
$controle = "";
if (isset($menuSelected) && $menuSelected == 3) {
$menuProfessores = "selected";
} else if (isset($menuSelected) && $menuSelected == 2) {
$menuRequisitos = "selected";
} else if (isset($menuSelected) && $menuSelected == 4){
$mapa = "selected";
}else if (isset($menuSelected) && $menuSelected == 5){
$controle = "selected";
}else if (isset($menuSelected) && $menuSelected == 6){
$calendario = "selected";
}else{
$menuDisciplinas = "selected";
}
?>
<div id="menu">
<h1>BCCS</h1>
<ul>
<a href="index.php">
<li class="<?= $menuDisciplinas ?>">Disciplinas</li>
</a>
<a href="prerequisitos.php">
<li class="<?= $menuRequisitos ?>">Pré-requisitos</li>
</a>
<a href="professores.php" >
<li class="<?= $menuProfessores ?>">Professores</li>
</a>
<a href="mapa.php">
<li class="<?= $mapa ?>">Mapa</li>
</a>
<a href="calendario.php">
<li class="<?= $calendario ?>">Calendário</li>
</a>
<!-- <li>Atividades Desenvolvidas</li> -->
<?php
if (isset($_SESSION['ativo']) && $_SESSION['ativo'] == 1){
include("aux-files/controle.html");
}
?>
<a href="http://dcomp.sorocaba.ufscar.br/wp-content/docs/projetoPedagogicoBCCS-2010.pdf" target="_blank">
<li>Projeto Pedagógico (PDF)</li>
</a>
</ul>
</div>
<i class="toggleMenu fa fa-bars"></i>
<div class="backdrop"></div>