File "html_4ef86fea608ae66ccf3db57f5cbcfce6.php"

Full path: /home/argothem/www/organecyberpresse/tmp/cache/skel/html_4ef86fea608ae66ccf3db57f5cbcfce6.php
File size: 5.2 KB
MIME-type: text/x-php
Charset: utf-8

<?php

/*
 * Squelette : notifications/article_propose.html
 * Date :      Tue, 10 Jun 2025 11:24:22 GMT
 * Compile :   Sun, 24 Aug 2025 21:15:42 GMT
 * Boucles :   _art
 */ 

function BOUCLE_arthtml_4ef86fea608ae66ccf3db57f5cbcfce6(&$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 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')))));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = Spip\Compilateur\Iterateur\Factory::create(
		"SQL",
		$command,
		array('notifications/article_propose.html','html_4ef86fea608ae66ccf3db57f5cbcfce6','_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 .= (
'
' .
retablir_echappements_modeles(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_propose.html','html_4ef86fea608ae66ccf3db57f5cbcfce6','_art',0,$GLOBALS['spip_lang'])), '')))) .
retablir_echappements_modeles(filtre_nettoyer_titre_email_dist(_T('info_propose_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_propose_2') .
'

' .
retablir_echappements_modeles(_T('info_propose_3',(array('titre' => (interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))))))) .
'
' .
_T('public|spip|ecrire:info_propose_4') .
'
' .
_T('public|spip|ecrire:info_propose_5') .
'
' .
retablir_echappements_modeles(generer_objet_url($Pile[$SP]['id_article'],'article','','','0')) .
'

' .
(($t1 = strval(retablir_echappements_modeles(interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))))))!=='' ?
		('** ' . $t1 . ' **') :
		'') .
(($t1 = strval(retablir_echappements_modeles(((table_valeur($Pile["vars"]??[], (string)'auteurs', null)) ?' ' :''))))!=='' ?
		($t1 . (	'
' .
	retablir_echappements_modeles(_T('info_les_auteurs_1',(array('les_auteurs' => (table_valeur($Pile["vars"]??[], (string)'auteurs', null)))))))) :
		'') .
(($t1 = strval(retablir_echappements_modeles(_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) :
		'') .
'

' .
retablir_echappements_modeles(interdire_scripts(textebrut(couper(concat(propre($Pile[$SP]['chapo'], $connect, $Pile[0]),(interdire_scripts(propre($Pile[$SP]['texte'], $connect, $Pile[0])))),'700')))) .
'
');
		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_propose.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette notifications/article_propose.html
// Temps de compilation total: 0.580 ms
//

function html_4ef86fea608ae66ccf3db57f5cbcfce6($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 = (
(($t1 = strval(retablir_echappements_modeles('')))!=='' ?
		($t1 . '

  Squelette
  (c) 2009 SPIP
  Distribue sous licence GPL

') :
		'') .
retablir_echappements_modeles('<'.'?php header(' . _q((	'Content-type: text/plain' .
	(($t2 = strval((interdire_scripts($GLOBALS['meta']['charset']))))!=='' ?
			('; charset=' . $t2) :
			''))) . '); ?'.'>') .
'
' .
BOUCLE_arthtml_4ef86fea608ae66ccf3db57f5cbcfce6($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
retablir_echappements_modeles('<' . '?php header("X-Spip-Filtre: '.'supprimer_tags|filtrer_entites|trim' . '"); ?'.'>'));

	return analyse_resultat_skel('html_4ef86fea608ae66ccf3db57f5cbcfce6', $Cache, $page, 'notifications/article_propose.html');
}