permission($radice)) { include_once($root."/backend/layout/top.php"); $bind = []; $sql = "SELECT codice FROM b_cpn WHERE codice > 0 "; if ($_SESSION["utente"]->gerarchia > 10) { $ids = Utente::getPermissionsInModulo($_SESSION["ente"]->codice,$_SESSION["utente"]->codice,"cpn"); $ids = implode(",",$ids); $sql .= " AND codice IN ({$ids}) "; } if (!$_SESSION["utente"]->fromHere()) { $sql .= " AND codice_ente = :codice_ente "; $bind[":codice_ente"] = $_SESSION["utente"]->codice_ente; } $sql_stato = $sql . " AND stato = :stato "; $risultato = $pdo->go($sql,$bind); $stati = attiCPN::getStati(); ?>

rowCount() > 0) { ?>
gerarchia === 1) { ?> readOnly) { ?>
rowCount() > 0) { ?>

'; die(); } ?>