Guest User

pourfloflo

a guest
Nov 13th, 2019
86
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $this->load->view("bandeau/header");
  3. $this->load->view("bandeau/bandeauApresConnexion");
  4. echo "<center>";
  5. foreach ($tabLivre as $key ) {
  6.  
  7. // echo $key->getEditeur();
  8. // echo "<br>";
  9. // echo $key->getPrix();
  10. // echo "<br>";
  11. // echo $key->getQuantite();
  12. // echo "<br>";
  13. // echo $key->getIsbn();
  14. // echo "<br>";
  15. $image = base_url()."assets/images/".$key->getImage();
  16. ?>
  17.  
  18. <a href="<?php echo base_url()?>index.php/ControleurLivre/afficherLivre/<?php echo $key->getIsbn(); ?>"><img src="<?php echo $image; ?>" /></a>
  19.  
  20. <?php
  21. echo "<br>";
  22. echo "Titre : ".$key->getTitre();
  23. echo "<br>";
  24. echo "Auteur : ".$key->getAuteur();
  25. echo "<br>";
  26. echo "<br>";
  27. echo "<br>";
  28. echo "<br>";
  29. }
  30. echo "</center>";
  31.  
  32. $this->load->view("bandeau/pied")
  33. ?>
RAW Paste Data