Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
58 righe
2.7 KiB
58 righe
2.7 KiB
<? |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
$id_modulo = "verbaliSeduta"; |
|
$cmd_info = concorso::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; |
|
$concorso = concorso::init($_GET["codice"],$codice_round); |
|
if (!empty($concorso)) { |
|
$record = $concorso->info; |
|
$round = $concorso->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"); |
|
if (!empty($_GET["codice_lotto"])) { |
|
$breadcrumb["/concorsi/verbaliSeduta/index.php?codice=".$record["codice"]."&codice_round=".$round["codice"]] = __("Scelta lotto"); |
|
} |
|
$breadcrumb[""] = $titolo_modulo; |
|
|
|
include_once ($beRoot."/layout/top.php"); |
|
$concorso->printSelectLottiConditions = ["hasPartecipanti"]; |
|
if ($concorso->chooseLotto($_GET["codice_lotto"] ?? false,"{$_SERVER["PHP_SELF"]}?codice=".$record["codice"]."&codice_round=".$round["codice"])) { |
|
$lock = $concorso->checkLock($cmd_info["id"]); |
|
$lotto = $concorso->lotto; |
|
?><h1><?= $titolo_modulo ?></h1><? |
|
$sedute = $concorso->getSedute(); |
|
if (!empty($sedute)) { |
|
$tipiBuste = concorso::tipologieBusta(); |
|
?> |
|
<a href="edit.php?codice=<?= $record["codice"] ?>&codice_round=<?= $round["codice"] ?>&codice_lotto=<?= $lotto["codice"] ?>&seduta=0" class="btn btn-block btn-primary my-2"> |
|
<strong><?= __("Prima seduta") ?></strong><br> |
|
<small><?= mysql2completedate($round["apertura"]) ?></small> |
|
</a> |
|
<? |
|
foreach($sedute AS $seduta) { |
|
?> |
|
<a href="edit.php?codice=<?= $record["codice"] ?>&codice_round=<?= $round["codice"] ?>&codice_lotto=<?= $lotto["codice"] ?>&seduta=<?= $seduta["codice"] ?>" class="btn btn-block btn-primary my-2"> |
|
<strong><?= __($tipiBuste[$seduta["busta"]]["titolo"]) ?></strong><br> |
|
<small><?= mysql2completedate($seduta["data"]) ?></small> |
|
</a> |
|
<? |
|
} |
|
} else { |
|
alertManager::printWarningBox(__("Nessuna seduta disponibile")); |
|
} |
|
} |
|
include_once ($beRoot."/layout/bottom.php"); |
|
} else { |
|
echo '<meta http-equiv="refresh" content="0;URL=/index.php">'; |
|
die(); |
|
} |
|
} else { |
|
echo '<meta http-equiv="refresh" content="0;URL=/index.php">'; |
|
die(); |
|
} |
|
?>
|
|
|