function header_test(array $array)
{
    $reutn_string = ' ';
    $navmenu_ul = array();
    foreach ($array as $key => $value) {
        if (!array_key_exists('class_menu', $value)) {
            $value['class_menu'] = " ";
        }
        if (!array_key_exists('class_li', $value)) {
            $value['class_li'] = " ";
        }
        if (!array_key_exists('class_li_a', $value)) {
            $value['class_li_a'] = " ";
        }
        if (!array_key_exists('class_li_a_ul', $value)) {
            $value['class_li_a_ul'] = " ";
        }
        if (!array_key_exists('class_li_a_ul_li', $value)) {
            $value['class_li_a_ul_li'] = " ";
        }
        if (!array_key_exists('class_li_a_ul_li_a', $value)) {
            $value['class_li_a_ul_li_a'] = " ";
        }
        if (is_array($value)) {
            $navmenu_pic = \Plus\HTML6::i(['content' => '', 'class' => "fa fa-" . $value['icon']]);
            $navmenu_li_not = "";
            if (array_key_exists('sub', $value)) {
                if (is_array($value['sub'])) {
                    $navmenu_sub_li = "";
                    $caret = \Plus\HTML6::span(['content' => '', 'class' => "caret"]);
                    foreach ($value['sub'] as $key2 => $value2) {
                        $navmenu_sub_pic = \Plus\HTML6::i(['content' => '', 'class' => "fa fa-" . $value2['icon']]);
                        $navmenu_sub_a = \Plus\HTML6::a(['content' => $navmenu_sub_pic . ' ' . $value2['title'], 'class' => $value['class_li_a_ul_li_a']]);
                        $navmenu_sub_li .= \Plus\HTML6::li(['content' => $navmenu_sub_a, 'class' => $value['class_li_a_ul_li']]) . ' <li role="separator" class="divider"></li>';
                    }
                    $navmenu_sub_ul = \Plus\HTML6::ul(['content' => $navmenu_sub_li, 'class' => "dropdown-menu " . $value['class_li_a_ul']]);
                    $navmenu_btn_has = \Plus\HTML6::a(['content' => $navmenu_pic . '<br>' . $key . ' ' . $caret, 'class' => "dropdown-toggle w3-btn w3-white w3-border " . $value['class_li_a'], "data-toggle" => "dropdown", 'role' => "button", "aria-haspopup" => "true", "aria-expanded" => "false", "href" => "#"]);
                    $navmenu_ul[] = \Plus\HTML6::li(['content' => $navmenu_btn_has . $navmenu_sub_ul, "class" => "dropdown" . $value['class_li_a_ul_li']]);
                }
            } else {
                $navmenu_btn_not = \Plus\HTML6::a(['content' => $navmenu_pic . '<br>' . $key, 'class' => "w3-btn w3-white w3-ripple  w3-border"]);
                $navmenu_li_not .= \Plus\HTML6::li(['content' => $navmenu_btn_not, 'class' => $value['class_li']]);
                $navmenu_ul[] = $navmenu_li_not;
            }
        }
    }
    $navmenu_ul = \Plus\HTML6::ul(['content' => implode(' ', $navmenu_ul), 'class' => 'nav navbar-nav ' . $value['class_menu']]);
    $nav_div = \Plus\HTML6::div(['content' => $navmenu_ul, "class" => "collapse navbar-collapse   ", "id" => "collapse-1"]);
    //$navmenu_ul
    return $nav_div;
}
<body >



<div class="visible-lg check"></div>

<span class="fa-water" ></span>
<div class='body '>
@yield('content')
</div>
<?php 
$def_content_sub1 = \Plus\HTML6::tag(['tag' => 'feGaussianBlur', 'in' => 'SourceGraphic', 'stdDeviation' => '12']);
$def_content_sub2 = \Plus\HTML6::tag(['tag' => 'feColorMatrix', 'in' => 'blur', 'mode' => 'matrix', 'values' => '1 0 0 0 0    0 1 0 0 0   0 0 1 0 0   0 0 0 18 -7', 'result' => 'goo']);
$def_content_sub3 = \Plus\HTML6::tag(['tag' => 'feBlend', 'in' => 'SourceGraphic', 'result' => 'mix']);
$def_content = \Plus\HTML6::tag(['tag' => 'filter', 'id' => 'goo', 'content' => $def_content_sub1 . $def_content_sub2 . $def_content_sub3]);
$def = \Plus\HTML6::tag(['tag' => 'defs', 'content' => $def_content]);
$svg = \Plus\HTML6::tag(['tag' => 'svg', 'content' => $def, 'version' => '1.1', 'xmlns' => 'http://www.w3.org/2000/svg']);
for ($i = 0; $i < 5; $i++) {
    $dot[] = (string) \Plus\HTML6::div(['content' => '', 'class' => 'cssload-dot']);
}
$cssload_dots_content = implode(' ', $dot) . $svg;
echo \Plus\HTML6::div(['content' => $cssload_dots_content, 'class' => 'cssload-dots']);
?>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<script>
@yield('js')
</script>

</body>
</html>