gestione gare pubbliche
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.
 
 
 
 
 

45 righe
1.4 KiB

<?
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
$id_modulo = "open";
$cmd_info = gara::getInfoModulo($id_modulo);
$error = true;
if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($cmd_info["modulo_riferimento"]) && $_SESSION["utente"]->permission($radice,$_GET["codice_gara"],$id_modulo)) {
$codice_round = $_GET["codice_round"] ?? NULL;
$gara = gara::init($_GET["codice_gara"],$codice_round);
if (!empty($gara)) {
$record = $gara->info;
$round = $gara->round;
$lock = $gara->checkLock($cmd_info["id"]);
$sedute = $gara->getSedute();
if (!empty($sedute)) {
$error = false;
$tipiBuste = gara::tipologieBusta();
?>
<table class="table table-striped table-hover">
<thead>
<tr>
<th width="70%"><?= __("Busta") ?></th>
<th width="30%"><?= __("Data e ora") ?></th>
</tr>
</thead>
<tbody>
<?
foreach($sedute AS $seduta) { ?>
<tr>
<td><?= __($tipiBuste[$seduta["busta"]]["titolo"]) ?></td>
<td><?= mysql2completedate($seduta["data"]) ?></td>
</tr>
<? }
?>
</tbody>
</table>
<?
}
}
}
if ($error) {
header('HTTP/1.0 403 Forbidden');
die();
}
?>