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.
 
 
 
 
 

53 righe
1.9 KiB

<?php
if (isset($_SESSION["utente"]) && empty($_SESSION["utente"]->oe)) {
$comunicazioni = Communicator::getMyChats();
?>
<div class="container-fluid">
<h1><?= __("Comunicazioni") ?></h1>
<?
if (!empty($comunicazioni)) {
?>
<div class="card card-body">
<div class="table-responsive">
<table class="table table-striped table-hover tab-data" width="100%" id="table-chat">
<thead>
<tr>
<th><?= __("Oggetto") ?></th>
<th width="150"><?= __("Sezione") ?></th>
<th width="150"><?= __("Timestamp") ?></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<script>
var tableComunicazioni = $("#table-chat").DataTable({
"processing": true,
"serverSide": true,
"language": {
"url": "/dictionary/datatables/<?= $_SESSION["language"] ?>.lang"
},
"ajax": {
"url": "/comunicazioni/partial/chat-list.php",
},
"order": [2,"desc"],
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, '<?= __("tutti") ?>']],
"columns": [
{ "orderable": false },
{ "orderable": false },
{ "orderable": false }
]
});
</script>
</div>
</div>
<?
} else {
alertManager::printWarningBox(__("Nessun risultato"));
}
?>
</div>
<?php
}
?>