"; } } } $handle = @opendir($rep.$style); if(!$handle) { $result = array(); return $result; } $allfiles = array(); while($css = readdir($handle)) { $allfiles[] = $css; } sort($allfiles); foreach($allfiles as $css) { if(is_file($rep.$style."/".$css) && preg_match('/css$/', $css)) { $result[] = $css; $vide_cache=@filemtime($rep.$style."/".$css); $feuilles_style.="\n\t"; } } closedir($handle); return $feuilles_style; } //Récupération du login if (!$_SESSION["user_code"]) { //Si pas de session $cb_=$msg['common_tpl_cardnumber_default']; } else { //Récupération des infos de connection $cb_=$_SESSION["user_code"]; } $stylescsscodehtml=link_styles($css); //HEADER : short_header = pour les popups // std_header = pour les pages standards // pb de resize de page avec IE6 et 7 : on force le rechargement de la page (position absolue qui reste absolue !) if ($opac_ie_reload_on_resize) $iecssresizepb="onresize=\"history.go(0);\""; if ($opac_default_style_addon) $css_addon = " "; else $css_addon=""; $std_header.=" ".$msg['opac_title']." $opac_biblio_name !!liens_rss!! ".$stylescsscodehtml.$css_addon." "; // FAVICON if ($opac_faviconurl) $std_header.=" "; else $std_header.=" "; $std_header.=" "; $std_header.=""; if($opac_show_social_network){ if($opac_param_social_network){ $addThisParams=json_decode($opac_param_social_network); } //ra-4d9b1e202c30dea1 if(sizeof($addThisParams->addthis_share)){ $std_header.=""; } $std_header.=" "; } if($opac_allow_affiliate_search){ $std_header.=" "; } if($opac_allow_simili_search){ $std_header.=" "; } if($opac_visionneuse_allow) { $std_header.=" "; } $std_header.=" "; $std_header.=" !!enrichment_headers!! "; if($opac_notice_enrichment == 0){ $std_header.=" "; } if($opac_recherche_ajax_mode){ $std_header.=" "; } $std_header.="
!!main_header!!
!!home_on_top!! \n"; $std_header.=" \n"; $inclus_header = " !!liens_rss!! !!enrichment_headers!! ".$stylescsscodehtml.$css_addon." "; if($opac_show_social_network){ if($opac_param_social_network){ $addThisParams=json_decode($opac_param_social_network); } //ra-4d9b1e202c30dea1 if(sizeof($addThisParams->addthis_share)){ $inclus_header.=""; } $inclus_header.=" "; } if($opac_allow_affiliate_search){ $inclus_header.=" "; } if($opac_allow_simili_search){ $inclus_header.=" "; } if($opac_visionneuse_allow) { $inclus_header.=" "; } $inclus_header.=" $inclure_recherche
!!main_header!!
!!home_on_top!! \n"; $short_header=" !!liens_rss!! ".$stylescsscodehtml.$css_addon." "; $short_footer=""; $popup_header=" ".$stylescsscodehtml.$css_addon." ".$msg['opac_title']." $opac_biblio_name. "; $popup_footer=""; // liens du bas de la page $liens_bas = "
$opac_lien_bas_supplementaire   "; if ($opac_biblio_website) $liens_bas .= " $opac_biblio_name   "; $liens_bas .= " $opac_lien_moteur_recherche   ".$msg['common_tpl_motto_pmb']."
" ; // HOME $home_on_left = "
\n

!!welcome_page!!

\n"; if ($opac_logosmall<>"") $home_on_left .= "

\n"; else $home_on_left .= "

\n"; // affichage du choix de langue $common_tpl_lang_select="

!!msg_lang_select!!

!!lang_select!!
\n"; $home_on_left.="!!common_tpl_lang_select!!
\n" ; // HOME lorsque le bandeau gauche n'est pas affiché $home_on_top ="
".$msg["welcome_page"]."
"; // LOGIN FORM=0 // Si le login est autorisé, alors afficher le formulaire de saisie utilisateur/mot de passe ou le code de l'utilisateur connecté $loginform=''; if ($opac_show_loginform) { $loginform ="
\n

!!login_form!!\n
\n"; } else { if (!file_exists($include_path.'/ext_auth.inc.php')) { $_SESSION["user_code"]=""; } } // METEO if ($opac_show_meteo && $opac_show_meteo_url) { $meteo = "
\n

".$msg['common_tpl_meteo_invite']."

\n

$opac_show_meteo_url

\n ".$msg['common_tpl_meteo']." $opac_biblio_town\n
\n"; } // ADRESSE $adresse = "
\n

!!common_tpl_address!!

\n $opac_biblio_name
$opac_biblio_adr1
$opac_biblio_cp $opac_biblio_town
$opac_biblio_country 
$opac_biblio_phone
"; if ($opac_biblio_email) $adresse.=" !!common_tpl_contact!!"; $adresse.="
" ; $adresse.="
" ; // bloc post adresse if ($opac_biblio_post_adress){ $adresse .= "
\n ".$opac_biblio_post_adress."
" ; } if($lvl=="more_results"){ $facette ="
!!lst_facette!!
"; $lvl1 ="
!!lst_lvl1!!
"; } // le footer clos le
, reste ouvert le
$footer = " !!div_liens_bas!! \n
\n
\n"; $inclus_footer = " !!div_liens_bas!! \n
\n
\n"; // Si $opac_biblio_important_p1 est renseigné, alors intro_message est affiché // Ceci permet plus de liberté avec la CSS $std_header_suite="
"; if ($opac_biblio_important_p1) $std_header_suite.="
$opac_biblio_important_p1
"; // si $opac_biblio_important_p2 est renseigné alors suite d'intro_message if ($opac_biblio_important_p2 && !$std_header_suite) $std_header_suite.="
$opac_biblio_important_p2
"; else $std_header_suite.="
$opac_biblio_important_p2
"; // fin intro_message $std_header_suite.="
"; $std_header.=$std_header_suite ; $inclus_header.=$std_header_suite; $footer.= $footer_suite ; $inclus_footer.= $footer_suite ; eval("\$opac_biblio_preamble_p1=\"".str_replace("\"","\\\"",$opac_biblio_preamble_p1)."\";"); eval("\$opac_biblio_preamble_p2=\"".str_replace("\"","\\\"",$opac_biblio_preamble_p2)."\";"); $footer_suite ="

$opac_biblio_name

$opac_biblio_preamble_p1
$opac_biblio_preamble_p2
"; $footer.= $footer_suite ; $inclus_footer.= $footer_suite ; $footer .=" !!contenu_bandeau!!"; $footer .="
!!cms_build_info!! "; //".($surligne?"rechercher(1);":"")." $inclus_footer .=" !!contenu_bandeau!!
!!cms_build_info!! "; $liens_opac['lien_rech_notice'] = "./index.php?lvl=notice_display&id=!!id!!"; $liens_opac['lien_rech_auteur'] = "./index.php?lvl=author_see&id=!!id!!"; $liens_opac['lien_rech_editeur'] = "./index.php?lvl=publisher_see&id=!!id!!"; $liens_opac['lien_rech_titre_uniforme'] = "./index.php?lvl=titre_uniforme_see&id=!!id!!"; $liens_opac['lien_rech_serie'] = "./index.php?lvl=serie_see&id=!!id!!"; $liens_opac['lien_rech_collection'] = "./index.php?lvl=coll_see&id=!!id!!"; $liens_opac['lien_rech_subcollection'] = "./index.php?lvl=subcoll_see&id=!!id!!"; $liens_opac['lien_rech_indexint'] = "./index.php?lvl=indexint_see&id=!!id!!"; $liens_opac['lien_rech_motcle'] = "./index.php?lvl=search_result&mode=keyword&auto_submit=1&user_query=!!mot!!"; $liens_opac['lien_rech_categ'] = "./index.php?lvl=categ_see&id=!!id!!"; $liens_opac['lien_rech_perio'] = "./index.php?lvl=notice_display&id=!!id!!"; $liens_opac['lien_rech_bulletin'] = "./index.php?lvl=bulletin_display&id=!!id!!"; switch($opac_allow_simili_search){ case "1" : $simili_search_call = "show_simili_search_all();show_expl_voisin_search_all();"; break; case "2" : $simili_search_call = "show_expl_voisin_search_all();"; break; case "3" : $simili_search_call = "show_simili_search_all()"; break; } if($opac_recherche_ajax_mode){ $begin_result_liste = " " ; }else{ $begin_result_liste = " " ; } $affich_tris_result_liste .= sort::show_tris_selector(); define( 'AFF_ETA_NOTICES_NON', 0 ); define( 'AFF_ETA_NOTICES_ISBD', 1 ); define( 'AFF_ETA_NOTICES_PUBLIC', 2 ); define( 'AFF_ETA_NOTICES_BOTH', 4 ); define( 'AFF_ETA_NOTICES_BOTH_ISBD_FIRST', 5 ); define( 'AFF_ETA_NOTICES_REDUIT', 8 ); define( 'AFF_ETA_NOTICES_DEPLIABLES_NON', 0 ); define( 'AFF_ETA_NOTICES_DEPLIABLES_OUI', 1 ); define( 'AFF_BAN_NOTICES_NON', 0 ); define( 'AFF_BAN_NOTICES_ISBD', 1 ); define( 'AFF_BAN_NOTICES_PUBLIC', 2 ); define( 'AFF_BAN_NOTICES_BOTH', 4 ); define( 'AFF_BAN_NOTICES_BOTH_ISBD_FIRST', 5 ); define( 'AFF_BAN_NOTICES_REDUIT', 8 ); define( 'AFF_BAN_NOTICES_DEPLIABLES_NON', 0 ); define( 'AFF_BAN_NOTICES_DEPLIABLES_OUI', 1 );