!!styles!! !!scripts!! "; if ($opac_notice_enrichment == 0) { $templates .= ""; } $templates .= "
#FILES
"; $liens_opac=0; $opac_notices_depliable=0; // paramétrages avancés dans fichier si existe if (file_exists($base_path."/includes/notice_view_param.inc.php")) include($base_path."/includes/notice_view_param.inc.php"); $templates=str_replace("!!styles!!",$stylescsscodehtml,$templates); //Enrichissement OPAC if($opac_notice_enrichment){ require_once($base_path."/classes/enrichment.class.php"); $enrichment = new enrichment(); $templates=str_replace("!!scripts!!", "".$enrichment->getHeaders(), $templates); } else $templates=str_replace("!!scripts!!","",$templates); $id= $_GET["id"]; if($opac_parse_html || $cms_active){ ob_start(); } //Affichage d'une notice $notice=aff_notice($id,1); print str_replace("#FILES",$notice,$templates); if($opac_parse_html || $cms_active){ if($opac_parse_html){ $htmltoparse= parseHTML(ob_get_contents()); }else{ $htmltoparse= ob_get_contents(); } ob_end_clean(); if ($cms_active) { require_once($base_path."/classes/cms/cms_build.class.php"); $cms=new cms_build(); $htmltoparse = $cms->transform_html($htmltoparse); } print $htmltoparse; } ?>