$w){ $i=$i+1; $mymps_admin_menu .= $w[style] != 'more' ? '
'.$w[name].'
' : ''; if(is_array($w[group])){ foreach($w[group] as $e=>$r){ if($i < 7){ $mymps_admin_menu .= "
"; } else { $mymps_admin_menu .= "
"; } foreach ($w[group][$e] as $r => $t){ if(is_array($t)){ $mymps_admin_menu .= "
    "; $mymps_admin_menu .= "
    ".$r."
    "; foreach ($w[group][$e][$r] as $y => $u){ $mymps_admin_menu .= "
  • ".$y."
  • "; } $mymps_admin_menu .= "
"; } } $mymps_admin_menu .= "
"; } } $mymps_admin_menu .= '
'; } echo $mymps_admin_menu; ?>