= array_filter($instances_json['instances'], fn($n) => $n['librey']); $librex_instances = array_filter($instances_json['instances'], fn($n) => !$n['librey']); function list_instances($instances) { echo "<div>"; echo "<a " . (!isset($opts->engine) ? "selected" : ""; ?> ><br> <label><?php printtext("settings_frontends_disable");?></label> <input type="checkbox" name="safe_search" <?php echo $opts->safe_search ? "checked" : ""; ?> ><br> <label><?php printtext("settings_safe_search");?></label> <input type="checkbox" name="safe_search" <?php echo $opts->disable_frontends ? "checked" : ""; ?> ><br> <label><?php printtext("settings_safe_search");?></label> <input type="checkbox"