<?php
 
/*
 
 * Lou_Menu.class
 
 * *Lou_index file
 
 * @author António Lourenço
 
 * version 1.0
 
 * 9/10/2014
 
 */
 
 
    require_once("Lou_menu.class.php"); 
 
    $menu = new MENU(); 
 
    //$menu->openHtmlTest(); // this exists just for test the class. 
 
     
 
 
    
 
$menu->addMenuName(HOME);
 
    $menu->addMenuImg("Lou_imagem.php?category=HOME");
 
      $menu->addSubMenu(Home,"index.php?","_top");
 
$menu->buildMenu();
 
    
 
$menu->addMenuName(Noticias);
 
    $menu->addMenuImg("Lou_imagem.php?category=NOTICIAS");
 
      $menu->addSubMenu(Hardware,"index.php?","_top");
 
    $menu->addSubMenu(Software,"index.php?","_top");
 
    $menu->addSubMenu(Mobile,"index.php?","_top");
 
    $menu->addSubMenu(Internet,"index.php?","_top");
 
    $menu->addSubMenu(App,"index.php?","_top");
 
    $menu->addSubMenu(Tecnologia,"index.php?","_top");
 
    $menu->addSubMenu(Jogos,"index.php?","_top");
 
$menu->buildMenu();
 
 
 
$menu->addMenuName(LOGIN);
 
    $menu->addMenuImg("Lou_imagem.php?category=LOGIN");        
 
    $menu->addSubMenu(login,"index.php?","_top");
 
    $menu->addSubMenu(Registo,"index.php?","_top");
 
    $menu->addSubMenu(EsqueceuSenha,"index.php?","_top");
 
$menu->buildMenu();    
 
    
 
$menu->addMenuName(Contactos);
 
      $menu->addMenuImg("Lou_imagem.php?category=CONTACTOS");
 
      $menu->addSubMenu(Contactos,"index.php?","_top"); 
 
$menu->buildMenu();
 
    /* --------------------------- */     
 
    // Show all builded menu. 
 
    @$menu->showMenu($_GET['selected_menu']); // this parameter maintain menu on the opened one! 
 
    /* --------------------------- */ 
 
    //@$menu->closeHtmlTest($_GET["argument"]); 
 
  ?>
 
</fieldset>
 
 
 
 |