permission("utenti",$_GET["codice"]) || $_SESSION["utente"]->codice == $_GET["codice"])) { $bind = array(); $bind[":codice"] = $_GET["codice"]; $sql = "SELECT b_utenti.* FROM b_utenti WHERE b_utenti.codice = :codice "; $ris_utenti = $pdo->go($sql,$bind); if (isset($ris_utenti) && $ris_utenti->rowCount() === 1) { $record = $ris_utenti->fetch(PDO::FETCH_ASSOC); } else if (empty($_GET["codice"]) && $_SESSION["utente"]->permission("utenti")) { $record = get_campi("b_utenti"); if (isset($_SESSION["ente"])) { $record["ruolo"] = "USR"; } } if (!empty($record)) { $ruoli = utente::ruoli(); $gerarchia = $ruoli[$record["ruolo"]]["gerarchia"] ?? 0; $_change_cf = true; if(($_SESSION["utente"]->authenticationLevel == 2 || $_SESSION["utente"]->publicSSO == "SPID") && $record["codice"] == $_SESSION["utente"]->codice) { $_change_cf = false; } if ($_SESSION["utente"]->gerarchia <= $gerarchia || $record["codice"] == $_SESSION["utente"]->codice || empty($record["codice"])) { if ($record["codice"] == $_SESSION["utente"]->codice) { ?>
checkSPID()) { ?>
">

" type="text" class="form-control" id="email" value="" title="" rel="S;2;100;E;/profilo/check.php">
" rel="" >
style="display:none" id="check-password" title=" " rel="" >
gerarchia < 9) { ?>
>
gerarchia <= 10) { ?>
id="card-collaborazioni">

codice; $sql .= " AND codice_ente IN (SELECT codice FROM b_enti WHERE codice = :codice_ente OR sua = :codice_ente)"; if ($_SESSION["utente"]->gerarchia > 9) { if (!$_SESSION["utente"]->fromHere()) { $bind[":codice_ente"] = $_SESSION["utente"]->codice_ente; } $sql .= " AND codice_ente NOT IN (SELECT codice FROM b_enti WHERE sua = :codice_ente AND dominio IS NOT NULL AND dominio <> '' AND attivo = 'S') "; } } $collaborazioni = $pdo->go($sql,$bind); if ($collaborazioni->rowCount() > 0) { while($collaborazione = $collaborazioni->fetch(PDO::FETCH_ASSOC)) { include(__DIR__."/collaborazione.php"); } } ?>
codice) { ?>



0) { ?>

" title="" rel="S;2;50;A">
" title="" rel="S;2;50;A">
type="text" class="form-control " id="cf" value="" title="" rel="isSupportoOrRoot()) ? "S" : "N" ?>;16;16;CF">
" title="" rel="N;2;255;A">
" rel="N;1;255;A" value="">
" rel="N;1;255;A" value="">
" rel="N;1;255;A" value="">
" title="" rel="N;2;255;A">
" title="" rel="N;2;20;A">
" title="" rel="N;2;255;E">