$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $id_modulo = "accessoAtti"; $cmd_info = gara::getInfoModulo($id_modulo); if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->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"); ?>
| = __("Partecipante") ?> | foreach($richieste AS $richiesta) { ?>= $richiesta["titolo"] ?> | } ?>|
|---|---|---|
| = $partecipante["ragione_sociale"] ?> | foreach($richieste AS $richiesta) { $busta = $buste[$richiesta["codice"]] ?? null; if (!empty($busta)) { $buttons = ""; $button = ""; 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"]); } ?>
">
= $buttons ?> |
} else {
?>
= __("Non presentata") ?> | } } ?>