"text", 1 => "gallery", 2 => "products", 3 => "products.category_by_menu", 4 => "products.products_by_category", 5 => "products.info", ); // What modules need lightbox JS includes $js_lightbox = Array(1, 4, 5); // Generate Menu $res = list_menu(); while ($menu_db = mysql_fetch_array($res)) { $menu_item[] = $menu_db; if ($menu_db["folder"] == $arr_menu[0]) { $_content = Array( "folder" => $menu_db["folder"], "module_id" => $menu_db["module_id"], "module_file" => $_modules[ $menu_db["module_id"] ], "params" => explode(';', $menu_db["module_params"]) ); } if ($menu_db["submenu_id"] == 1) { $res2 = list_prodcat($menu_db["id"]); while ($prodcat_db = mysql_fetch_array($res2)) $prodcat_item[ $menu_db["id"] ][] = $prodcat_db; } } // Header image & swf music $himage = 'header'.$_content["folder"].'.jpg'; $mswf = 'music'.$_content["folder"].'.xspf'; // Generate main dynamic content $_content_html = include_module($_content); $js_lightbox_include = false; for ($q=1; $q<=sizeof($_current_module); $q++) if (in_array($_current_module[$q]["module_id"], $js_lightbox)) $js_lightbox_include = true; ?> _META_TITLE - Noleggio Costumi Carnevale Venezia - Carnival Costumes in Venice