-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar_main.php
33 lines (32 loc) · 1.03 KB
/
navbar_main.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
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="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"><?= $SYSTEMNAME ?></a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<?php
if(isset($_SESSION['tipo'])) $type = $_SESSION['tipo'];
else $type = null;
switch ($type) {
case 'bank':
require('bank_menu.php');
break;
case 'conf':
require('conf_menu.php');
break;
case 'root':
require('root_menu.php');
break;
default:
require('index_menu.php');
}
?>
</div><!--/.nav-collapse -->
</div>
</nav>