File "html_e5061c4037edb9eb12cf141b5f723fce.php"
Full Path: /home/spiraleeea/www/spirale/tmp/cache/skel/html_e5061c4037edb9eb12cf141b5f723fce.php
File size: 3.99 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Squelette : squelettes/inclure/header.html
* Date : Sat, 06 Dec 2025 01:05:25 GMT
* Compile : Mon, 31 Aug 2026 14:32:24 GMT
* Boucles : _imageacc
*/
function BOUCLE_imageacchtml_e5061c4037edb9eb12cf141b5f723fce(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'rubriques';
$command['id'] = '_imageacc';
$command['from'] = array('rubriques' => 'spip_rubriques');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("rubriques.id_rubrique",
"rubriques.lang",
"rubriques.titre");
$command['orderby'] = array();
$command['where'] =
array(
quete_condition_statut('rubriques.statut','!','publie',''),
array('=', 'rubriques.id_rubrique', "206"));
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = Spip\Compilateur\Iterateur\Factory::create(
"SQL",
$command,
array('squelettes/inclure/header.html','html_e5061c4037edb9eb12cf141b5f723fce','_imageacc',2,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
$t0 .= (
'<div class="top_header" ' .
(($t1 = strval(retablir_echappements_modeles(extraire_attribut(quete_html_logo(quete_logo('id_rubrique', 'ON', $Pile[$SP]['id_rubrique'], quete_parent($Pile[$SP]['id_rubrique'])), '', ''),'src'))))!=='' ?
('style="background-image: url(http://www.spirale-edu-revue.fr/' . $t1 . ') !important;"') :
'') .
'></div>');
lang_select();
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_imageacc @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette squelettes/inclure/header.html
// Temps de compilation total: 0.748 ms
//
function html_e5061c4037edb9eb12cf141b5f723fce($Cache, $Pile, $doublons = array(), $Numrows = array(), $SP = 0) {
if (isset($Pile[0]["doublons"]) AND is_array($Pile[0]["doublons"]))
$doublons = nettoyer_env_doublons($Pile[0]["doublons"]);
$connect = '';
$page = (
'
' .
BOUCLE_imageacchtml_e5061c4037edb9eb12cf141b5f723fce($Cache, $Pile, $doublons, $Numrows, $SP) .
'
<header class="clearfix header" role="banner">
' .
retablir_echappements_modeles(interdire_scripts(((entites_html(sinon(table_valeur($Pile[0]??[], (string)'home', null), 'non'),true) == 'oui') ? ( '<h1 class="spip_logo_site">' .
(inserer_attribut(filtrer('image_graver', filtrer('image_reduire',quete_html_logo(quete_logo('id_syndic', 'ON', "'0'", ''), '', ''),'360','0')),'alt',(interdire_scripts(titres_typographies_supprimer_liens(trim(PtoBR(propre(supprimer_numero($GLOBALS['meta']['nom_site']), $connect, $Pile[0])))))))) .
'</h1>' .
(($t2 = strval((interdire_scripts(titres_typographies_supprimer_liens(trim(PtoBR(propre(supprimer_numero($GLOBALS['meta']['slogan_site']), $connect, $Pile[0]))))))))!=='' ?
('<p id="slogandown">' . $t2 . '</p>') :
'') .
'
'):( '<strong class="h1 spip_logo_site"><a rel="start home" href="' .
(spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.'))) .
'/" title="' .
_T('public|spip|ecrire:accueil_site') .
'">' .
(filtrer('image_graver',filtrer('image_reduire',quete_html_logo(quete_logo('id_syndic', 'ON', "'0'", ''), '', ''),'220','0'))) .
'</a></strong>' .
(($t2 = strval((interdire_scripts(titres_typographies_supprimer_liens(trim(PtoBR(propre(supprimer_numero($GLOBALS['meta']['slogan_site']), $connect, $Pile[0]))))))))!=='' ?
('<p id="slogan">' . $t2 . '</p>') :
'') .
'
')))) .
'
</header>');
return analyse_resultat_skel('html_e5061c4037edb9eb12cf141b5f723fce', $Cache, $page, 'squelettes/inclure/header.html');
}