| 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/juridico/chorozinho/modulos/processos/ |
Upload File : |
<?php
//$conn = conexao::getInstance();
// $prazo = $conn->query("SELECT * FROM v_lista_prazos_processos where MONTH(data_venc) = Month(Now());");
$prazo = $conn->query("SELECT * FROM v_lista_prazos_processos WHERE finalizado<>'1' order by data_venc");
?>
<head>
<script type="text/javascript">
$(document).ready(function () {
$('.dtlista').DataTable({
aaSorting: [[0, 'desc']],
"order": [[0, 'desc']],
//stateSave: true,
responsive: true,
"oLanguage": {
"sProcessing": "Processando. Aguarde...",
"sLengthMenu": "Mostrar _MENU_ registros",
"sZeroRecords": "NENHUM REGISTRO ENCONTRADO!",
"sInfo": "Mostrando _START_ até _END_ de _TOTAL_ registros",
"sInfoEmpty": "Mostrando 0 até 0 de 0 registros",
"sInfoFiltered": "(de _MAX_ registros no total)",
"sInfoPostFix": "",
"sSearch": "<i aling='center' class='fa fa-search' title='pesquisar registro'>",
"sUrl": "",
"oPaginate": {
"sFirst": "<<",
"sPrevious": "<i aling='center' class='fa fa-arrow-circle-left' title='registro anterior'></i>",
"sNext": "<i aling='center' class='fa fa-arrow-circle-right' title='próximo registro'>",
"sLast": ">>"
}
}
})
});
</script>
</head>
<div class="container panel panel-primary filterable">
<div class="container label">
<a href='index.php'><i aling='center' class='fa fa-arrow-circle-o-left fa-2x' title='Voltar'></i></a>
<span style="font-size:20px; color: #060606"> Prazos processuais | Listagem</span>
</div>
</div>
<div id='id_grid' class='container panel-body'>
<div class="panel-body">
<div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 panel-body'>
<table id="id_alarme" class='table dtlista table-striped table-hover dt-responsive' cellspacing='0' width='100%' border='0'>
<thead>
<tr class="success">
<th width="2%">ID</th>
<th>Descrição</th>
<th>Publicação</th>
<th>Vencimento</th>
<th>Processo</th>
<th>Tipo Prazo</th>
<th>Adv.Responsável</th>
<th>Objeto</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<?php
while ($alm = $prazo->fetch(PDO::FETCH_OBJ)) {
echo "<tr>";
echo "<td>" . $alm->codigo . "</td>";
echo "<td>" . $alm->descricao . "</td>";
echo "<td>" . date('d/m/Y', strtotime($alm->data_publicacao)) . "</td>";
echo "<td>" . date('d/m/Y', strtotime($alm->data_venc)) . "</td>";
echo "<td>" . $alm->n_processo . "</td>";
echo "<td>" . $alm->tipo_prazo . "</td>";
echo "<td>" . $alm->adv_responsavel . "</td>";
echo "<td>" . $alm->objeto . "</td>";
$id = $alm->cod_proc;
$idp = $alm->codigo;
echo "<td><a class='j80' href='index2.php?page=processos/processo_edt&id=$id'><i aling='center' class='fa fa-eye text-light-blue' style='font-size: 18px;' title='Visualizar processo'></i></a></td>";
echo "<td><a href='?page=processos/info_crud&idp=$idp&var=prazo_finalizado'><i aling='center' class='fa fa-check-square-o text-orange' style='font-size: 18px;' title='Dar baixa no prazo'></i></a></td>";
echo "<td><a href='?page=processos/info_crud&idp=$idp&var=prazo_excluir'><i aling='center' class='fa fa-trash font_red' title='Excluir registro'></i></a></td>";
echo "</tr>";
}
?>
</tbody>
</table>
</div>
</div>
</div>