gerarchia < 100) { $moduli = $_SESSION["utente"]->moduliDisponibili(); ob_start(); ?>
isSupportoOrRoot()) { if ($_SESSION["utente"]->hasSuperPowers()) { ?>

$tipo) { if (!empty($moduli[$tipologia])) { $tools = $moduli[$tipologia]; $style = []; $style["container"] = $style["tool"] = ""; if(! empty($tipo["style-container"]) && is_array($tipo["style-container"])) { foreach($tipo["style-container"] as $property => $value) { $style["container"] .= "{$property}: {$value};"; } } if(! empty($tipo["style-tool"]) && is_array($tipo["style-tool"])) { foreach($tipo["style-tool"] as $property => $value) { $style["tool"] .= "{$property}: {$value};"; } } ?>
"> "; } ?>
    prepare("SELECT * FROM b_tools_preferiti WHERE codice_utente = :codice_utente AND id_modulo = :id_modulo "); $sth->bindValue(':codice_utente', $_SESSION["utente"]->codice); uasort($tools, function($a, $b) { return $a['titolo'] <=> $b['titolo']; }); foreach ($tools as $id_tool => $tool) { if ($tool["completed"] != "N") { $active = false; $tool["preferito"] = 0; $sth->bindValue(':id_modulo', $id_tool); $sth->execute(); if($sth->rowCount() == 1) { $tool["preferito"] = 1; } if ($radice == $id_tool) { $active = true; } ?>
  • " style="" class="w-100 text-left"> "; } ?> " : "" ?> gerarchia === 1) ? "text-warning" : "" ?>"> " : "" ?>