D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
rosario
/
adm
/
app
/
cpgre
/
Views
/
ProgramaSaude
/
Filename :
VielistarProdutoJs.php
back
Copy
<?php if (!defined('URL')) { header("Location: /"); exit(); } //echo $this->Dados['paginacao']; //var_dump($this->Dados['botao']); ?> <div class="table-responsive"> <table class="table table-striped table-hover table-bordered"> <thead> <tr> <th>ID</th> <th>Cod Prod</th> <th class="text-center">Ações</th> </tr> </thead> <tbody> <?php foreach ($this->Dados['listProd'] as $prod) { extract($prod); // var_dump($prod); ?> <tr> <th><?php echo $id; ?></th> <td> <?php echo $nome; ?> </td> <td class="text-center"> <span class="d-none d-md-block"> <?php if ($this->Dados['botao']['cad_psaude_med']) { ?> <a href="<?php echo URLADM . 'con-psaude-med-cadastrar/cad-psaude/?id='.$id; ?>"> <button class="btn btn-outline-success btn-sm"> Cadastrar </button> </a> <?php } ?> </span> </td> </tr> <?php } ?> </tbody> </table> <?php echo $this->Dados['paginacao']; ?> </div>