Server : Apache System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64 User : hednacluml ( 122243) PHP Version : 8.3.9 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/hednacluml/univers/tmp/cache/skel/ |
<?php /* * Squelette : notifications/article_publie.html * Date : Sat, 29 Jun 2024 13:03:04 GMT * Compile : Tue, 13 Aug 2024 14:55:27 GMT * Boucles : _art */ function BOUCLE_arthtml_e5898d10062a1615b4a8642261c570e4(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $in = array(); if (!(is_array($a = (($Pile[0]['statut'] ?? null))))) $in[]= $a; else $in = array_merge($in, $a); if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_art'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.id_article", "articles.titre", "articles.date", "articles.chapo", "articles.texte", "articles.lang"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( array('=', 'articles.id_article', sql_quote(($Pile[0]['id_article'] ?? null), '','bigint(21) NOT NULL AUTO_INCREMENT')), (!is_whereable(($Pile[0]['statut'] ?? null)) ? '' : ((is_array(($Pile[0]['statut'] ?? null))) ? sql_in('articles.statut', $in) : array('=', 'articles.statut', sql_quote(($Pile[0]['statut'] ?? null), '','varchar(10) NOT NULL DEFAULT \'0\''))))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('notifications/article_publie.html','html_e5898d10062a1615b4a8642261c570e4','_art',8,$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 .= ( ' ' . vide($Pile['vars'][$_zzz=(string)'auteurs'] = recuperer_fond('modeles/lesauteurs', array('objet'=>'article','id_objet' => $Pile[$SP]['id_article'],'id_article' => $Pile[$SP]['id_article']), array('trim'=>true, 'compil'=>array('notifications/article_publie.html','html_e5898d10062a1615b4a8642261c570e4','_art',0,$GLOBALS['spip_lang'])), '')) . filtre_nettoyer_titre_email_dist(_T('info_publie_1',array('nom_site_spip' => interdire_scripts(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0])), 'titre' => interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))))) . ' ' . _T('public|spip|ecrire:info_publie_2') . ' ' . _T('info_publie_01',array('titre' => interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))), 'connect_nom' => interdire_scripts(invalideur_session($Cache, table_valeur($GLOBALS["visiteur_session"]??[], (string)'nom', null))))) . ' ' . (($t1 = strval(interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))))!=='' ? ('** ' . $t1 . ' **') : '') . ((table_valeur($Pile["vars"]??[], (string)'auteurs', null)) ? (' ' . ( ' ' . _T('info_les_auteurs_1',array('les_auteurs' => table_valeur($Pile["vars"]??[], (string)'auteurs', null))))) : '') . (($t1 = strval(_T('date_fmt_nomjour_date',array('nomjour' => interdire_scripts(nom_jour(normaliser_date($Pile[$SP]['date']))), 'date' => interdire_scripts(affdate(normaliser_date($Pile[$SP]['date'])))))))!=='' ? (' ' . $t1) : '') . ' ' . interdire_scripts(textebrut(couper(concat(propre($Pile[$SP]['chapo'], $connect, $Pile[0]),interdire_scripts(propre($Pile[$SP]['texte'], $connect, $Pile[0]))),'700'))) . ' ' . (($t1 = strval(url_absolue(vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))))))!=='' ? ('-> ' . $t1) : '') . ' '); 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_art @ notifications/article_publie.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette notifications/article_publie.html // Temps de compilation total: 1.806 ms // function html_e5898d10062a1615b4a8642261c570e4($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(' . _q(( 'Content-type: text/plain' . (($t2 = strval(interdire_scripts($GLOBALS['meta']['charset'])))!=='' ? ('; charset=' . $t2) : ''))) . '); ?'.'> ' . BOUCLE_arthtml_e5898d10062a1615b4a8642261c570e4($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . '<' . '?php header("X-Spip-Filtre: '.'supprimer_tags|filtrer_entites|trim' . '"); ?'.'>'); return analyse_resultat_skel('html_e5898d10062a1615b4a8642261c570e4', $Cache, $page, 'notifications/article_publie.html'); }