/* $menu=new Menu('cz'); $menu->out_menu(0); foreach ($menu->menu_array as $m) { if ($m[id]==1) { if ($m["color_background"]) { print 'div#menu li.menuround'.$m["color_background"].':hover a { color:#'.$m["color_background"].';}'; print 'div#menu li.menuon'.$m["color_background"].' a { color:#'.$m["color_background"].';}'; print 'div#menu li.menuon'.$m["color_background"].' { background-color:#fff;}'; } #print 'div#menu li.menuround'.$m["color_background"].' a { color:#'.$m["color_background"].';}'; } if ($m[up]==1) { if ($m["color_background"]) { print 'div#menu li.menuround'.$m["color_background"].':hover a { color:#'.$m["color_background"].';}'; print 'div#menu li.menuon'.$m["color_background"].' a { color:#'.$m["color_background"].';}'; print 'div#menu li.menuon'.$m["color_background"].' { background-color:#fff;}'; print 'div#menu_hp ul li.menuimage'.$m["id"].' { background-image:url(\'/progres/lib/menu_image.php?id='.$m["image_logo_id"].'\');}'; print 'div#menu_hp ul li.menuimage'.$m["id"].' a { color:#'.$m["color_background"].';}'; } print "\n"; if ($m[id]==18) print 'div#menu_hp ul li.menuimage'.$m["id"].' a { color:#fff;}'; } print "\n"; } $menusel=new Menu('cz'); $menusel->out_selected_menu($mid); if (!$menusel->selected_menu["image_logo_id2"]) $menusel->out_selected_menu($menusel->selected_menu["up"]); if (!$menusel->selected_menu["image_logo_id2"]) $menusel->out_selected_menu($menusel->selected_menu["up"]); if ($menusel->selected_menu["image_logo_id2"]) print 'div#picture { background-image:url(\'/progres/lib/menu_image.php?id='.$menusel->selected_menu["image_logo_id2"].'\');}'; # if ($m["id"]==$mid) print 'div#picture { background-image:url(\'/progres/lib/menu_image.php?id='.$m["image_logo_id2"].'\');}'; if ($mid==8) print 'div.resto div#content-left div.item { margin-left:0px;}'; */ ?>