"; } else { static::$image[$code."_".$thumbnail_url] = ""; } } else { static::$image[$code."_".$thumbnail_url] = ""; } } return static::$image[$code."_".$thumbnail_url]; } public static function get_url_image($code, $thumbnail_url) { global $opac_show_book_pics; global $opac_book_pics_url; global $opac_url_base; if(!isset(static::$url_image[$code."_".$thumbnail_url])) { if (($code || $thumbnail_url) && ($opac_show_book_pics=='1' && ($opac_book_pics_url || $thumbnail_url))) { static::$url_image[$code."_".$thumbnail_url] = getimage_url($code, $thumbnail_url); } else { static::$url_image[$code."_".$thumbnail_url] = ''; } } return static::$url_image[$code."_".$thumbnail_url]; } } // fin de déclaration de la classe thumbnail