Viewing file: bd.php (783 B) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php require_once('../../Connections/oab.php'); ?>
<?php
mysql_select_db($database_oab, $oab);
$query_rsmenu = "select nombre, tooltip, enlace, acceskey from menu_nivel1 where activo =1 order by orden";
$rsmenu = mysql_query($query_rsmenu, $oab) or die(mysql_error());
$row_rsmenu = mysql_fetch_assoc($rsmenu);
$totalRows_rsmenu = mysql_num_rows($rsmenu);
?>
<div id="mainMenu">
<?php do { ?>
<a class="activeMenuItem" style="left: 15px; bottom: -1px;"
id="mainMenuItem1"
href="<?php echo $row_rsmenu['enlace']; ?>"
title="<?php echo $row_rsmenu['tooltip']; ?>"
accesskey="<?php echo $row_rsmenu['acceskey']; ?>"><?php echo $row_rsmenu['nombre']; ?></a>
<?php } while ($row_rsmenu = mysql_fetch_assoc($rsmenu)); ?>
</div>
<?php
mysql_free_result($rsmenu);
?>
|