| Server IP : 20.75.53.88 / Your IP : 216.73.217.72 [ Web Server : Apache System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29+esm15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Domains : 3 Domains MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/portais/pmapuiares/paginas/publicacao/ |
Upload File : |
<?php
$tipo = $_GET['tipo'];
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.1/semantic.min.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.semanticui.min.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.18/css/jquery.dataTables.min.css">
<script type="text/javascript" src="https://cdn.datatables.net/1.10.18/js/jquery.dataTables.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#dnoticiasListar').DataTable({
aaSorting: [[0, 'asc']],
"order": [[0, 'asc']],
//stateSave: true,
"processing": true,
responsive: true,
"oLanguage": {
"sProcessing": "Processando. Aguarde...",
"sLengthMenu": "Mostrar _MENU_ registros",
"sZeroRecords": "<span class='text-orange text-bold'>NENHUM REGISTRO ENCONTRADO!</span>",
"sInfo": "Registro _END_ de _TOTAL_",
"sInfoEmpty": "Sem registros",
"sInfoFiltered": "(de _MAX_ registros)",
"sInfoPostFix": "",
"sSearch": "<em class='fa fa-search' title='pesquisar'></em>",
"sUrl": "",
"oPaginate": {
"sFirst": "Primeiro",
"sPrevious": "Anterior",
"sNext": "Próximo",
"sLast": "Último"
},
"language": {
"decimal": ",",
"thousands": "."
}
},
});
});
</script>
<ToDO Colobox>
<!--ABRIR JANELA COLORBOX-->
<link rel="stylesheet" href="admin/assets/colorbox/example4/colorbox.css"/>
<script src="admin/assets/colorbox/jquery.colorbox.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$(".janela90").colorbox({
iframe: true, title: "Portal - <?php echo $c->tag_title ?>", width: "90%", height: "90%",
overlayClose: false,
fixed: true,
fadeOut: 300,
scrolling: true,
overlayClose: false,
close: "<i class='fa fa-times-circle fa-2x text-orange' title='voltar'></i>",
//onClosed: function () {
// location.reload(true);
//}
});
});
</script>
</ToDO>
<style>
table.blueTable {
border: 1px solid #6480bf;
background-color: #EEEEEE;
width: 100%;
text-align: left;
border-collapse: collapse;
}
table.blueTable td, table.blueTable th {
border: 1px solid #AAAAAA;
padding: 3px 2px;
}
table.blueTable tbody td {
font-size: 13px;
}
table.blueTable tr:nth-child(even) {
background: #D0E4F5;
}
table.blueTable thead tr {
background-image: linear-gradient(to right, #5270b6, #627dbd, #728ac4, #8298ca, #92a5d1);
/*background: -moz-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);*/
/*background: -webkit-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);*/
/*background: linear-gradient(to bottom, #5592bb 0%, #327cad 66%, #1C6EA4 100%);*/
border-bottom: 2px solid #444444;
}
table.blueTable thead th {
font-size: 14px;
/*font-weight: bold;*/
color: #FFFFFF;
border-left: 1px solid #000000;
}
table.blueTable thead th:first-child {
border-left: none;
}
table.blueTable tfoot {
font-size: 14px;
/*font-weight: bold;*/
color: #FFFFFF;
background: #D0E4F5;
background: -moz-linear-gradient(top, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
background: -webkit-linear-gradient(top, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
background: linear-gradient(to bottom, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
border-top: 2px solid #444444;
}
table.blueTable tfoot td {
font-size: 14px;
}
table.blueTable tfoot .links {
text-align: right;
}
table.blueTable tfoot .links a {
display: inline-block;
background: #1C6EA4;
color: #FFFFFF;
padding: 2px 8px;
border-radius: 5px;
}
</style>
</head>
<body>
<section>
<div class="container-fluid">
<div class="row">
<div class="col-lg-16 content text-justify">
<div class="col-lg-16">
<ol class="breadcrumb">
<li><a href="#" onclick="window.history.back();">Voltar</a></li>
</ol>
<div class="page-header">
<h1>Outras Publicações</h1>
</div>
<div class="col-lg-20">
<table id="dnoticiasListar" class="blueTable" style="width:100%">
<thead>
<tr>
<th width="3%">ID</th>
<th width="5%">Número</th>
<th width="5%">Data</th>
<th width="30%">Descrição</th>
<th width="5%">Exercício</th>
<th width="15%">Tipo</th>
</tr>
</thead>
<tbody style="font-size: 14px;">
<?php
foreach ($db->select('outras_publicacoes', '*', array('ativo' => 1), 'data')->all() as $p) {
echo "<tr>";
echo "<td>" . $p->outras_id . "</td>";
echo "<td>" . $p->numero . "</td>";
echo "<td>" . date('d/m/Y', strtotime($p->data)) . "</td>";
echo "<td>" . $p->descricao . "</td>";
echo "<td>" . $p->exercicio . "</td>";
echo "<td>" . $p->Tipo . "</td>";
echo "</tr>";
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
</body>
</html>