| 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/merenda/itapipoca18/modulos/movimento/ |
Upload File : |
<?php
/**
* Created by PhpStorm.
* User: ralpb
* Date: 17/10/2017
* Time: 16:56
*/
session_start();
$prefeitura = $_SESSION['prefeitura'];
$entradas = mysql_query("SELECT
escolas.esc_id, escolas.esc_nome, escolas.esc_telefone, escolas.esc_diretor_tel, escolas.esc_diretor_email
FROM escolas
WHERE
esc_id NOT IN (SELECT rai_esc_id
FROM esc_saidaavulsa_item
WHERE esc_saidaavulsa_item.rai_data NOT IN(DATE_SUB(CURDATE(), INTERVAL 1 DAY))
)
AND esc_ativo = '1'
ORDER BY escolas.esc_nome ASC");
?>
<body>
<head>
<title> | Escolas sem movimento em <?php echo date('d/m/Y', strtotime('-1 days')) ?></title>
</head>
<!--FORMULARIO-->
<body style="margin-top: 55px;"/>
<div id='print' class='container-fluid'>
<div class="container panel panel-primary">
<div class="panel-body">
<SPAN style="font-size:18px;">Escolas sem movimento de saída em <?php echo date('d/m/Y', strtotime('-1 days')) ?></SPAN>
<a href="modulos/movimento/escola_sem_movimento_pdf.php"
target='_blank'> <i class="glyphicon glyphicon-print text-print navbar-right" title="Imprimir relação"></i>
</a>
</div>
</div>
<!--ITENS DA REMESSA-->
<div class="container">
<div class="row">
<div class="panel-body">
<div class="tab-content">
<div class="panel panel-body panel-primary">
<table class="tabe1 table table-striped table-hover dt-responsive' cellspacing='0' width='100%' border='0'">
<thead>
<tr>
<td width="50%" style="text-align: left; font-size: 12px;">Escola</td>
<td style="text-align: left; font-size: 12px;">Telefone</td>
<td style="font-size: 12px;">Tel. Diretor</td>
<!-- <th style="font-size: 12px;">E-mail</th>-->
</tr>
</thead>
<tbody>
<?php
while ($entra = mysql_fetch_array($entradas)) {
echo "<tr>";
echo "<td style='font-size: 13px;font-weight: bold;'>" . utf8_encode($entra['esc_nome']) . '-' . $entra['esc_id'] . "</td>";
echo "<td>" . $entra['esc_telefone'] . "</td>";
echo "<td>" . $entra['esc_diretor_tel'] . "</td>";
// echo "<td>" . $entra['esc_diretor_email'] . "</td>";
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</body>