From 3c5dfbbc72e4b2fec6ad2feb952e95da9133d991 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 26 May 2003 15:06:21 +0000 Subject: [PATCH] Affichage de l'image --- htdocs/boutique/livre/fiche.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/htdocs/boutique/livre/fiche.php b/htdocs/boutique/livre/fiche.php index 9310ace6ebf..cf03889d0d4 100644 --- a/htdocs/boutique/livre/fiche.php +++ b/htdocs/boutique/livre/fiche.php @@ -277,6 +277,10 @@ else } + /* + * Affichage + */ + print '
Fiche Livre : '.$livre->titre.'

'; print ''; @@ -294,7 +298,15 @@ else print '
Changer'; } print "\n"; - print '"; + print '"; print '
'.nl2br($livre->description)."'.nl2br($livre->description); + + $img = OSC_CATALOG_DIRECTORY."images/".$livre->image; + + if(file_exists($img)) + { + print '

'; + } + print "

'; $livre->listcategorie();