| 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/dev/modulos/cardapio/ |
Upload File : |
<?php
/**
* Criado por PhpStorm.
* Projeto: SGAE.
* Arquivo: remessaavulsa_edt.php.
* Usuário: RalpAlves
* Data: 19/08/2019
* Hora: 09:05
*/
session_start();
$prefeitura = $_SESSION['prefeitura'];
$mapa = mysql_query("SELECT * FROM v_lista_cardapio_mapa");
?>
<body>
<head>
<title>CARDÁPIO | MAPA SEMANAL</title>
</head>
<!--FORMULARIO-->
<body style="margin-top: 55px;"/>
<div id='print' class='container'>
<div class="container panel panel-primary">
<div class="panel-body">
<!-- <p style="font-size:17px;">--><?php //echo $prefeitura ?><!--</p>-->
<SPAN style="font-size:18px;">Cardápio | Mapa</SPAN>
<a href="modulos/cardapio/cardapio_mapa_pdf.php?cod_id=<? echo $cod_id ?>"
target='_blank'> <i class="glyphicon glyphicon-print text-print navbar-right" title="Imprimir mapa cardápio"></i>
</a>
</div>
</div>
<!--ITENS DA REMESSA-->
<div class="container">
<div class="row">
<div class='panel panel-body panel-primary filterable'>
<div class="col-md-12">
<form id='frm_pesq' name="frm_pesq" method='post' action="modulos/cardapio/cardapio_mapa_pdf.php" target="_blank">
<div class="col-md-3">
<label>Período inicial</label>
<input type="text" name="datai" required onKeyup="formataData(this,event);" class="form-control" maxlength="10">
</div>
<div class="col-md-3">
<label>Período final</label>
<input type="text" name="dataf" required onKeyup="formataData(this,event);" class="form-control" maxlength="10">
</div>
<div class="col-md-3">
<label> </label><br>
<button type="submit" name="bt_novo" class="btn btn-circle"><i class="fa fa-check"></i></button>
</div>
</form>
</div>
</div>
<div class="panel panel-body panel-primary">
<table class='tabela table table-striped table-hover dt-responsive' cellspacing='0' width='100%' border='0'>
<thead>
<tr>
<th>ID</th>
<th width="22%">SEGUNDA</th>
<th width="22%">TERÇA</th>
<th width="22%">QUARTA</th>
<th width="22%">QUINTA</th>
<th width="22%">SEXTA</th>
<th width="22%">PERÍODO</th>
</tr>
</thead>
<tbody>
<?php
while ($m = mysql_fetch_array($mapa)) {
echo "<tr>";
echo "<td>" . $m['cdp_id'] . "</td>";
echo "<td>" . $m['SEGUNDA'] . "</td>";
echo "<td>" . $m['TERCA'] . "</td>";
echo "<td>" . $m['QUARTA'] . "</td>";
echo "<td>" . $m['QUINTA'] . "</td>";
echo "<td>" . $m['SEXTA'] . "</td>";
echo "<td>" . $m['cdp_dtinic'] .'<br>'.$m['cdp_dtfim']. "</td>";
echo "</tr>";
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</body>