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.
 
 
 
 
 

41 righe
1.2 KiB

<?
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
if (!empty($_GET["codice"]) && !empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice)) {
$enti = ente::entiAggregatiFromID($_GET["codice"]);
if (!empty($enti)) {
?>
<table class="table table-striped">
<thead>
<tr>
<th><?= __("Codice") ?></th>
<th><?= __("Codice Fiscale") ?></th>
<th><?= __("Denominazione") ?></th>
<th><?= __("Dominio") ?></th>
</tr>
</thead>
<tbody>
<?
foreach($enti AS $ente) {
?>
<tr>
<td width="1"><?= $ente["codice"] ?></td>
<td width="100"><?= $ente["cf"] ?></td>
<td><?= $ente["denominazione"] ?></td>
<td><?= (!empty($ente["dominio"])) ? "<a href='https://{$ente["dominio"]}' target='_blank'>{$ente["dominio"]}</a>" : "" ?></td>
</tr>
<?
}
?>
</tbody>
</table>
<?
} else {
alertManager::printWarningBox(__("Nessun risultato"));
}
die();
}
header('HTTP/1.0 403 Forbidden');
die();
?>