Gestionnaire de fichiers - Editer - /home/noironk/www/tmp/cache/skel/html_acfb689da8b7f0df9e71fabce85f186f.php
Arrière
<?php /* * Squelette : squelettes/article.html * Date : Thu, 09 Jul 2020 08:47:23 GMT * Compile : Thu, 27 Jul 2023 09:10:38 GMT * Boucles : _rubriques, _articles_rubrique, _principale */ function BOUCLE_rubriqueshtml_acfb689da8b7f0df9e71fabce85f186f(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_rubriques'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.titre", "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[$SP]['id_rubrique'], '','bigint(21) NOT NULL AUTO_INCREMENT'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/article.html','html_acfb689da8b7f0df9e71fabce85f186f','_rubriques',68,$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 .= ( ' <h2>' . _T('public|spip|ecrire:meme_rubrique') . '<br>' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) . '</h2> '); 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_rubriques @ squelettes/article.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_articles_rubriquehtml_acfb689da8b7f0df9e71fabce85f186f(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_articles_rubrique'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.date", "articles.id_article", "articles.id_rubrique", "articles.titre", "articles.lang"); $command['orderby'] = array('articles.date DESC'); $command['join'] = array(); $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',''), array('=', 'articles.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'], '','bigint(21) NOT NULL DEFAULT \'0\''))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/article.html','html_acfb689da8b7f0df9e71fabce85f186f','_articles_rubrique',72,$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><a href="' . vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_article'], 'article', '', '', true))) . '"' . (calcul_exposer($Pile[$SP]['id_article'], 'id_article', $Pile[0], $Pile[$SP]['id_rubrique'], 'id_article', '') ? (' class="' . 'on' . '"') : '') . '>' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) . '</a></li> '); 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_articles_rubrique @ squelettes/article.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_principalehtml_acfb689da8b7f0df9e71fabce85f186f(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_principale'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.id_rubrique", "articles.lang", "articles.titre", "articles.texte", "articles.descriptif", "articles.chapo", "articles.id_article", "articles.surtitre", "articles.soustitre", "articles.url_site", "articles.nom_site", "articles.ps"); $command['orderby'] = array(); $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_article', sql_quote(@$Pile[0]['id_article'], '','bigint(21) NOT NULL AUTO_INCREMENT'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/article.html','html_acfb689da8b7f0df9e71fabce85f186f','_principale',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 .= ( ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--[if lt IE 7 ]> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie6"> <![endif]--> <!--[if IE 7 ]> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie7"> <![endif]--> <!--[if IE 8 ]> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie8"> <![endif]--> <!--[if IE 9 ]> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js"> <!--<![endif]--> <head> <script type=\'text/javascript\'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\\bno-js\\b/,\'js\')})(document.documentElement);/*]]>*/</script> <title>' . (($t1 = strval(interdire_scripts(textebrut(couper(supprimer_numero(typo($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0]),'80')))))!=='' ? ($t1 . ' - ') : '') . interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))) . '</title> ' . (($t1 = strval(interdire_scripts(attribut_html(filtre_introduction_dist($Pile[$SP]['descriptif'], (strlen($Pile[$SP]['descriptif'])) ? '' : $Pile[$SP]['chapo'] . "\n\n" . $Pile[$SP]['texte'], is_numeric('150')?intval('150'):500, $connect, !is_numeric('150')?'150':null)))))!=='' ? ('<meta name="description" content="' . $t1 . '" />') : '') . ' ' . (($t1 = strval(url_absolue(vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_article'], 'article', '', '', true))))))!=='' ? ('<link rel="canonical" href="' . $t1 . '" />') : '') . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/head') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/article.html\',\'html_acfb689da8b7f0df9e71fabce85f186f\',\'\',13,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> </head> <body class="pas_surlignable page_article"> <div class="page"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/header') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/article.html\',\'html_acfb689da8b7f0df9e71fabce85f186f\',\'\',19,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> ' . '<'.'?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(\'squelettes/article.html\',\'html_acfb689da8b7f0df9e71fabce85f186f\',\'\',20,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> <div class="main"> <div class="wrapper hfeed"> <div class="content2 hentry" id="content"> <div class="cartouche clearfix"> ' . (($t1 = strval(interdire_scripts(typo($Pile[$SP]['surtitre'], "TYPO", $connect, $Pile[0]))))!=='' ? (( '<p class="surtitre">') . $t1 . '</p>') : '') . ' <h1 class="surlignable entry-title">' . (($t1 = strval(filtrer('image_graver',filtrer('image_reduire', ((!is_array($l = quete_logo('id_article', 'ON', $Pile[$SP]['id_article'],'', 0))) ? '': ("<img class=\"spip_logo spip_logos\" alt=\"\" src=\"$l[0]\"" . $l[2] . ($l[1] ? " onmouseover=\"this.src='$l[1]'\" onmouseout=\"this.src='$l[0]'\"" : "") . ' />')),'150','*'))))!=='' ? ($t1 . ' ') : '') . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) . '</h1> ' . (($t1 = strval(interdire_scripts(typo($Pile[$SP]['soustitre'], "TYPO", $connect, $Pile[0]))))!=='' ? (( '<p class="soustitre">') . $t1 . '</p>') : '') . ' ' . ((($recurs=(isset($Pile[0]['recurs'])?$Pile[0]['recurs']:0))>=5)? '' : recuperer_fond('modeles/article_traductions', array('lang' => $GLOBALS["spip_lang"] , 'id_article'=>$Pile[$SP]['id_article'], 'id'=>$Pile[$SP]['id_article'], 'recurs'=>(++$recurs)), array('compil'=>array('squelettes/article.html','html_acfb689da8b7f0df9e71fabce85f186f','_principale',32,$GLOBALS['spip_lang']), 'trim'=>true), '')) . '</div> ' . (($t1 = strval(interdire_scripts(filtrer('image_graver',filtrer('image_reduire',propre($Pile[$SP]['chapo'], $connect, $Pile[0]),'672','*')))))!=='' ? (( '<div class="chapo surlignable">') . $t1 . '</div>') : '') . ' ' . (($t1 = strval(interdire_scripts(filtrer('image_graver',filtrer('image_reduire',propre($Pile[$SP]['texte'], $connect, $Pile[0]),'672','*')))))!=='' ? (( '<div class="texte surlignable clearfix">') . $t1 . '</div>') : '') . ' ' . (($t1 = strval(calculer_url($Pile[$SP]['url_site'],'','url', $connect)))!=='' ? (( '<hr /><p class="hyperlien">' . _T('public|spip|ecrire:voir_en_ligne') . ' : <a href="') . $t1 . ( '">' . interdire_scripts(((($a = typo(supprimer_numero(calculer_url($Pile[$SP]['url_site'],$Pile[$SP]['nom_site'], 'titre', $connect, false)), "TYPO", $connect, $Pile[0])) OR (is_string($a) AND strlen($a))) ? $a : couper(calculer_url($Pile[$SP]['url_site'],'','url', $connect),'80'))) . '</a></p>')) : '') . ' ' . (($t1 = strval(interdire_scripts(filtrer('image_graver',filtrer('image_reduire',propre($Pile[$SP]['ps'], $connect, $Pile[0]),'672','*')))))!=='' ? (( '<div class="ps surlignable"><hr />') . $t1 . '</div>') : '') . ' ' . recuperer_fond( 'inclure/documents' , array_merge($Pile[0],array('id_article' => $Pile[$SP]['id_article'] , 'id_rubrique' => '' )), array('compil'=>array('squelettes/article.html','html_acfb689da8b7f0df9e71fabce85f186f','_principale',34,$GLOBALS['spip_lang'])), _request('connect')) . ' ' . ((quete_petitions($Pile[$SP]['id_article'],'articles','_principale','', $Cache)) ? (' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/petition') . ', array_merge('.var_export($Pile[0],1).',array(\'id_article\' => ' . argumenter_squelette($Pile[$SP]['id_article']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/article.html\',\'html_acfb689da8b7f0df9e71fabce85f186f\',\'\',35,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(@$Pile[0]['ajax']) . '))?$v:true), _request("connect")); ?'.'>') : '') . ' ' . (($t1 = strval(interdire_scripts(calculer_notes())))!=='' ? ('<div class="notes"><hr />' . $t1 . '</div>') : '') . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/forum') . ', array(\'id_article\' => ' . argumenter_squelette($Pile[$SP]['id_article']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/article.html\',\'html_acfb689da8b7f0df9e71fabce85f186f\',\'\',49,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> ' . (($t1 = strval(executer_balise_dynamique('FORMULAIRE_FORUM', array($Pile[$SP]['id_article'],@$Pile[0]['id_forum'],@$Pile[0]['ajouter_mot'],@$Pile[0]['ajouter_groupe'],@$Pile[0]['forcer_previsu'],$Pile[$SP]['id_article'],@$Pile[0]['id_breve'],$Pile[$SP]['id_rubrique'],@$Pile[0]['id_syndic']), array('squelettes/article.html','html_acfb689da8b7f0df9e71fabce85f186f','_principale',41,$GLOBALS['spip_lang'], 'articles',4))))!=='' ? (( '<h2 class="forum-titre">' . _T('forum:form_pet_message_commentaire') . '</h2> ') . $t1) : '') . ' </div><!--.content--> </div><!--.wrapper--> <div class="aside"> ' . executer_balise_dynamique('FORMULAIRE_RECHERCHE', array(), array('squelettes/article.html','html_acfb689da8b7f0df9e71fabce85f186f','_principale',58,$GLOBALS['spip_lang'])) . ' <div class="menuc"> ' . BOUCLE_rubriqueshtml_acfb689da8b7f0df9e71fabce85f186f($Cache, $Pile, $doublons, $Numrows, $SP) . ' <ul> ' . (($t1 = BOUCLE_articles_rubriquehtml_acfb689da8b7f0df9e71fabce85f186f($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? ($t1 . ' </ul> </div> ') : '') . ' ' . ((($recurs=(isset($Pile[0]['recurs'])?$Pile[0]['recurs']:0))>=5)? '' : recuperer_fond('modeles/article_mots', array('lang' => $GLOBALS["spip_lang"] , 'id_article'=>$Pile[$SP]['id_article'], 'id'=>$Pile[$SP]['id_article'], 'recurs'=>(++$recurs)), array('compil'=>array('squelettes/article.html','html_acfb689da8b7f0df9e71fabce85f186f','_principale',80,$GLOBALS['spip_lang']), 'trim'=>true), '')) . '</div><!--.aside--> </div><!--.main--> ' . '<'.'?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(\'squelettes/article.html\',\'html_acfb689da8b7f0df9e71fabce85f186f\',\'\',85,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> </div><!--.page--> </body> </html> '); 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_principale @ squelettes/article.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette squelettes/article.html // Temps de compilation total: 60.850 ms // function html_acfb689da8b7f0df9e71fabce85f186f($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_principalehtml_acfb689da8b7f0df9e71fabce85f186f($Cache, $Pile, $doublons, $Numrows, $SP); return analyse_resultat_skel('html_acfb689da8b7f0df9e71fabce85f186f', $Cache, $page, 'squelettes/article.html'); } ?>
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Génération de la page: 0.02 |
proxy
|
phpinfo
|
Réglages