// Administrador istituci�n $result = $db->consulta("select * \n from menup as a \n where tbsistema_id=1 and\n estado='A' and\n tbrol_id<='{$rol}'\n order by orden"); } elseif ($rol == 4) { // Administrador nacional $result = $db->consulta("select * \n from menup as a \n where tbsistema_id=1 and\n estado='A'\n order by orden"); } ?> <span class="preload1"></span> <span class="preload2"></span> <ul id="nav"> <?php // desplegar las opciones de primer nivel 1er. // id_sistema = id que le corresponde como sistema de informaci�n // //$result = $db->consulta("select * from menup as a where id_sistema=1 and estado='A' order by orden"); while ($row = $db->fetch_array($result)) { $id_menu = $row['id_mp']; $menu = htmlentities($row['menup']); $url = $row['url_mp']; ?> <li class="top"><a href="<?php echo $url; ?> " id="" class="top_link"> <span <?php if ($url == "") { echo "class='down'"; } ?> > <?php echo $menu;