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.
 
 
 
 
 

94 righe
3.4 KiB

<?
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice)) {
$breadcrumb = [];
$breadcrumb["/impostazioni/index.php"] = __("Avanzate");
$breadcrumb[""] = __("Modelli");
include_once ($beRoot."/layout/top.php");
?>
<div class="container-fluid pt-5">
<div class="row">
<div class="col-12">
<p class="d-block display-4">
<?= Modulo::header($radice) ?>
</p>
</div>
</div>
</div>
<div id="commands" class="mb-5">
<div class="commands container-fluid">
<div class="row">
<div class="col-12 text-right">
<button onclick="showModalWithURL('/backend/dati-gara/edit.php?codice=0')" class="btn btn-success" title="<?= __('Aggiungi nuovo') ?>"><em class="fa fa-plus-circle mr-3"></em><?= __('Aggiungi nuovo') ?></a><br>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<?
$bind = array();
$sql = "SELECT * FROM b_impostazioni_dati_minimi WHERE soft_delete = 'N' ";
$risultato = $pdo->go($sql,$bind);
if ($risultato->rowCount() > 0) {
?>
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed" id="tab-data" width="100%">
<thead>
<tr>
<th width="10"></th>
<th><?= __("Titolo") ?></th>
<th><?= __("Tipo") ?></th>
<th><?= __("Tipologie") ?></th>
<th><?= __("Obbligatorio") ?></th>
<th width="10"></th>
<th width="10"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<script>
$("#tab-data").DataTable({
"processing": true,
"serverSide": true,
"filter": false,
"paging": false,
"sort": false,
"language": {
"url": "/dictionary/datatables/<?= $_SESSION["language"] ?>.lang"
},
"ajax": "table.php",
"columns": [
{ "orderable": false },
{ "orderable": false },
{ "orderable": false },
{ "orderable": false },
{ "orderable": false },
{ "orderable": false },
{ "orderable": false },
]
});
</script>
<?
} else {
alertManager::printWarningBox(__("Nessun risultato"));
}
?>
</div>
</div>
</div>
</div>
</div>
<?
include_once ($beRoot."/layout/bottom.php");
} else {
echo '<meta http-equiv="refresh" content="0;URL=/index.php">';
die();
}
?>