Problem med menu i rammesystem
Jeg har et problem med en menu. jeg bruger et rammesystem (www.get-ready.dk) og da det jeg har i forvejen, gør så jeg ikke behøver at have designet i alle de dokumenter jeg har, så vil jeg også godt have det i denne menu. kan i hjælpe mig??---------------------------
<?
$menu_items = array(
"Main"=>array(
"Main"=> "index2.php",
"About"=> "about.php3",
"Contact Us"=> "contact.php3"
),
"Computere"=>array(
"Computere"=> "index2.php",
"Memorabilia"=> "memorabilia.wphp",
"Hawaiian Shirts"=> "h-shirts.wphp",
"Themed Shirts"=> "t-shirts.wphp",
"Beach Towels"=> "towels.wphp",
"Parrotphernalia"=> "parrotphernalia.wphp",
"Discography"=> "discography.php3"
),
"Spil"=>array(
"Spil"=> "index2.php",
"Hawaiian Shirts"=> "h-shirts.wphp",
"Island Dresses"=> "dresses.wphp",
"Shorts"=> "shorts.wphp",
"T-shirts"=> "t-shirts.php",
"Beach Towels"=> "towels.wphp",
"Sandals"=> "sandals.wphp",
"Key West Aloe"=> "kwaloe.wphp"
),
"Hvor"=>array(
"Hvor"=> "index2.php",
"T-shirts"=> "t-shirts.wphp",
"Beach Towels"=> "towels.wphp",
"Other"=> "csoul.wphp"
),
"Diverse"=>array(
"Diverse"=> "diverse.php",
"About Cobs"=> "cobinfo.php3",
"Specials"=> "specials.wphp",
"Custom Order"=> "custom.wphp",
"Replicas"=> "replicas.wphp"
)
);
for(reset($menu_items); $sub_menu=key($menu_items); next($menu_items)) {
print ( "<FONT face=verdana,arial color=#c0c0c0 size=\"-1\">");
print ( "<A
HREF=\"".$menu_items[$sub_menu][$sub_menu]. "?submenu=".$sub_menu. "\"><img src=pics/plus.png border=0> ");
print (key($menu_items[$sub_menu]). "</A><BR>");
if ($submenu==$sub_menu) {
for(reset($menu_items[$sub_menu]); $menu_item =
key($menu_items[$sub_menu]); next($menu_items[$sub_menu])) {
print ( "<FONT face=verdana,arial color=c0c0c0 size=\"1\">");
print ( " <A
HREF=\"".$menu_items[$sub_menu][$menu_item]. "?submenu=".$sub_menu. "\"><img src=pics/menupil.png border=0>");
print (key($menu_items[$sub_menu]). "</A><BR>");
print ( "</FONT>");
}
print( "</FONT>");
}
print( "<BR>");
}
?>
-------------------------
PS. Tag jer ikke at menu punkterne :)