OwlCyberSecurity - MANAGER
Edit File: html_1170367259e7df590711ff21478f09d6.php
<?php /* * Squelette : plugins/squelette_blrap_0.0.1/recherche.html * Date : Mon, 11 May 2015 20:49:06 GMT * Compile : Tue, 15 Sep 2026 11:26:14 GMT * Boucles : _articles, _rubriques, _breves */ function BOUCLE_articleshtml_1170367259e7df590711ff21478f09d6(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; // RECHERCHE { $prepare_recherche = charger_fonction('prepare_recherche', 'inc'); list($rech_select, $rech_where) = $prepare_recherche((isset($Pile[0]["recherche"])?$Pile[0]["recherche"]:(isset($GLOBALS["recherche"])?$GLOBALS["recherche"]:"")), "articles", "","",array ( ),"id_article"); } $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','resultats' => 'spip_resultats','L1' => 'spip_mots_liens','L2' => 'spip_mots','L3' => 'spip_mots_liens','L4' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array("articles.id_article"); $command['orderby'] = array('points DESC'); $command['join'] = array('resultats' => array('articles','id','id_article'), 'L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article')), 'L2' => array('L1','id_mot'), 'L3' => array('articles','id_objet','id_article','L3.objet='.sql_quote('article')), 'L4' => array('L3','id_mot')); $command['limit'] = ''; $command['having'] = array(); } $command['select'] = array("articles.id_article", "$rech_select", "articles.titre", "articles.lang"); $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), $rech_where?$rech_where:'', array('=', 'articles.id_secteur', "1"), array('NOT', array('IN', 'articles.id_article', array('SELF', 'articles.id_article', array('=', 'L2.titre', "'accueil'")))), array('NOT', array('IN', 'articles.id_article', array('SELF', 'articles.id_article', array('=', 'L4.titre', "'bandeau_accueil'"))))); if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('plugins/squelette_blrap_0.0.1/recherche.html','html_1170367259e7df590711ff21478f09d6','_articles',33,$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 .= ( ' <li><a href="' . vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_article'], 'article', '', '', true))) . '">' . interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) . '</a></li> '); lang_select(); } 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/squelette_blrap_0.0.1/recherche.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_rubriqueshtml_1170367259e7df590711ff21478f09d6(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; // RECHERCHE { $prepare_recherche = charger_fonction('prepare_recherche', 'inc'); list($rech_select, $rech_where) = $prepare_recherche((isset($Pile[0]["recherche"])?$Pile[0]["recherche"]:(isset($GLOBALS["recherche"])?$GLOBALS["recherche"]:"")), "rubriques", "","",array ( ),"id_rubrique"); } $command['pagination'] = array((isset($Pile[0]['debut_rubriques']) ? $Pile[0]['debut_rubriques'] : null), 5); if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_rubriques'; $command['from'] = array('rubriques' => 'spip_rubriques','resultats' => 'spip_resultats'); $command['type'] = array(); $command['groupby'] = array(); $command['orderby'] = array('points DESC'); $command['join'] = array('resultats' => array('rubriques','id','id_rubrique')); $command['limit'] = ''; $command['having'] = array(); } $command['select'] = array("rubriques.id_rubrique", "$rech_select", "rubriques.titre", "rubriques.lang"); $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), $rech_where?$rech_where:'', array('=', 'rubriques.id_secteur', "1"), array('NOT', array('=', 'rubriques.id_rubrique', "1"))); if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('plugins/squelette_blrap_0.0.1/recherche.html','html_1170367259e7df590711ff21478f09d6','_rubriques',47,$GLOBALS['spip_lang']) ); if (!$iter->err()) { // COMPTEUR $Numrows['_rubriques']['compteur_boucle'] = 0; $Numrows['_rubriques']['total'] = @intval($iter->count()); $debut_boucle = isset($Pile[0]['debut_rubriques']) ? $Pile[0]['debut_rubriques'] : _request('debut_rubriques'); if(substr($debut_boucle,0,1)=='@'){ $debut_boucle = $Pile[0]['debut_rubriques'] = quete_debut_pagination('id_rubrique',$Pile[0]['@id_rubrique'] = 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['_rubriques']['total']-1)/(5))*(5))); $fin_boucle = min(($tout ? $Numrows['_rubriques']['total'] : $debut_boucle + 4), $Numrows['_rubriques']['total'] - 1); $Numrows['_rubriques']['grand_total'] = $Numrows['_rubriques']['total']; $Numrows['_rubriques']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_rubriques']['grand_total'] AND $iter->seek($debut_boucle,'continue')) $Numrows['_rubriques']['compteur_boucle'] = $debut_boucle; lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $Numrows['_rubriques']['compteur_boucle']++; if ($Numrows['_rubriques']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_rubriques']['compteur_boucle']-1 > $fin_boucle) break; lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' <li><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></li> '); lang_select(); } lang_select(); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_rubriques @ plugins/squelette_blrap_0.0.1/recherche.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_breveshtml_1170367259e7df590711ff21478f09d6(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; // RECHERCHE { $prepare_recherche = charger_fonction('prepare_recherche', 'inc'); list($rech_select, $rech_where) = $prepare_recherche((isset($Pile[0]["recherche"])?$Pile[0]["recherche"]:(isset($GLOBALS["recherche"])?$GLOBALS["recherche"]:"")), "breves", "","",array ( ),"id_breve"); } $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','resultats' => 'spip_resultats','L1' => 'spip_mots_liens','L2' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array("breves.id_breve"); $command['orderby'] = array('points DESC'); $command['join'] = array('resultats' => array('breves','id','id_breve'), 'L1' => array('breves','id_objet','id_breve','L1.objet='.sql_quote('breve')), 'L2' => array('L1','id_mot')); $command['limit'] = ''; $command['having'] = array(); } $command['select'] = array("breves.id_breve", "$rech_select", "breves.titre", "breves.lang"); $command['where'] = array( quete_condition_statut('breves.statut','publie,prop','publie',''), $rech_where?$rech_where:'', array('=', 'breves.id_rubrique', "1"), array('NOT', array('IN', 'breves.id_breve', array('SELF', 'breves.id_breve', array('=', 'L2.type', "'Réservés'"))))); if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('plugins/squelette_blrap_0.0.1/recherche.html','html_1170367259e7df590711ff21478f09d6','_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><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(); } 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/squelette_blrap_0.0.1/recherche.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette plugins/squelette_blrap_0.0.1/recherche.html // Temps de compilation total: 15.977 ms // function html_1170367259e7df590711ff21478f09d6($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 = ( '<!DOCTYPE html> <!--[if IE 7]><html lang="' . spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang']) . '" dir="' . lang_dir(@$Pile[0]['lang'], 'ltr','rtl') . '" class="' . spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang']) . ' ' . lang_dir(@$Pile[0]['lang'], 'ltr','rtl') . ' no-js ie ie7 lt-ie8 lt-ie9 lt-ie10"><![endif]--> <!--[if IE 8]><html lang="' . spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang']) . '" dir="' . lang_dir(@$Pile[0]['lang'], 'ltr','rtl') . '" class="' . spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang']) . ' ' . lang_dir(@$Pile[0]['lang'], 'ltr','rtl') . ' no-js ie ie8 lt-ie9 lt-ie10"><![endif]--> <!--[if IE 9]><html lang="' . spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang']) . '" dir="' . lang_dir(@$Pile[0]['lang'], 'ltr','rtl') . '" class="' . spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang']) . ' ' . lang_dir(@$Pile[0]['lang'], 'ltr','rtl') . ' no-js ie ie9 lt-ie10"><![endif]--> <!--[if (gt IE 9)|!(IE)]><!--><html lang="' . spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang']) . '" dir="' . lang_dir(@$Pile[0]['lang'], 'ltr','rtl') . '" class="' . spip_htmlentities(@$Pile[0]['lang'] ? @$Pile[0]['lang'] : $GLOBALS['spip_lang']) . ' ' . lang_dir(@$Pile[0]['lang'], 'ltr','rtl') . ' no-js"><!--<![endif]--> <head> <script type=\'text/javascript\'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\\bno-js\\b/,\'js\')})(document.documentElement);/*]]>*/</script> <title>' . _T('public|spip|ecrire:resultats_recherche') . ' - ' . interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))) . '</title> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/head') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/squelette_blrap_0.0.1/recherche.html\',\'html_1170367259e7df590711ff21478f09d6\',\'\',9,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> <meta name="robots" content="none" /> </head> <body class="pas_surlignable page_recherche"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/nav') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/squelette_blrap_0.0.1/recherche.html\',\'html_1170367259e7df590711ff21478f09d6\',\'\',16,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/header') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/squelette_blrap_0.0.1/recherche.html\',\'html_1170367259e7df590711ff21478f09d6\',\'\',18,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> <div id="page"> <div id="main"> <div id="content"> <p class="arbo"><a href="' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '/">' . _T('public|spip|ecrire:accueil_site') . '</a> > ' . _T('public|spip|ecrire:info_rechercher') . (($t1 = strval(entites_html(_request("recherche"))))!=='' ? (' > <strong class="on">' . $t1 . '</strong>') : '') . '</p> ' . (($t1 = strval(entites_html(_request("recherche"))))!=='' ? (( '<div class="cartouche"> <h1>' . _T('public|spip|ecrire:resultats_recherche') . '</h1> <p class="soustitre">« ') . $t1 . ' »</p> </div>') : '') . ' ' . (($t1 = BOUCLE_articleshtml_1170367259e7df590711ff21478f09d6($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="menu"> ' . filtre_pagination($Numrows["_articles"]["grand_total"], '_articles', isset($Pile[0]['debut_articles'])?$Pile[0]['debut_articles']:intval(_request('debut_articles')), 10, false, '', '', array()) . ' <h2>' . _T('public|spip|ecrire:articles') . ' (' . (isset($Numrows['_articles']['grand_total']) ? $Numrows['_articles']['grand_total'] : $Numrows['_articles']['total']) . ')</h2> <ul class="spip"> ') . $t1 . ( ' </ul> ' . (($t3 = strval(filtre_pagination($Numrows["_articles"]["grand_total"], '_articles', isset($Pile[0]['debut_articles'])?$Pile[0]['debut_articles']:intval(_request('debut_articles')), 10, true, 'precedent_suivant', '', array())))!=='' ? ('<p class="pagination">' . $t3 . '</p>') : '') . ' </div> ')) : '') . ' ' . (($t1 = BOUCLE_rubriqueshtml_1170367259e7df590711ff21478f09d6($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="menu"> ' . filtre_pagination($Numrows["_rubriques"]["grand_total"], '_rubriques', isset($Pile[0]['debut_rubriques'])?$Pile[0]['debut_rubriques']:intval(_request('debut_rubriques')), 5, false, '', '', array()) . ' <h2>' . _T('public|spip|ecrire:rubriques') . ' (' . (isset($Numrows['_rubriques']['grand_total']) ? $Numrows['_rubriques']['grand_total'] : $Numrows['_rubriques']['total']) . ')</h2> <ul class="spip"> ') . $t1 . ( ' </ul> ' . (($t3 = strval(filtre_pagination($Numrows["_rubriques"]["grand_total"], '_rubriques', isset($Pile[0]['debut_rubriques'])?$Pile[0]['debut_rubriques']:intval(_request('debut_rubriques')), 5, true, 'precedent_suivant', '', array())))!=='' ? ('<p class="pagination">' . $t3 . '</p>') : '') . ' </div> ')) : '') . ' ' . (($t1 = BOUCLE_breveshtml_1170367259e7df590711ff21478f09d6($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="menu"> ' . filtre_pagination($Numrows["_breves"]["grand_total"], '_breves', isset($Pile[0]['debut_breves'])?$Pile[0]['debut_breves']:intval(_request('debut_breves')), 5, false, '', '', array()) . ' <h2>' . _T('public|spip|ecrire:breves') . ' (' . (isset($Numrows['_breves']['grand_total']) ? $Numrows['_breves']['grand_total'] : $Numrows['_breves']['total']) . ')</h2> <ul class="spip"> ') . $t1 . ( ' </ul> ' . (($t3 = strval(filtre_pagination($Numrows["_breves"]["grand_total"], '_breves', isset($Pile[0]['debut_breves'])?$Pile[0]['debut_breves']:intval(_request('debut_breves')), 5, true, 'precedent_suivant', '', array())))!=='' ? ('<p class="pagination">' . $t3 . '</p>') : '') . ' </div> ')) : '') . ' </div><!--#content--> <aside> ' . (($t1 = strval(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]'\"" : "") . ' />')),'350','*'))))!=='' ? (( '<a rel="start home" href="' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '/" title="' . _T('public|spip|ecrire:accueil_site') . '" class="accueil">') . $t1 . '</a>') : '') . ' ' . executer_balise_dynamique('FORMULAIRE_RECHERCHE', array(), array('plugins/squelette_blrap_0.0.1/recherche.html','html_1170367259e7df590711ff21478f09d6','',80,$GLOBALS['spip_lang'])) . ' </aside> <div class="nettoyeur"></div> </div><!--#main--> </div><!--#page--> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/footer') . ', array_merge('.var_export($Pile[0],1).',array(\'self\' => ' . argumenter_squelette(self()) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/squelette_blrap_0.0.1/recherche.html\',\'html_1170367259e7df590711ff21478f09d6\',\'\',89,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> </body> </html>'); return analyse_resultat_skel('html_1170367259e7df590711ff21478f09d6', $Cache, $page, 'plugins/squelette_blrap_0.0.1/recherche.html'); } ?>