permission($radice,$_GET["codice"],$id_modulo) && $_SESSION["utente"]->permission($cmd_info["modulo_riferimento"])) { $codice_round = $_GET["codice_round"] ?? NULL; $gara = gara::init($_GET["codice"],$codice_round); if (!empty($gara)) { $record = $gara->info; $round = $gara->round; $titolo_modulo = __($cmd_info["titolo"]); $breadcrumb = array(); $breadcrumb["/".$radice."/"] = Modulo::getInfo($radice)["titolo"]; $breadcrumb["/".$radice."/panel.php?codice=".$record["codice"]."&codice_round=".$round["codice"]] = __("Pannello"); $breadcrumb[""] = $titolo_modulo; include_once ($beRoot."/layout/top.php"); ?>

chooseLotto($_GET["codice_lotto"] ?? false,"{$_SERVER["PHP_SELF"]}?codice=".$record["codice"]."&codice_round=".$round["codice"])) { $lotto = $gara->lotto; $lock = $gara->checkLock($cmd_info["id"]); $showAtti = $gara->pubblicaAtti(); if ($showAtti) { $labelAtti = "Nascondi atti"; $btnAtti = "btn-danger"; } else { $labelAtti = "Pubblica atti"; $btnAtti = "btn-primary"; } ?>
"> "> ">
lotto["codice"],"gare-accessoatti-lotto"); ?>
getBusteSoggetteAccesso(); $richieste = $gara->getRichiestePubblicabili(); if (!empty($busteAccesso)) { ?>

$buste) { $partecipante = $gara->getPartecipante($partecipante); ?> --LABEL--"; if ($busta["pubblica"] == "S") { $icon = "check"; $label = "Pubblicato"; $color = "success"; $buttons = strtr($button,["--ESITO--"=>0,"--COLOR--"=>"danger","--LABEL--"=>"Nascondi"]); } else if ($busta["pubblica"] == "N") { $icon = "ban"; $label = "Non pubblicato"; $color = "danger"; $buttons = strtr($button,["--ESITO--"=>1,"--COLOR--"=>"success","--LABEL--"=>"Pubblica"]); } else { $icon = "exclamation-triangle"; $label = "In attesa"; $color = "warning"; $buttons = strtr($button,["--ESITO--"=>1,"--COLOR--"=>"success","--LABEL--"=>"Pubblica"]); $buttons .= strtr($button,["--ESITO--"=>0,"--COLOR--"=>"danger","--LABEL--"=>"Nascondi"]); } ?>
">

'; die(); } } else { echo ''; die(); } ?>