• Back
  • @php $menu = Session::get('menu'); $menu = json_decode($menu,true); @endphp @foreach($menu as $key=>$value)
  • {{$key}}
  • @foreach($value as $ls=>$list) @if(is_numeric($ls)) {!! $list['icon'] !!}{{$list['name']}} @else @php $index = strpos($ls,"#"); $icon = substr($ls,$index+1); $ls = substr($ls,0,$index); @endphp {!! $icon !!}{{prefixActive($index)}}{{$ls}}
      @foreach($list as $submenu=>$subList)
    • {{$subList['name']}}
    • @endforeach
    @endif @endforeach
  • @endforeach