| Current Path : /home/etiennec/www/tmp/cache/skel/ |
| Current File : /home/etiennec/www/tmp/cache/skel/html_db2dcf9cf143bfcfcbf3d292b6d3f81d.php |
<?php
/*
* Squelette : plugins/auto/zpip/contenu/rubrique=5.html
* Date : Sun, 27 Sep 2015 12:46:07 GMT
* Compile : Sun, 11 Oct 2015 08:11:33 GMT
* Boucles : _ariane, _m2, _miniplan, _sous_rubriques, _articles, _breves, _syndic, _sites, _contenu_rubrique
*/
function BOUCLE_arianehtml_db2dcf9cf143bfcfcbf3d292b6d3f81d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!($id_rubrique = intval($Pile[$SP]['id_rubrique'])))
return '';
include_spip('inc/rubriques');
$hierarchie = calcul_hierarchie_in($id_rubrique,false);
if (!$hierarchie) return "";
if (!isset($command['table'])) {
$command['table'] = 'rubriques';
$command['id'] = '_ariane';
$command['from'] = array('rubriques' => 'spip_rubriques');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("rubriques.id_rubrique",
"rubriques.titre",
"rubriques.lang");
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['orderby'] = array("FIELD(rubriques.id_rubrique, $hierarchie)");
$command['where'] =
array(
quete_condition_statut('rubriques.statut','!','publie',''),
array('IN', 'rubriques.id_rubrique', "($hierarchie)"));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_ariane',3,$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 .= (
' > <a href="' .
vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) .
'">' .
interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0]),'80')) .
'</a>');
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_ariane @ plugins/auto/zpip/contenu/rubrique=5.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_m2html_db2dcf9cf143bfcfcbf3d292b6d3f81d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$save_numrows = (isset($Numrows['_miniplan']) ? $Numrows['_miniplan'] : array());
$t0 = (($t1 = BOUCLE_miniplanhtml_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
<ul class="menu-liste">
' . $t1 . '
</ul>
') :
'');
$Numrows['_miniplan'] = ($save_numrows);
return $t0;
}
function BOUCLE_miniplanhtml_db2dcf9cf143bfcfcbf3d292b6d3f81d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'rubriques';
$command['id'] = '_miniplan';
$command['from'] = array('rubriques' => 'spip_rubriques');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("rubriques.id_rubrique",
"0+rubriques.titre AS num",
"rubriques.titre",
"rubriques.lang");
$command['orderby'] = array('num', 'rubriques.titre');
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('rubriques.statut','!','publie',''),
array('=', 'rubriques.id_parent', sql_quote($Pile[$SP]['id_rubrique'],'','bigint(21) NOT NULL DEFAULT \'0\'')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_miniplan',39,$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 .= (
'
<li class="menu-entree">
<a href="' .
vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) .
'">' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) .
'</a>
' .
BOUCLE_m2html_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP) .
'
</li>
');
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_miniplan @ plugins/auto/zpip/contenu/rubrique=5.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_sous_rubriqueshtml_db2dcf9cf143bfcfcbf3d292b6d3f81d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'rubriques';
$command['id'] = '_sous_rubriques';
$command['from'] = array('rubriques' => 'spip_rubriques');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("rubriques.id_rubrique",
"0+rubriques.titre AS num",
"rubriques.titre",
"rubriques.lang");
$command['orderby'] = array('num', 'rubriques.titre');
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('rubriques.statut','!','publie',''),
array('=', 'rubriques.id_parent', sql_quote($Pile[$SP]['id_rubrique'],'','bigint(21) NOT NULL DEFAULT \'0\'')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_sous_rubriques',30,$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 .= (
'
<li class="menu-entree">
<a href="' .
vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) .
'">' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) .
'</a>
' .
(($t1 = BOUCLE_miniplanhtml_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
<ul class="menu-liste">
' . $t1 . '
</ul>
') :
'') .
'
</li>
');
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_sous_rubriques @ plugins/auto/zpip/contenu/rubrique=5.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_articleshtml_db2dcf9cf143bfcfcbf3d292b6d3f81d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['pagination'] = array((isset($Pile[0]['debut_articles']) ? $Pile[0]['debut_articles'] : null), 10);
if (!isset($command['table'])) {
$command['table'] = 'articles';
$command['id'] = '_articles';
$command['from'] = array('articles' => 'spip_articles');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("0+articles.titre AS num",
"articles.titre",
"articles.id_article",
"articles.lang");
$command['orderby'] = array('num', 'articles.titre');
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''),
quete_condition_postdates('articles.date',''),
array('=', 'articles.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'],'','bigint(21) NOT NULL DEFAULT \'0\'')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_articles',16,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
// COMPTEUR
$Numrows['_articles']['compteur_boucle'] = 0;
$Numrows['_articles']['total'] = @intval($iter->count());
$debut_boucle = isset($Pile[0]['debut_articles']) ? $Pile[0]['debut_articles'] : _request('debut_articles');
if(substr($debut_boucle,0,1)=='@'){
$debut_boucle = $Pile[0]['debut_articles'] = quete_debut_pagination('id_article',$Pile[0]['@id_article'] = substr($debut_boucle,1),10,$iter);
$iter->seek(0);
}
$debut_boucle = intval($debut_boucle);
$debut_boucle = (($tout=($debut_boucle == -1))?0:($debut_boucle));
$debut_boucle = max(0,min($debut_boucle,floor(($Numrows['_articles']['total']-1)/(10))*(10)));
$fin_boucle = min(($tout ? $Numrows['_articles']['total'] : $debut_boucle + 9), $Numrows['_articles']['total'] - 1);
$Numrows['_articles']['grand_total'] = $Numrows['_articles']['total'];
$Numrows['_articles']["total"] = max(0,$fin_boucle - $debut_boucle + 1);
if ($debut_boucle>0 AND $debut_boucle < $Numrows['_articles']['grand_total'] AND $iter->seek($debut_boucle,'continue'))
$Numrows['_articles']['compteur_boucle'] = $debut_boucle;
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$Numrows['_articles']['compteur_boucle']++;
if ($Numrows['_articles']['compteur_boucle'] <= $debut_boucle) continue;
if ($Numrows['_articles']['compteur_boucle']-1 > $fin_boucle) break;
lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
$t0 .= (
'
' .
recuperer_fond( 'inclure/article-resume' , array('id_article' => $Pile[$SP]['id_article'] ), array('compil'=>array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_articles',22,$GLOBALS['spip_lang'])), ''));
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_articles @ plugins/auto/zpip/contenu/rubrique=5.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_breveshtml_db2dcf9cf143bfcfcbf3d292b6d3f81d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['pagination'] = array((isset($Pile[0]['debut_breves']) ? $Pile[0]['debut_breves'] : null), 5);
if (!isset($command['table'])) {
$command['table'] = 'breves';
$command['id'] = '_breves';
$command['from'] = array('breves' => 'spip_breves');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("breves.date_heure",
"breves.id_breve",
"breves.date_heure AS date",
"breves.titre",
"breves.lang");
$command['orderby'] = array('breves.date_heure DESC');
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('breves.statut','publie,prop','publie',''),
array('=', 'breves.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'],'','bigint(21) NOT NULL DEFAULT \'0\'')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_breves',61,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
// COMPTEUR
$Numrows['_breves']['compteur_boucle'] = 0;
$Numrows['_breves']['total'] = @intval($iter->count());
$debut_boucle = isset($Pile[0]['debut_breves']) ? $Pile[0]['debut_breves'] : _request('debut_breves');
if(substr($debut_boucle,0,1)=='@'){
$debut_boucle = $Pile[0]['debut_breves'] = quete_debut_pagination('id_breve',$Pile[0]['@id_breve'] = substr($debut_boucle,1),5,$iter);
$iter->seek(0);
}
$debut_boucle = intval($debut_boucle);
$debut_boucle = (($tout=($debut_boucle == -1))?0:($debut_boucle));
$debut_boucle = max(0,min($debut_boucle,floor(($Numrows['_breves']['total']-1)/(5))*(5)));
$fin_boucle = min(($tout ? $Numrows['_breves']['total'] : $debut_boucle + 4), $Numrows['_breves']['total'] - 1);
$Numrows['_breves']['grand_total'] = $Numrows['_breves']['total'];
$Numrows['_breves']["total"] = max(0,$fin_boucle - $debut_boucle + 1);
if ($debut_boucle>0 AND $debut_boucle < $Numrows['_breves']['grand_total'] AND $iter->seek($debut_boucle,'continue'))
$Numrows['_breves']['compteur_boucle'] = $debut_boucle;
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$Numrows['_breves']['compteur_boucle']++;
if ($Numrows['_breves']['compteur_boucle'] <= $debut_boucle) continue;
if ($Numrows['_breves']['compteur_boucle']-1 > $fin_boucle) break;
lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
$t0 .= (
'
<li class="item">' .
(($t1 = strval(interdire_scripts(affdate_jourcourt(normaliser_date($Pile[$SP]['date'])))))!=='' ?
($t1 . ' – ') :
'') .
'<a href="' .
vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_breve'], 'breve', '', '', true))) .
'">' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) .
'</a></li>
');
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_breves @ plugins/auto/zpip/contenu/rubrique=5.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_syndichtml_db2dcf9cf143bfcfcbf3d292b6d3f81d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'syndic_articles';
$command['id'] = '_syndic';
$command['from'] = array('syndic_articles' => 'spip_syndic_articles','L1' => 'spip_syndic');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("syndic_articles.date",
"syndic_articles.url",
"syndic_articles.titre");
$command['orderby'] = array('syndic_articles.date DESC');
$command['join'] = array('L1' => array('syndic_articles','id_syndic'));
$command['limit'] = '0,3';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('L1.statut','publie,prop','publie',''),
quete_condition_statut('syndic_articles.statut','publie,prop','publie',''),
array('=', 'syndic_articles.id_syndic', sql_quote($Pile[$SP]['id_syndic'],'','bigint(21) NOT NULL DEFAULT \'0\'')),
array('<', 'LEAST((UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(syndic_articles.date))/86400,
TO_DAYS(NOW())-TO_DAYS(syndic_articles.date),
DAYOFMONTH(NOW())-DAYOFMONTH(syndic_articles.date)+30.4368*(MONTH(NOW())-MONTH(syndic_articles.date))+365.2422*(YEAR(NOW())-YEAR(syndic_articles.date)))', "180"));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_syndic',84,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
<li><a href="' .
vider_url($Pile[$SP]['url']) .
'" class="spip_out">' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) .
'</a></li>
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_syndic @ plugins/auto/zpip/contenu/rubrique=5.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_siteshtml_db2dcf9cf143bfcfcbf3d292b6d3f81d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'syndic';
$command['id'] = '_sites';
$command['from'] = array('syndic' => 'spip_syndic');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("syndic.id_syndic",
"syndic.date",
"syndic.nom_site",
"syndic.url_site");
$command['orderby'] = array('syndic.nom_site');
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('syndic.statut','publie,prop','publie',''),
array('=', 'syndic.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'],'','bigint(21) NOT NULL DEFAULT \'0\'')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_sites',77,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
<li class="item">
<a href="' .
generer_url_entite($Pile[$SP]['id_syndic'],'site','','',($connect ? $connect : NULL)) .
'">' .
interdire_scripts(typo(supprimer_numero(calculer_url($Pile[$SP]['url_site'],$Pile[$SP]['nom_site'], 'titre', $connect, false)), "TYPO", $connect, $Pile[0])) .
'</a>
' .
(($t1 = BOUCLE_syndichtml_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
<ul>
' . $t1 . '
</ul>
') :
'') .
'
</li>
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_sites @ plugins/auto/zpip/contenu/rubrique=5.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_contenu_rubriquehtml_db2dcf9cf143bfcfcbf3d292b6d3f81d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'rubriques';
$command['id'] = '_contenu_rubrique';
$command['from'] = array('rubriques' => 'spip_rubriques');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("rubriques.id_rubrique",
"rubriques.titre",
"rubriques.date",
"rubriques.texte",
"rubriques.lang");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('rubriques.statut','!','publie',''),
array('=', 'rubriques.id_rubrique', sql_quote(@$Pile[0]['id_rubrique'],'','bigint(21) NOT NULL AUTO_INCREMENT')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_contenu_rubrique',1,$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 .= (
'
<p id="hierarchie"><a href="' .
spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) .
'/">' .
_T('public|spip|ecrire:accueil_site') .
'</a>' .
BOUCLE_arianehtml_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP) .
(($t1 = strval(interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0]),'80'))))!=='' ?
(' > <strong class="on">' . $t1 . '</strong>') :
'') .
'</p>
<div class="contenu-principal">
<div class="cartouche">
' .
filtrer('image_graver',filtrer('image_reduire',
((!is_array($l = quete_logo('id_rubrique', 'ON', $Pile[$SP]['id_rubrique'],quete_parent($Pile[$SP]['id_rubrique']), 0))) ? '':
("<img class=\"spip_logos\" alt=\"\" src=\"$l[0]\"" . $l[2] . ($l[1] ? " onmouseover=\"this.src='$l[1]'\" onmouseout=\"this.src='$l[0]'\"" : "") . ' />')),'125','50')) .
'
<h1 class="h1 ">' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) .
'</h1>
<!-- ' .
(($t1 = strval(interdire_scripts(affdate_jourcourt(normaliser_date($Pile[$SP]['date'])))))!=='' ?
(( '<p class="info-publi"><span class="published">' .
_T('public|spip|ecrire:dernier_ajout') .
' : ') . $t1 . '.</span></p>') :
'') .
' -->
</div>
<!-- ' .
(($t1 = strval(interdire_scripts(propre($Pile[$SP]['texte'], $connect, $Pile[0]))))!=='' ?
(( '<div class="chapo">') . $t1 . '</div>') :
'') .
' -->
</div>
' .
(($t1 = BOUCLE_articleshtml_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<div class="liste articles">
' .
filtre_pagination_dist($Numrows["_articles"]["grand_total"],
'_articles',
isset($Pile[0]['debut_articles'])?$Pile[0]['debut_articles']:intval(_request('debut_articles')),
10, false, '', '', array()) .
'
<!-- <h2 class="h2">' .
_T('public|spip|ecrire:articles_rubrique') .
'</h2> -->
<ul class="liste-items">
') . $t1 . ( '
</ul>
' .
(($t3 = strval(filtre_pagination_dist($Numrows["_articles"]["grand_total"],
'_articles',
isset($Pile[0]['debut_articles'])?$Pile[0]['debut_articles']:intval(_request('debut_articles')),
10, true, '', '', array())))!=='' ?
('<p class="pagination">' . $t3 . '</p>') :
'') .
'
</div>
')) :
(( '
' .
(($t2 = BOUCLE_sous_rubriqueshtml_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<div class="menu rubriques">
<!-- <h2 class="h2">' .
_T('public|spip|ecrire:sous_rubriques') .
'</h2> -->
<ul class="menu-liste">
') . $t2 . '
</ul>
</div>
') :
'') .
'
'))) .
'
' .
recuperer_fond( 'inclure/documents' , array('id_rubrique' => $Pile[$SP]['id_rubrique'] ), array('compil'=>array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_contenu_rubrique',58,$GLOBALS['spip_lang'])), '') .
'
' .
(($t1 = BOUCLE_breveshtml_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<div id="fondMain">
<div class="liste breves">
' .
filtre_pagination_dist($Numrows["_breves"]["grand_total"],
'_breves',
isset($Pile[0]['debut_breves'])?$Pile[0]['debut_breves']:intval(_request('debut_breves')),
5, false, '', '', array()) .
'
<h2 class="h2">' .
_T('public|spip|ecrire:breves') .
'</h2>
<ul class="liste-items">
') . $t1 . ( '
</ul>
' .
(($t3 = strval(filtre_pagination_dist($Numrows["_breves"]["grand_total"],
'_breves',
isset($Pile[0]['debut_breves'])?$Pile[0]['debut_breves']:intval(_request('debut_breves')),
5, true, '', '', array())))!=='' ?
('<p class="pagination">' . $t3 . '</p>') :
'') .
'
</div>
</div>
')) :
'') .
'
' .
(($t1 = BOUCLE_siteshtml_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<div class="liste sites">
<h2 class="h2">' .
_T('public|spip|ecrire:sur_web') .
'</h2>
<ul class="liste-items">
') . $t1 . '
</ul>
</div>
') :
'') .
'
' .
executer_balise_dynamique('FORMULAIRE_SITE',
array($Pile[$SP]['id_rubrique']),
array('plugins/auto/zpip/contenu/rubrique=5.html','html_db2dcf9cf143bfcfcbf3d292b6d3f81d','_contenu_rubrique',98,$GLOBALS['spip_lang'])) .
'
' .
(($t1 = strval(interdire_scripts(calculer_notes())))!=='' ?
(( '<div class="notes"><h2 class="h2">' .
_T('public|spip|ecrire:info_notes') .
'</h2>') . $t1 . '</div>') :
'') .
'
<script type="text/javascript">
(function(a){a(document).ready(function(){a("body").prepend(\'<div id="supersized-loader"></div>\').prepend(\'<div id="supersized"></div>\')});a.supersized=function(t){var c={slideshow:1,autoplay:1,start_slide:1,random:0,slide_interval:5000,transition:1,transition_speed:750,new_window:1,pause_hover:0,keyboard_nav:1,performance:1,image_protect:1,image_path:"img/",min_width:0,min_height:0,vertical_center:1,horizontal_center:1,fit_portrait:0,fit_landscape:0,navigation:1,thumbnail_navigation:0,slide_counter:1,slide_captions:1};var k=a("#supersized");var d="#pauseplay";if(t){var t=a.extend(c,t)}else{var t=a.extend(c)}var b=false;var n=false;var m=t.image_path;if(t.start_slide){var l=t.start_slide-1}else{var l=Math.floor(Math.random()*t.slides.length)}var s=t.new_window?\' target="_blank"\':"";if(t.performance==3){k.addClass("speed")}else{if((t.performance==1)||(t.performance==2)){k.addClass("quality")}}if(t.random){arr=t.slides;for(var f,q,h=arr.length;h;f=parseInt(Math.random()*h),q=arr[--h],arr[h]=arr[f],arr[f]=q){}t.slides=arr}if(t.slides.length>1){l-1<0?loadPrev=t.slides.length-1:loadPrev=l-1;var e=(t.slides[loadPrev].url)?"href=\'"+t.slides[loadPrev].url+"\'":"";a("<img/>").attr("src",t.slides[loadPrev].image).appendTo(k).wrap("<a "+e+s+"></a>")}e=(t.slides[l].url)?"href=\'"+t.slides[l].url+"\'":"";a("<img/>").attr("src",t.slides[l].image).appendTo(k).wrap(\'<a class="activeslide" \'+e+s+"></a>");if(t.slides.length>1){l==t.slides.length-1?loadNext=0:loadNext=l+1;e=(t.slides[loadNext].url)?"href=\'"+t.slides[loadNext].url+"\'":"";a("<img/>").attr("src",t.slides[loadNext].image).appendTo(k).wrap("<a "+e+s+"></a>")}k.hide();a("#controls-wrapper").hide();a(document).ready(function(){r()});a(window).load(function(){a("#supersized-loader").hide();k.fadeIn("fast");a("#controls-wrapper").show();if(t.thumbnail_navigation){l-1<0?prevThumb=t.slides.length-1:prevThumb=l-1;a("#prevthumb").show().html(a("<img/>").attr("src",t.slides[prevThumb].image));l==t.slides.length-1?nextThumb=0:nextThumb=l+1;a("#nextthumb").show().html(a("<img/>").attr("src",t.slides[nextThumb].image))}r();if(t.slide_captions){a("#slidecaption").html(t.slides[l].title)}if(!(t.navigation)){a("#navigation").hide()}if(t.slideshow&&t.slides.length>1){if(t.slide_counter){a("#slidecounter .slidenumber").html(l+1);a("#slidecounter .totalslides").html(t.slides.length)}slideshow_interval=setInterval(o,t.slide_interval);if(!(t.autoplay)){clearInterval(slideshow_interval);n=true;if(a(d).attr("src")){a(d).attr("src",m+"play_dull.png")}}if(t.thumbnail_navigation){a("#nextthumb").click(function(){if(b){return false}clearInterval(slideshow_interval);o(k,t);if(!(n)){slideshow_interval=setInterval(o,t.slide_interval)}return false});a("#prevthumb").click(function(){if(b){return false}clearInterval(slideshow_interval);g(k,t);if(!(n)){slideshow_interval=setInterval(o,t.slide_interval)}return false})}if(t.navigation){a("#navigation a").click(function(){a(this).blur();return false});a("#nextslide").click(function(){if(b){return false}clearInterval(slideshow_interval);o();if(!(n)){slideshow_interval=setInterval(o,t.slide_interval)}return false});if(a("#nextslide").attr("src")){a("#nextslide").mousedown(function(){a(this).attr("src",m+"forward.png")});a("#nextslide").mouseup(function(){a(this).attr("src",m+"forward_dull.png")});a("#nextslide").mouseout(function(){a(this).attr("src",m+"forward_dull.png")})}a("#prevslide").click(function(){if(b){return false}clearInterval(slideshow_interval);g();if(!(n)){slideshow_interval=setInterval(o,t.slide_interval)}return false});if(a("#prevslide").attr("src")){a("#prevslide").mousedown(function(){a(this).attr("src",m+"back.png")});a("#prevslide").mouseup(function(){a(this).attr("src",m+"back_dull.png")});a("#prevslide").mouseout(function(){a(this).attr("src",m+"back_dull.png")})}a(d).click(function(){if(b){return false}if(n){if(a(d).attr("src")){a(d).attr("src",m+"pause_dull.png")}n=false;slideshow_interval=setInterval(o,t.slide_interval)}else{if(a(d).attr("src")){a(d).attr("src",m+"play_dull.png")}clearInterval(slideshow_interval);n=true}return false})}}});if(t.keyboard_nav){a(document.documentElement).keydown(function(i){if((i.keyCode==37)||(i.keyCode==40)){if(a("#prevslide").attr("src")){a("#prevslide").attr("src",m+"back.png")}}else{if((i.keyCode==39)||(i.keyCode==38)){if(a("#nextslide").attr("src")){a("#nextslide").attr("src",m+"forward.png")}}}});a(document.documentElement).keyup(function(i){clearInterval(slideshow_interval);if((i.keyCode==37)||(i.keyCode==40)){if(a("#prevslide").attr("src")){a("#prevslide").attr("src",m+"back_dull.png")}if(b){return false}clearInterval(slideshow_interval);g();if(!(n)){slideshow_interval=setInterval(o,t.slide_interval)}return false}else{if((i.keyCode==39)||(i.keyCode==38)){if(a("#nextslide").attr("src")){a("#nextslide").attr("src",m+"forward_dull.png")}if(b){return false}clearInterval(slideshow_interval);o();if(!(n)){slideshow_interval=setInterval(o,t.slide_interval)}return false}else{if(i.keyCode==32){if(b){return false}if(n){if(a(d).attr("src")){a(d).attr("src",m+"pause_dull.png")}n=false;slideshow_interval=setInterval(o,t.slide_interval)}else{if(a(d).attr("src")){a(d).attr("src",m+"play_dull.png")}n=true}return false}}}})}if(t.slideshow&&t.pause_hover){a(k).hover(function(){if(b){return false}if(!(n)&&t.navigation){if(a(d).attr("src")){a(d).attr("src",m+"pause.png")}clearInterval(slideshow_interval)}},function(){if(!(n)&&t.navigation){if(a(d).attr("src")){a(d).attr("src",m+"pause_dull.png")}slideshow_interval=setInterval(o,t.slide_interval)}})}a(window).resize(function(){r()});function r(){return k.each(function(){var i=a("img",k);a(i).each(function(){var u=(a(this).height()/a(this).width()).toFixed(2);thisSlide=a(this);var j=a(window).width();var w=a(window).height();var x;if((w<=t.min_height)&&(j<=t.min_width)){if((w/j)>u){t.fit_landscape&&u<=1?v(true):y(true)}else{t.fit_portrait&&u>1?y(true):v(true)}}else{if(j<=t.min_width){if((w/j)>u){t.fit_landscape&&u<=1?v(true):y()}else{t.fit_portrait&&u>1?y():v(true)}}else{if(w<=t.min_height){if((w/j)>u){t.fit_landscape&&u<=1?v():y(true)}else{t.fit_portrait&&u>1?y(true):v()}}else{if((w/j)>u){t.fit_landscape&&u<=1?v():y()}else{t.fit_portrait&&u>1?y():v()}}}}function v(z){if(z){if(thisSlide.width()<j||thisSlide.width()<t.min_width){if(thisSlide.width()*u>=t.min_height){thisSlide.width(t.min_width);thisSlide.height(thisSlide.width()*u)}else{y()}}}else{if(t.min_height>=w&&!t.fit_landscape){if(j*u>=t.min_height||(j*u>=t.min_height&&u<=1)){thisSlide.width(j);thisSlide.height(j*u)}else{if(u>1){thisSlide.height(t.min_height);thisSlide.width(thisSlide.height()/u)}else{if(thisSlide.width()<j){thisSlide.width(j);thisSlide.height(thisSlide.width()*u)}}}}else{thisSlide.width(j);thisSlide.height(j*u)}}}function y(z){if(z){if(thisSlide.height()<w){if(thisSlide.height()/u>=t.min_width){thisSlide.height(t.min_height);thisSlide.width(thisSlide.height()/u)}else{v(true)}}}else{if(t.min_width>=j){if(w/u>=t.min_width||u>1){thisSlide.height(w);thisSlide.width(w/u)}else{if(u<=1){thisSlide.width(t.min_width);thisSlide.height(thisSlide.width()*u)}}}else{thisSlide.height(w);thisSlide.width(w/u)}}}if(t.horizontal_center){a(this).css("left",(j-a(this).width())/2)}if(t.vertical_center){a(this).css("top",(w-a(this).height())/2)}});if(t.image_protect){a("img",k).bind("contextmenu",function(){return false});a("img",k).bind("mousedown",function(){return false})}return false})}function o(){if(b){return false}else{b=true}var u=t.slides;var j=k.find(".activeslide");j.removeClass("activeslide");if(j.length==0){j=k.find("a:last")}var i=j.next().length?j.next():k.find("a:first");var v=i.prev().length?i.prev():k.find("a:last");a(".prevslide").removeClass("prevslide");v.addClass("prevslide");l+1==u.length?l=0:l++;if(t.performance==1){k.removeClass("quality").addClass("speed")}loadSlide=false;l==u.length-1?loadSlide=0:loadSlide=l+1;e=(t.slides[loadSlide].url)?"href=\'"+t.slides[loadSlide].url+"\'":"";a("<img/>").attr("src",t.slides[loadSlide].image).appendTo(k).wrap("<a "+e+s+"></a>");if(t.thumbnail_navigation==1){l-1<0?prevThumb=u.length-1:prevThumb=l-1;a("#prevthumb").html(a("<img/>").attr("src",t.slides[prevThumb].image));nextThumb=loadSlide;a("#nextthumb").html(a("<img/>").attr("src",t.slides[nextThumb].image))}j.prev().remove();if(t.slide_counter){a("#slidecounter .slidenumber").html(l+1)}if(t.slide_captions){(t.slides[l].title)?a("#slidecaption").html(t.slides[l].title):a("#slidecaption").html("")}i.hide().addClass("activeslide");switch(t.transition){case 0:i.show();b=false;break;case 1:i.fadeTo(t.transition_speed,1,function(){p()});break;case 2:i.animate({top:-a(window).height()},0).show().animate({top:0},t.transition_speed,function(){p()});break;case 3:i.animate({left:a(window).width()},0).show().animate({left:0},t.transition_speed,function(){p()});break;case 4:i.animate({top:a(window).height()},0).show().animate({top:0},t.transition_speed,function(){p()});break;case 5:i.animate({left:-a(window).width()},0).show().animate({left:0},t.transition_speed,function(){p()});break;case 6:i.animate({left:a(window).width()},0).show().animate({left:0},t.transition_speed,function(){p()});j.animate({left:-a(window).width()},t.transition_speed);break;case 7:i.animate({left:-a(window).width()},0).show().animate({left:0},t.transition_speed,function(){p()});j.animate({left:a(window).width()},t.transition_speed);break}}function g(){if(b){return false}else{b=true}var u=t.slides;var j=k.find(".activeslide");j.removeClass("activeslide");if(j.length==0){j=a(k).find("a:first")}var i=j.prev().length?j.prev():a(k).find("a:last");var v=i.next().length?i.next():a(k).find("a:first");a(".prevslide").removeClass("prevslide");v.addClass("prevslide");l==0?l=u.length-1:l--;if(t.performance==1){k.removeClass("quality").addClass("speed")}loadSlide=false;l-1<0?loadSlide=u.length-1:loadSlide=l-1;e=(t.slides[loadSlide].url)?"href=\'"+t.slides[loadSlide].url+"\'":"";a("<img/>").attr("src",t.slides[loadSlide].image).prependTo(k).wrap("<a "+e+s+"></a>");if(t.thumbnail_navigation==1){prevThumb=loadSlide;a("#prevthumb").html(a("<img/>").attr("src",t.slides[prevThumb].image));l==u.length-1?nextThumb=0:nextThumb=l+1;a("#nextthumb").html(a("<img/>").attr("src",t.slides[nextThumb].image))}j.next().remove();if(t.slide_counter){a("#slidecounter .slidenumber").html(l+1)}if(t.slide_captions){(t.slides[l].title)?a("#slidecaption").html(t.slides[l].title):a("#slidecaption").html("")}i.hide().addClass("activeslide");switch(t.transition){case 0:i.show();b=false;break;case 1:i.fadeTo(t.transition_speed,1,function(){p()});break;case 2:i.animate({top:a(window).height()},0).show().animate({top:0},t.transition_speed,function(){p()});break;case 3:i.animate({left:-a(window).width()},0).show().animate({left:0},t.transition_speed,function(){p()});break;case 4:i.animate({top:-a(window).height()},0).show().animate({top:0},t.transition_speed,function(){p()});break;case 5:i.animate({left:a(window).width()},0).show().animate({left:0},t.transition_speed,function(){p()});break;case 6:i.animate({left:-a(window).width()},0).show().animate({left:0},t.transition_speed,function(){p()});j.animate({left:a(window).width()},t.transition_speed);break;case 7:i.animate({left:a(window).width()},0).show().animate({left:0},t.transition_speed,function(){p()});j.animate({left:-a(window).width()},t.transition_speed);break}}function p(){b=false;if(t.performance==1){k.removeClass("speed").addClass("quality")}r()}}})(jQuery);
$(document).ready(function(){
Cufon.replace(\'#nav\', {fontFamily: \'font\', hover: {color:\'#fff\',textShadow: \'0px 0px #fff\' }});
Cufon.replace(\'#breadcrumbs span, .special, .box, h3\', { fontFamily: \'font\', hover: \'true\' });
Cufon.replace(\'#signature a, #facebook a\', { fontFamily: \'font\',textShadow: \'0px 0px #B' .
'9B9B9\', hover: {color:\'#fff\',textShadow: \'0px 0px #fff\' } });
Cufon.replace(\'h1, h2\', {textShadow: \'0px 0px #ffad00\' });
$.supersized({
slide_interval: 7500,
transition_speed: 700,
keyboard_nav: 0,
fit_landscape: 0,
navigation : 0,
thumbnail_navigation : 0,
slide_counter : 0,
slide_captions : 0,
slides : [
{image : \'plugins/auto/theme_HigherGround1-1/img/rub5_slide1.jpg\'},
{image : \'plugins/auto/theme_HigherGround1-1/img/rub5_slide2.jpg\'},
{image : \'plugins/auto/theme_HigherGround1-1/img/rub5_slide3.jpg\'},
{image : \'plugins/auto/theme_HigherGround1-1/img/rub5_slide4.jpg\'},
{image : \'plugins/auto/theme_HigherGround1-1/img/rub5_slide5.jpg\'}
]
});
if ($.browser.msie && $.browser.version < 8) return;
$(\'#nav li\').hover(
function () {$(this).children().stop().animate({paddingLeft: 70, paddingRight: 15, color: "rgb(244,149,0)"},{queue:false, duration:1000, easing: \'swing\'} );},
function () {$(this).children().stop().animate({paddingLeft: 45, paddingRight: 8, color: "rgb(244,149,0)"},{queue:false, duration:600, easing: \'swing\'} );}
);
$(\'#facebook\').hover(
function () {$(this).stop().animate({paddingRight: 35, backgroundColor: "rgb(44,80,152)"},{queue:false, duration:1000, easing: \'swing\'} );},
function () {$(this).stop().animate({paddingRight: 10, backgroundColor: "rgba(37,37,37,0.80)"},{queue:false, duration:600, easing: \'swing\'} );}
);
$(\'#signature\').hover(
function () {$(this).stop().animate({paddingRight: 35, backgroundColor: "rgb(70,54,126)"},{queue:false, duration:1000, easing: \'swing\'} );},
function () {$(this).stop().animate({paddingRight: 10, backgroundColor: "rgba(37,37,37,0.80)"},{queue:false, duration:600, easing: \'swing\'} );}
);
$(\'.box\').hover(function () {
$(this).animate({ backgroundColor: "rgba(5,2,0,0.50)" }, 500);
$(this).children("img").animate({ opacity: 0.85 }, 500);
},function () {
$(this).animate({ backgroundColor: "rgba(5,2,0,0.85)" }, 500);
$(this).children("img").animate({ opacity: 0.35 }, 500);
});
});
</script>
');
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_contenu_rubrique @ plugins/auto/zpip/contenu/rubrique=5.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette plugins/auto/zpip/contenu/rubrique=5.html
// Temps de compilation total: 148.992 ms
//
function html_db2dcf9cf143bfcfcbf3d292b6d3f81d($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_contenu_rubriquehtml_db2dcf9cf143bfcfcbf3d292b6d3f81d($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_db2dcf9cf143bfcfcbf3d292b6d3f81d', $Cache, $page, 'plugins/auto/zpip/contenu/rubrique=5.html');
}
?>