<div id="tool-items-search" data-select-type="checkbox" data-hideonstart="oui" class="row no-gutters form-inline pb-1" style="display: none;" data-hideonstart="oui">
    <input id="live-search" type="text" class="form-control form-control-usm mr-sm-2" placeholder="enter a few letters">
    <?php
    foreach($structure as $tag=>$c){
        if(isset($c['@attributes']['afficher']) && !in_array($c['@attributes']['type'],array('image','file'))){
            echo "<div class=\"form-check form-control-usm mr-sm-2\">
                        <input class=\"form-check-input\" type=\"checkbox\" data-critere=\"".$tag."\" id=\"".$tag."\">
                        <label class=\"form-check-label\" for=\"".$tag."\">".$c['@attributes']['titre']."</label> 
                    </div>";
        }
    } 
    ?>
</div>