| 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/mnovaajuste2019/modulos/cardapio/ |
Upload File : |
<?php
/**
* Criado por PhpStorm.
* Projeto: SGAE.
* Arquivo: cardapio_div.php.
* Usuário: RalpAlves
* Data: 24/09/2015
* Hora: 13:55
*/
include_once("../../includes/conexao.php");
ini_set('display_errors', 'off');
mysql_select_db($banco, conexao);
$id_c = $_GET['id_card'];
$rs_prep = mysql_query("SELECT * FROM v_lista_preparacao_prod where prd_preid = $id_c ORDER BY pro_produto");
?>
<head>
<style>
#pop-preparacao {
display: inline;
position: absolute;
top: auto;
padding: 1px;
width: 450px;
height: auto;
z-index: 9999;
border-width: 3px;
}
</style>
</head>
<div id="pop-preparacao" class="panel panel-primary panel-body">
<div class="panel-heading">
<h3 class="panel-title">
<span style="font-size:20px;"> Itens da preparação nº <?php echo $id_c ?></span>
<span style="margin-right: 1px; font-size: 22px;" class="glyphicon glyphicon-remove navbar-right" title="fechar"
onClick="document.getElementById('pop-preparacao').style.display='none';"/>
</h3>
</div>
<div class="row">
<div class=" col-md-12 col-lg-12 col-xs-12">
<table class="table table-striped hover table-hover dt-responsive">
<thead>
<tr>
<th>ID</th>
<th>Produto</th>
<th>P.Cap.</th>
</tr>
</thead>
<tbody>
<?php
while ($row = mysql_fetch_array($rs_prep)) {
echo "<tr>";
echo "<td>" . $row['prd_id'] . "</td>";
echo "<td>" . utf8_encode($row['pro_produto']) . ' (' . $row['prd_proid'] . ')' . "</td>";
echo "<td>" . $row['prd_percapta'] . "</td>";
echo "</tr>";
}
?>
</tbody>
</table>
</div>
</div>
</div>