<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Men&uacute;</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../estilo1.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="170"  border="0" cellpadding="1" cellspacing="1" bgcolor="#FFFFCC">
  <tr>
    <td colspan="2" bgcolor="#FFFFCC"><div align="center" class="menu_enc"><img src="../images/lbl_menu_1.gif" width="55" height="18"><br>
      <br>
    </div> </td>
  </tr>
  <tr>
    <td width="1%" height="15" bgcolor="#FFFFCC" class="menu_opcion"><div align="left"><img src="../images/cuad_1.png" width="9" height="9" border="0"></div></td>
    <td width="99%" height="15" align="left" valign="top" bgcolor="#FFFFCC" class="menu_opcion"><a href="inicio.php" class="menu_opcion"><strong>P&aacute;gina de inicio </strong></a></td>
  </tr>
<?
include("../fnc.php");
$qc=mysql_query("select * from me_categorias where tipo_menu = 'ME' order by orden");
while($ic=mysql_fetch_array($qc)){
?>  
  <tr bgcolor="#FFFFCC">
    <td height="15" colspan="2" class="titulo_seccion_mn"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="94%" bgcolor="#FFCC00"> &nbsp;&nbsp;<?=$ic[categoria];?></td>
        <td width="6%" bgcolor="#FFFFCC"><img src="../images/tab_menu.gif" width="10" height="15"></td>
      </tr>
    </table></td>
  </tr>
  <?
  $qop=mysql_query("select * from me_opciones where categoria = {$ic[id]} order by orden");
  while($iop=mysql_fetch_array($qop)){
  ?>
  <tr>
    <td height="15" bgcolor="#FFFFCC" class="menu_opcion"><div align="left"><img src="../images/cuad_1.png" width="9" height="9" border="0"></div></td>
    <td align="left" valign="top" bgcolor="#FFFFCC" class="menu_opcion"><a href="<?=$iop[link];?>" class="menu_opcion"><strong><?=$iop[opcion];?></strong></a></td>
  </tr>
  <?
  }//fin de  las opciones de la categoria
  ?>
<?
} // fin de las categorias del menu
?>  
<tr valign="bottom" bgcolor="#FFFFCC">
    <td height="15"><img src="../images/checked_out.png" width="16" height="16" border="0"></td>
    <td height="15" align="left"><a href="logout.php" class="menu_opcion"><strong><br>
    SALIR DEL SISTEMA</strong></a></td>
</tr>
</table>
</body>
</html>
