Advertisement
janevim

produkty.php

Feb 6th, 2023
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. <?=$this->extend("Layout/layout1");?>
  2.  
  3. <?=$this->section("content");?>
  4. <div class='container-fluid'>
  5. <?php $i = 0; foreach ($produkty as $k){
  6. echo '<div class="card text-white bg-dark m-3" style="max-width: 20rem;">
  7. <div class="card-header">'.$nazevKategorie.'</div>
  8. <div class="card-body">
  9. <h4 class="card-title">'.anchor("produkty/".$k->id,$k->nazev).'</h4>
  10. <p class="card-text"></p>
  11. </div>
  12. </div>'
  13. ;}
  14. echo "<div class='d-flex' style='justify-content: center'>".$pager->links()."</div>";
  15. echo "</div></div>";
  16. ?>
  17. </div>
  18. <?=$this->endSection();?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement