Samx Here
n1udSecurity


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/genius/tmp/cache/skel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/hednacluml/genius/tmp/cache/skel/html_1e12e97f612dd48baf7c6a584e8eb6b9.php
<?php

/*
 * Squelette : plugins/auto/escal/inclusions/inc-forum_article.html
 * Date :      Sat, 03 Dec 2022 21:06:44 GMT
 * Compile :   Sat, 03 Dec 2022 21:41:38 GMT
 * Boucles :   _doc_joints, _doc_joints2, _rep_messages, _reponses, _thread, _test
 */ 

function BOUCLE_doc_jointshtml_1e12e97f612dd48baf7c6a584e8eb6b9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'documents';
		$command['id'] = '_doc_joints';
		$command['from'] = array('documents' => 'spip_documents','L1' => 'spip_documents_liens');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("documents.id_document");
		$command['orderby'] = array();
		$command['join'] = array('L1' => array('documents','id_document'));
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
quete_condition_statut('documents.statut','publie,prop,prepa','publie',''), 
quete_condition_postdates('documents.date_publication',''), 
			array('(documents.taille > 0 OR documents.distant=\'oui\')'), 
			array('=', 'L1.id_objet', sql_quote($Pile[$SP]['id_forum'], '','bigint(21) NOT NULL DEFAULT \'0\'')), 
			array('=', 'L1.objet', sql_quote('forum')), 
			array('=', 'documents.mode', "'document'"));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('plugins/auto/escal/inclusions/inc-forum_article.html','html_1e12e97f612dd48baf7c6a584e8eb6b9','_doc_joints',34,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
			<span class="imageforum">' .
quete_logo_document(quete_document($Pile[$SP]['id_document'], ''), vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_document'], 'document', '', '', true))), '', '', 0, 0, '') .
'</span>
			<div class="nettoyeur"></div>
		');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_doc_joints @ plugins/auto/escal/inclusions/inc-forum_article.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


function BOUCLE_doc_joints2html_1e12e97f612dd48baf7c6a584e8eb6b9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'documents';
		$command['id'] = '_doc_joints2';
		$command['from'] = array('documents' => 'spip_documents','L1' => 'spip_documents_liens');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("documents.id_document");
		$command['orderby'] = array();
		$command['join'] = array('L1' => array('documents','id_document'));
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
quete_condition_statut('documents.statut','publie,prop,prepa','publie',''), 
quete_condition_postdates('documents.date_publication',''), 
			array('(documents.taille > 0 OR documents.distant=\'oui\')'), 
			array('=', 'L1.id_objet', sql_quote($Pile[$SP]['id_forum'], '','bigint(21) NOT NULL DEFAULT \'0\'')), 
			array('=', 'L1.objet', sql_quote('forum')), 
			array('=', 'documents.mode', "'document'"));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('plugins/auto/escal/inclusions/inc-forum_article.html','html_1e12e97f612dd48baf7c6a584e8eb6b9','_doc_joints2',60,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
					<span class="imageforum">' .
quete_logo_document(quete_document($Pile[$SP]['id_document'], ''), vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_document'], 'document', '', '', true))), '', '', 0, 0, '') .
'</span>
				');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_doc_joints2 @ plugins/auto/escal/inclusions/inc-forum_article.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


function BOUCLE_rep_messageshtml_1e12e97f612dd48baf7c6a584e8eb6b9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	$save_numrows = (isset($Numrows['_reponses']) ? $Numrows['_reponses'] : array());
	$t0 = (($t1 = BOUCLE_reponseshtml_1e12e97f612dd48baf7c6a584e8eb6b9($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		((	'
			' .
		(($t3 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/togglereponsearticle',null,false):'') == 'non')) ?'' :' '))))!=='' ?
				($t3 . '<div class="toggle2">') :
				'') .
		'
			<a name="forum' .
		$Pile[$SP]['id_forum'] .
		'"></a>
			<div class="decal-reponse">
				<img width="10" height="13" alt="" src="' .
		find_in_path((string)'images/forum-droite.gif') .
		'"/>
		') . $t1 . (	'
          	</div>
			' .
		(($t3 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/togglereponsearticle',null,false):'') == 'oui')) ?' ' :''))))!=='' ?
				($t3 . '</div>') :
				'') .
		'
		')) :
		'');
	$Numrows['_reponses'] = ($save_numrows);
	return $t0;
}


function BOUCLE_reponseshtml_1e12e97f612dd48baf7c6a584e8eb6b9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'forum';
		$command['id'] = '_reponses';
		$command['from'] = array('forum' => 'spip_forum');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("forum.id_forum",
		"forum.date_heure",
		"forum.titre",
		"forum.auteur AS nom",
		"forum.date_heure AS date",
		"forum.texte",
		"forum.url_site",
		"forum.nom_site",
		"forum.id_objet AS id_article");
		$command['orderby'] = array('forum.date_heure');
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
quete_condition_statut('forum.statut','publie,prop','publie',''), 
			array('=', 'forum.id_parent', sql_quote($Pile[$SP]['id_forum'], '','bigint(21) NOT NULL DEFAULT \'0\'')));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('plugins/auto/escal/inclusions/inc-forum_article.html','html_1e12e97f612dd48baf7c6a584e8eb6b9','_reponses',51,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	
	$l1 = _T('escal:le');
	$l2 = _T('escal:repondre_message');
	$l3 = _T('escal:repondre_message');$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
				<div class="forum_reponse" >
					<div class="titre-message">
						' .
interdire_scripts(liens_nofollow(safehtml(typo(interdit_html($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])))) .
'
					<div class="auteur-message">' .
(($t1 = strval(interdire_scripts(supprimer_numero(typo($Pile[$SP]['nom'], "TYPO", $connect, $Pile[0])))))!=='' ?
		('<strong>' . $t1 . '</strong>') :
		'') .
' ' .
(($t1 = strval(interdire_scripts(affdate(normaliser_date($Pile[$SP]['date'])))))!=='' ?
		((	' - ' .
	$l1 .
	' ') . $t1) :
		'') .
'</div>
					</div>
					' .
(($t1 = strval(interdire_scripts(liens_nofollow(safehtml(propre(interdit_html($Pile[$SP]['texte']), $connect, $Pile[0]))))))!=='' ?
		((	'<div class="texte-message">') . $t1 . (	'
						' .
	(($t2 = strval(interdire_scripts(liens_nofollow(safehtml(typo(interdit_html(supprimer_numero(calculer_url($Pile[$SP]['url_site'],$Pile[$SP]['nom_site'], 'titre', $connect, false))), "TYPO", $connect, $Pile[0]))))))!=='' ?
			((	'<a href="' .
		safehtml(vider_url(calculer_url($Pile[$SP]['url_site'],'','url', $connect))) .
		'">') . $t2 . '</a>') :
			'') .
	'
					</div>')) :
		'') .
'
				' .
BOUCLE_doc_joints2html_1e12e97f612dd48baf7c6a584e8eb6b9($Cache, $Pile, $doublons, $Numrows, $SP) .
'

    					<div class="reponse">
    					<a href="' .
interdire_scripts(parametre_url(parametre_url(generer_url_public('message', spip_htmlspecialchars(
		// refus des forums ?
		(quete_accepter_forum($Pile[$SP]['id_article'])=="non" OR
		($GLOBALS["meta"]["forums_publics"] == "non"
		AND quete_accepter_forum($Pile[$SP]['id_article']) == ""))
		? "" : // sinon:
		(calcul_parametres_forum($Pile[0],$Pile[$SP]['id_forum'],'forums',$Pile[$SP]['id_forum']).
	(($lien = (_request("retour") ? _request("retour") : str_replace("&amp;", "&", self()))) ? "&retour=".rawurlencode($lien) : "")))),'id_forum',$Pile[$SP]['id_forum']),'lang',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'lang', null),true)))) .
'" title="' .
$l2 .
'" rel="nofollow">
    					' .
$l2 .
'
    					</a>
    					</div>
				</div>

			' .
BOUCLE_rep_messageshtml_1e12e97f612dd48baf7c6a584e8eb6b9($Cache, $Pile, $doublons, $Numrows, $SP) .
'
		');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_reponses @ plugins/auto/escal/inclusions/inc-forum_article.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


function BOUCLE_threadhtml_1e12e97f612dd48baf7c6a584e8eb6b9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	$doublons_index = array();
	$command['pagination'] = array((isset($Pile[0]['debut_thread']) ? $Pile[0]['debut_thread'] : null), 5);

	// Initialise le(s) critère(s) doublons
	if (!isset($doublons[$d = 'forums'])) { $doublons[$d] = ''; }

	if (!isset($command['table'])) {
		$command['table'] = 'forum';
		$command['id'] = '_thread';
		$command['from'] = array('forum' => 'spip_forum');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("forum.id_forum",
		"forum.titre",
		"forum.auteur AS nom",
		"forum.date_heure AS date",
		"forum.texte",
		"forum.url_site",
		"forum.nom_site",
		"forum.id_objet AS id_article");
		$command['orderby'] = array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
quete_condition_statut('forum.statut','publie,prop','publie',''), 
			array('=', 'forum.id_parent', 0), 
			array('=', 'forum.id_thread', sql_quote($Pile[$SP]['id_thread'], '','bigint(21) NOT NULL DEFAULT \'0\'')), 
			array(sql_in('forum.id_forum', $doublons[$doublons_index[]= ('forums')], 'NOT')));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('plugins/auto/escal/inclusions/inc-forum_article.html','html_1e12e97f612dd48baf7c6a584e8eb6b9','_thread',24,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	
	// COMPTEUR
	$Numrows['_thread']['compteur_boucle'] = 0;
	$Numrows['_thread']['command'] = $command;
	$Numrows['_thread']['total'] = @intval($iter->count());
	$debut_boucle = isset($Pile[0]['debut_thread']) ? $Pile[0]['debut_thread'] : _request('debut_thread');
	if ($debut_boucle && $debut_boucle[0] === '@') {
		$debut_boucle = $Pile[0]['debut_thread'] = quete_debut_pagination('id_forum',$Pile[0]['@id_forum'] = 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['_thread']['total']-1)/(5))*(5)));
	$debut_boucle = intval($debut_boucle);
	$fin_boucle = min(($tout ? $Numrows['_thread']['total'] : $debut_boucle + 4), $Numrows['_thread']['total'] - 1);
	$Numrows['_thread']['grand_total'] = $Numrows['_thread']['total'];
	$Numrows['_thread']["total"] = max(0,$fin_boucle - $debut_boucle + 1);
	if ($debut_boucle>0 AND $debut_boucle < $Numrows['_thread']['grand_total'] AND $iter->seek($debut_boucle,'continue'))
		$Numrows['_thread']['compteur_boucle'] = $debut_boucle;
	
	
	$l1 = _T('escal:le');
	$l2 = _T('escal:repondre_message');
	$l3 = _T('escal:repondre_message');$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$Numrows['_thread']['compteur_boucle']++;
		if ($Numrows['_thread']['compteur_boucle'] <= $debut_boucle) continue;
		if ($Numrows['_thread']['compteur_boucle']-1 > $fin_boucle) break;
			foreach($doublons_index as $k) $doublons[$k] .= "," . $Pile[$SP]['id_forum']; // doublons

		$t0 .= (
'
		<div class="forum-thread" >
			<div class="titre-message">
				' .
interdire_scripts(liens_nofollow(safehtml(typo(interdit_html($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])))) .
'
				<div class="auteur-message">' .
(($t1 = strval(interdire_scripts(supprimer_numero(typo($Pile[$SP]['nom'], "TYPO", $connect, $Pile[0])))))!=='' ?
		('<strong>' . $t1 . '</strong>') :
		'') .
' ' .
(($t1 = strval(interdire_scripts(affdate(normaliser_date($Pile[$SP]['date'])))))!=='' ?
		((	' - ' .
	$l1 .
	' ') . $t1) :
		'') .
'</div>
          	</div>
			' .
(($t1 = strval(interdire_scripts(liens_nofollow(safehtml(propre(interdit_html($Pile[$SP]['texte']), $connect, $Pile[0]))))))!=='' ?
		((	'<div class="texte-message">') . $t1 . (	'
				' .
	(($t2 = strval(interdire_scripts(liens_nofollow(safehtml(typo(interdit_html(supprimer_numero(calculer_url($Pile[$SP]['url_site'],$Pile[$SP]['nom_site'], 'titre', $connect, false))), "TYPO", $connect, $Pile[0]))))))!=='' ?
			((	'<a href="' .
		safehtml(vider_url(calculer_url($Pile[$SP]['url_site'],'','url', $connect))) .
		'">') . $t2 . '</a>') :
			'') .
	'
			</div>')) :
		'') .
'

		' .
BOUCLE_doc_jointshtml_1e12e97f612dd48baf7c6a584e8eb6b9($Cache, $Pile, $doublons, $Numrows, $SP) .
'

			<div class="reponse">
				<a href="' .
interdire_scripts(parametre_url(parametre_url(generer_url_public('message', spip_htmlspecialchars(
		// refus des forums ?
		(quete_accepter_forum($Pile[$SP]['id_article'])=="non" OR
		($GLOBALS["meta"]["forums_publics"] == "non"
		AND quete_accepter_forum($Pile[$SP]['id_article']) == ""))
		? "" : // sinon:
		(calcul_parametres_forum($Pile[0],$Pile[$SP]['id_forum'],'forums',$Pile[$SP]['id_forum']).
	(($lien = (_request("retour") ? _request("retour") : str_replace("&amp;", "&", self()))) ? "&retour=".rawurlencode($lien) : "")))),'id_forum',$Pile[$SP]['id_forum']),'lang',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'lang', null),true)))) .
'" title="' .
$l2 .
'" rel="nofollow">
					' .
$l2 .
'
				</a>
			</div>
		</div>

		' .
(($t1 = BOUCLE_reponseshtml_1e12e97f612dd48baf7c6a584e8eb6b9($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		((	'
			' .
		(($t3 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/togglereponsearticle',null,false):'') == 'non')) ?'' :' '))))!=='' ?
				($t3 . '<div class="toggle2">') :
				'') .
		'
			<a name="forum' .
		$Pile[$SP]['id_forum'] .
		'"></a>
			<div class="decal-reponse">
				<img width="10" height="13" alt="" src="' .
		find_in_path((string)'images/forum-droite.gif') .
		'"/>
		') . $t1 . (	'
          	</div>
			' .
		(($t3 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/togglereponsearticle',null,false):'') == 'oui')) ?' ' :''))))!=='' ?
				($t3 . '</div>') :
				'') .
		'
		')) :
		'') .
'

	');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_thread @ plugins/auto/escal/inclusions/inc-forum_article.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


function BOUCLE_testhtml_1e12e97f612dd48baf7c6a584e8eb6b9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'forum';
		$command['id'] = '_test';
		$command['from'] = array('forum' => 'spip_forum');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("forum.id_thread",
		"forum.date_heure",
		"forum.id_forum");
		$command['orderby'] = array('forum.date_heure DESC');
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
quete_condition_statut('forum.statut','publie,prop','publie',''), 
			array('=', 'forum.id_objet', sql_quote(($Pile[0]['id_article'] ?? null), '','bigint(21) NOT NULL DEFAULT \'0\'')), 
			array('=', 'forum.objet', sql_quote('article')));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('plugins/auto/escal/inclusions/inc-forum_article.html','html_1e12e97f612dd48baf7c6a584e8eb6b9','_test',19,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
	' .
(($t1 = BOUCLE_threadhtml_1e12e97f612dd48baf7c6a584e8eb6b9($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		((	'
		<a name="forum' .
		$Pile[$SP]['id_forum'] .
		'"></a>
		' .
		(($t3 = strval(filtre_pagination_dist($Numrows["_thread"]["grand_total"],
 		'_thread',
		isset($Pile[0]['debut_thread'])?$Pile[0]['debut_thread']:intval(_request('debut_thread')),
		5, true, '', '', array())))!=='' ?
				('<nav class="pagination">' . $t3 . '</nav>
		<div class="nettoyeur"></div>') :
				'') .
		' 
	') . $t1 . (	'
		' .
		(($t3 = strval(filtre_pagination_dist($Numrows["_thread"]["grand_total"],
 		'_thread',
		isset($Pile[0]['debut_thread'])?$Pile[0]['debut_thread']:intval(_request('debut_thread')),
		5, true, '', '', array())))!=='' ?
				('<nav class="pagination">' . $t3 . '</nav>
		<div class="nettoyeur"></div>') :
				'') .
		' 
	')) :
		'') .
'

');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_test @ plugins/auto/escal/inclusions/inc-forum_article.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette plugins/auto/escal/inclusions/inc-forum_article.html
// Temps de compilation total: 16.204 ms
//

function html_1e12e97f612dd48baf7c6a584e8eb6b9($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 = (
'<aside class="forum-article" id="ForumArticle">

' .
(($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/afficheformreponse',null,false):'') == 'oui')) ?'' :' '))))!=='' ?
		($t1 . (	'
	<img class="forum" src="' .
	find_in_path((string)'images/forum.svg') .
	'" alt=\'' .
	_T('escal:forum') .
	'\' />
	<div class="repondre-article">
		<a href="' .
	interdire_scripts(parametre_url(generer_url_public('forum', spip_htmlspecialchars(
		// refus des forums ?
		(quete_accepter_forum(($Pile[0]['id_article'] ?? null))=="non" OR
		($GLOBALS["meta"]["forums_publics"] == "non"
		AND quete_accepter_forum(($Pile[0]['id_article'] ?? null)) == ""))
		? "" : // sinon:
		(calcul_parametres_forum($Pile[0],null,null,null).
	(($lien = (_request("retour") ? _request("retour") : str_replace("&amp;", "&", self()))) ? "&retour=".rawurlencode($lien) : "")))),'lang',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'lang', null),true)))) .
	'" title="' .
	_T('public|spip|ecrire:repondre_article') .
	'" rel="nofollow">
		' .
	_T('public|spip|ecrire:repondre_article') .
	'
		</a>
	</div>
')) :
		'') .
'
' .
(($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/afficheformreponse',null,false):'') == 'oui')) ?' ' :''))))!=='' ?
		($t1 . (	'
	<img class="forum" src="' .
	find_in_path((string)'images/forum.svg') .
	'" alt=\'' .
	_T('escal:forum') .
	'\' />
	<div class="repondre-article">
		<span class="reponse-article">' .
	_T('public|spip|ecrire:repondre_article') .
	'</span>
	</div>
' .
	executer_balise_dynamique('FORMULAIRE_FORUM',
	array(null,($Pile[0]['id_forum'] ?? null),($Pile[0]['ajouter_mot'] ?? null),($Pile[0]['ajouter_groupe'] ?? null),($Pile[0]['forcer_previsu'] ?? null),($Pile[0]['id_article'] ?? null),($Pile[0]['id_breve'] ?? null),($Pile[0]['id_rubrique'] ?? null),($Pile[0]['id_syndic'] ?? null)),
	array('plugins/auto/escal/inclusions/inc-forum_article.html','html_1e12e97f612dd48baf7c6a584e8eb6b9','',11,$GLOBALS['spip_lang'], '',4)) .
	'
')) :
		'') .
'

' .
BOUCLE_testhtml_1e12e97f612dd48baf7c6a584e8eb6b9($Cache, $Pile, $doublons, $Numrows, $SP) .
'

</aside><!-- fin forum-article -->
');

	return analyse_resultat_skel('html_1e12e97f612dd48baf7c6a584e8eb6b9', $Cache, $page, 'plugins/auto/escal/inclusions/inc-forum_article.html');
}
?>

SAMX