uawdijnntqw1x1x1
IP : 216.73.216.249
Hostname : webm001.cluster110.gra.hosting.ovh.net
Kernel : Linux webm001.cluster110.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
etiennec
/
www
/
tmp
/
cache
/
skel
/
html_13ee593cd4dcb072d66f2df010fd2bbe.php
/
/
<?php /* * Squelette : plugins/auto/zpip/backend.html * Date : Sun, 27 Sep 2015 12:45:55 GMT * Compile : Sun, 11 Oct 2015 20:04:14 GMT * Boucles : _10recents, _tres_recents */ function BOUCLE_10recentshtml_13ee593cd4dcb072d66f2df010fd2bbe(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $doublons_index = array(); $in = array(); if (!(is_array($a = (@$Pile[0]['lang'])))) $in[]= $a; else $in = array_merge($in, $a); $in1 = array(); if (!(is_array($a = (@$Pile[0]['id_mot'])))) $in1[]= $a; else $in1 = array_merge($in1, $a); $in2 = array(); if (!(is_array($a = (@$Pile[0]['id_auteur'])))) $in2[]= $a; else $in2 = array_merge($in2, $a); // Initialise le(s) critère(s) doublons if (!isset($doublons[$d = 'articles'])) { $doublons[$d] = ''; } if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_10recents'; $command['from'] = array('articles' => 'spip_articles','L1' => 'spip_mots_liens','L2' => 'spip_auteurs_liens'); $command['type'] = array(); $command['groupby'] = array("articles.id_article"); $command['select'] = array("articles.date", "articles.id_article", "articles.lang", "articles.titre"); $command['orderby'] = array('articles.date DESC'); $command['join'] = array('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article')), 'L2' => array('articles','id_objet','id_article','L2.objet='.sql_quote('article'))); $command['limit'] = '0,10'; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), quete_condition_postdates('articles.date',''), (!(is_array(@$Pile[0]['lang'])?count(@$Pile[0]['lang']):strlen(@$Pile[0]['lang'])) ? '' : ((is_array(@$Pile[0]['lang'])) ? sql_in('articles.lang',sql_quote($in)) : array('=', 'articles.lang', sql_quote($GLOBALS['spip_lang'],'','varchar(10) NOT NULL DEFAULT \'\'')))), (@$Pile[0]['id_rubrique'] ? sql_in('articles.id_rubrique', calcul_branche_in(@$Pile[0]['id_rubrique'])) : '1=1'), (!(is_array(@$Pile[0]['id_mot'])?count(@$Pile[0]['id_mot']):strlen(@$Pile[0]['id_mot'])) ? '' : ((is_array(@$Pile[0]['id_mot'])) ? sql_in('L1.id_mot',sql_quote($in1)) : array('=', 'L1.id_mot', sql_quote(@$Pile[0]['id_mot'],'','bigint(21) NOT NULL DEFAULT \'0\'')))), (!(is_array(@$Pile[0]['id_auteur'])?count(@$Pile[0]['id_auteur']):strlen(@$Pile[0]['id_auteur'])) ? '' : ((is_array(@$Pile[0]['id_auteur'])) ? sql_in('L2.id_auteur',sql_quote($in2)) : array('=', 'L2.id_auteur', sql_quote(@$Pile[0]['id_auteur'],'','bigint(21) NOT NULL DEFAULT \'0\'')))), array(sql_in('articles.id_article', $doublons[$doublons_index[]= ('articles')], 'NOT'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('plugins/auto/zpip/backend.html','html_13ee593cd4dcb072d66f2df010fd2bbe','_10recents',33,$GLOBALS['spip_lang']) ); if (!$iter->err()) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { foreach($doublons_index as $k) $doublons[$k] .= "," . $Pile[$SP]['id_article']; // doublons lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/rss-item') . ', array(\'id_article\' => ' . argumenter_squelette($Pile[$SP]['id_article']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/zpip/backend.html\',\'html_13ee593cd4dcb072d66f2df010fd2bbe\',\'\',34,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> '); } lang_select(); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_10recents @ plugins/auto/zpip/backend.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_tres_recentshtml_13ee593cd4dcb072d66f2df010fd2bbe(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $doublons_index = array(); $in = array(); if (!(is_array($a = (@$Pile[0]['lang'])))) $in[]= $a; else $in = array_merge($in, $a); $in1 = array(); if (!(is_array($a = (@$Pile[0]['id_mot'])))) $in1[]= $a; else $in1 = array_merge($in1, $a); $in2 = array(); if (!(is_array($a = (@$Pile[0]['id_auteur'])))) $in2[]= $a; else $in2 = array_merge($in2, $a); // Initialise le(s) critère(s) doublons if (!isset($doublons[$d = 'articles'])) { $doublons[$d] = ''; } if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_tres_recents'; $command['from'] = array('articles' => 'spip_articles','L1' => 'spip_mots_liens','L2' => 'spip_auteurs_liens'); $command['type'] = array(); $command['groupby'] = array("articles.id_article"); $command['select'] = array("articles.date", "articles.id_article", "articles.lang", "articles.titre"); $command['orderby'] = array('articles.date DESC'); $command['join'] = array('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article')), 'L2' => array('articles','id_objet','id_article','L2.objet='.sql_quote('article'))); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), quete_condition_postdates('articles.date',''), (!(is_array(@$Pile[0]['lang'])?count(@$Pile[0]['lang']):strlen(@$Pile[0]['lang'])) ? '' : ((is_array(@$Pile[0]['lang'])) ? sql_in('articles.lang',sql_quote($in)) : array('=', 'articles.lang', sql_quote($GLOBALS['spip_lang'],'','varchar(10) NOT NULL DEFAULT \'\'')))), (@$Pile[0]['id_rubrique'] ? sql_in('articles.id_rubrique', calcul_branche_in(@$Pile[0]['id_rubrique'])) : '1=1'), (!(is_array(@$Pile[0]['id_mot'])?count(@$Pile[0]['id_mot']):strlen(@$Pile[0]['id_mot'])) ? '' : ((is_array(@$Pile[0]['id_mot'])) ? sql_in('L1.id_mot',sql_quote($in1)) : array('=', 'L1.id_mot', sql_quote(@$Pile[0]['id_mot'],'','bigint(21) NOT NULL DEFAULT \'0\'')))), (!(is_array(@$Pile[0]['id_auteur'])?count(@$Pile[0]['id_auteur']):strlen(@$Pile[0]['id_auteur'])) ? '' : ((is_array(@$Pile[0]['id_auteur'])) ? sql_in('L2.id_auteur',sql_quote($in2)) : array('=', 'L2.id_auteur', sql_quote(@$Pile[0]['id_auteur'],'','bigint(21) NOT NULL DEFAULT \'0\'')))), array('<', 'LEAST((UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(articles.date))/86400, TO_DAYS(NOW())-TO_DAYS(articles.date), DAYOFMONTH(NOW())-DAYOFMONTH(articles.date)+30.4368*(MONTH(NOW())-MONTH(articles.date))+365.2422*(YEAR(NOW())-YEAR(articles.date)))', "3"), array(sql_in('articles.id_article', $doublons[$doublons_index[]= ('articles')], 'NOT'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('plugins/auto/zpip/backend.html','html_13ee593cd4dcb072d66f2df010fd2bbe','_tres_recents',37,$GLOBALS['spip_lang']) ); if (!$iter->err()) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { foreach($doublons_index as $k) $doublons[$k] .= "," . $Pile[$SP]['id_article']; // doublons lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/rss-item') . ', array(\'id_article\' => ' . argumenter_squelette($Pile[$SP]['id_article']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/zpip/backend.html\',\'html_13ee593cd4dcb072d66f2df010fd2bbe\',\'\',38,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> '); } lang_select(); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_tres_recents @ plugins/auto/zpip/backend.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette plugins/auto/zpip/backend.html // Temps de compilation total: 18.392 ms // function html_13ee593cd4dcb072d66f2df010fd2bbe($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 = ( '<'.'?php header("' . ( 'Content-type: text/xml' . (($t2 = strval(interdire_scripts($GLOBALS['meta']['charset'])))!=='' ? ('; charset=' . $t2) : '')) . '"); ?'.'><?xml version="1.0"' . (($t1 = strval(interdire_scripts($GLOBALS['meta']['charset'])))!=='' ? (' encoding="' . $t1 . '"') : '') . '?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" > <channel' . (($t1 = strval(spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' xml:lang="' . $t1 . '"') : '') . '> <title>' . interdire_scripts(texte_backend(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0])))) . '</title> <link>' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '/</link> ' . (($t1 = strval(interdire_scripts(texte_backend(supprimer_tags(propre($GLOBALS['meta']['descriptif_site'], $connect, $Pile[0]))))))!=='' ? ('<description>' . $t1 . '</description>') : '') . ' <language>' . spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang']) . '</language> <generator>SPIP - www.spip.net</generator> <atom:link href="' . url_absolue(self()) . '" rel="self" type="application/rss+xml" /> ' . (($t1 = strval(texte_backend(url_absolue(extraire_attribut(filtrer('image_graver', filtrer('image_reduire', ((!is_array($l = quete_logo('id_syndic', 'ON', "'0'",'', 0))) ? '': ("<img class=\"spip_logos\" alt=\"\" src=\"$l[0]\"" . $l[2] . ($l[1] ? " onmouseover=\"this.src='$l[1]'\" onmouseout=\"this.src='$l[0]'\"" : "") . ' />')),'144','400')),'src')))))!=='' ? (( ' <image> <title>' . interdire_scripts(texte_backend(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))) . '</title> <url>') . $t1 . ( '</url> <link>' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '/</link> ' . (($t2 = strval(extraire_attribut(filtrer('image_graver', filtrer('image_reduire', ((!is_array($l = quete_logo('id_syndic', 'ON', "'0'",'', 0))) ? '': ("<img class=\"spip_logos\" alt=\"\" src=\"$l[0]\"" . $l[2] . ($l[1] ? " onmouseover=\"this.src='$l[1]'\" onmouseout=\"this.src='$l[0]'\"" : "") . ' />')),'144','400')),'height')))!=='' ? ('<height>' . $t2 . '</height>') : '') . ' ' . (($t2 = strval(extraire_attribut(filtrer('image_graver', filtrer('image_reduire', ((!is_array($l = quete_logo('id_syndic', 'ON', "'0'",'', 0))) ? '': ("<img class=\"spip_logos\" alt=\"\" src=\"$l[0]\"" . $l[2] . ($l[1] ? " onmouseover=\"this.src='$l[1]'\" onmouseout=\"this.src='$l[0]'\"" : "") . ' />')),'144','400')),'width')))!=='' ? ('<width>' . $t2 . '</width>') : '') . ' </image> ')) : '') . ' ' . BOUCLE_10recentshtml_13ee593cd4dcb072d66f2df010fd2bbe($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . BOUCLE_tres_recentshtml_13ee593cd4dcb072d66f2df010fd2bbe($Cache, $Pile, $doublons, $Numrows, $SP) . ' </channel> </rss> '); return analyse_resultat_skel('html_13ee593cd4dcb072d66f2df010fd2bbe', $Cache, $page, 'plugins/auto/zpip/backend.html'); } ?>
/home/etiennec/www/tmp/cache/skel/html_13ee593cd4dcb072d66f2df010fd2bbe.php