public function menuNivel2($xb) { $subElementos = new menu(); switch ($xb) { case 0: $subElementos->cargarElemento("fa-check-square-o", "../../0/home/estatus", " Activar/Desactivar"); $subElementos->cargarElemento("fa-bug", "../../0/analisis/index", " Análisis"); return $subElementos->mostrar(); break; case 1: $subElementos->cargarElemento("fa-search", "../../0/producto/inve", " Inventario"); $subElementos->cargarElemento("fa-gift", "../../0/producto/index", " Nuevos productos"); return $subElementos->mostrar(); break; case 3: $subElementos->cargarElemento("fa-list", "../../0/home/gestion_usuario", " Gestion de usuarios"); $subElementos->cargarElemento("fa-cloud-download", "../../includes/respaldo", " Respaldar"); $subElementos->cargarElemento("fa-cloud-upload", "../../0/home/restaurar", " Restaurar"); return $subElementos->mostrar(); break; } }
"><?php echo $Apodo; ?> </span> </div> <div class="clear"></div> <div class="grid_12"> <ul id="css3menu1" class="topmenu" style="margin:15px 0px 15px 0px;"> <li class="topfirst"><a href="<?php echo $url . $directory; ?> /" style="height:15px;line-height:15px;" class="pressed">Inicio</a></li> <?php foreach ($menu->mostrar($Nivel) as $m) { ?> <li class="topmenu"><a href="#" style="height:15px;line-height:15px;"><span><?php echo $m['Nombre']; ?> </span></a><?php if ($m['SubMenu']) { ?> <ul><?php $i = 0; foreach ($submenu->mostrar($Nivel, $m['CodMenu']) as $sm) { $i++; if ($i == 1) { ?> <li class="subfirst"><a href="<?php echo $folder;
<li><a href="<?php echo $folder; ?> productos-servicios.php">Productos y Servicios</a></li> <li><a href="<?php echo $folder; ?> reservas.php">Reservas</a></li> <li class="divider"></li> <?php if ($_SESSION['LoginSistema'] == "1") { include_once "class/menu.php"; include_once "class/submenu.php"; $menu = new menu(); $submenu = new submenu(); foreach ($menu->mostrar($_SESSION['Nivel']) as $m) { ?> <li class="dropdown"> <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown"><?php echo $m['nombre']; ?> </a> <ul class="dropdown-menu dropdown-menu-left"> <?php foreach ($submenu->mostrar($_SESSION['Nivel'], $m['codmenu']) as $sm) { ?> <li><a href="<?php echo $folder; echo $m['url']; echo $sm['url']; ?>