File "html_c461cbf9a59c7da2ccd3ba6a8c7b8b09.php"

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

<?php

/*
 * Squelette : ../plugins-dist/mots/prive/squelettes/hierarchie/mot.html
 * Date :      Tue, 10 Jun 2025 11:31:50 GMT
 * Compile :   Sun, 24 Aug 2025 22:25:19 GMT
 * Boucles :   _hierarchie
 */ 

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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'mots';
		$command['id'] = '_hierarchie';
		$command['from'] = array('mots' => 'spip_mots');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("mots.id_groupe",
		"mots.titre");
		$command['orderby'] = array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
			array('=', 'mots.id_mot', sql_quote(($Pile[0]['id_mot'] ?? null), '','bigint NOT NULL AUTO_INCREMENT')));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = Spip\Compilateur\Iterateur\Factory::create(
		"SQL",
		$command,
		array('../plugins-dist/mots/prive/squelettes/hierarchie/mot.html','html_c461cbf9a59c7da2ccd3ba6a8c7b8b09','_hierarchie',3,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
&gt; ' .
retablir_echappements_modeles(lien_ou_expose(generer_url_ecrire('groupe_mots',(	'id_groupe=' .
	($Pile[$SP]['id_groupe']))),(interdire_scripts(generer_objet_info(($Pile[$SP]['id_groupe']), 'groupe_mots', 'titre', '', []))),'')) .
'
&gt; <strong class="on">' .
retablir_echappements_modeles(interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))) .
'</strong>
');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_hierarchie @ ../plugins-dist/mots/prive/squelettes/hierarchie/mot.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette ../plugins-dist/mots/prive/squelettes/hierarchie/mot.html
// Temps de compilation total: 1.442 ms
//

function html_c461cbf9a59c7da2ccd3ba6a8c7b8b09($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 = (
'<!-- hierarchie -->
<a href="' .
retablir_echappements_modeles(generer_url_ecrire('mots')) .
'">' .
_T('mots:icone_mots_cles') .
'</a>
' .
(($t1 = BOUCLE_hierarchiehtml_c461cbf9a59c7da2ccd3ba6a8c7b8b09($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		$t1 :
		((	'
' .
	(($t2 = strval(retablir_echappements_modeles(interdire_scripts(((entites_html(table_valeur($Pile[0]??[], (string)'id_groupe', null),true)) ?' ' :'')))))!=='' ?
			($t2 . (	'
	&gt; ' .
		retablir_echappements_modeles(lien_ou_expose(generer_url_ecrire('groupe_mots',(	'id_groupe=' .
			(($Pile[0]['id_groupe'] ?? null)))),(interdire_scripts(generer_objet_info((($Pile[0]['id_groupe'] ?? null)), 'groupe_mots', 'titre', '', []))),'')) .
		'
')) :
			'') .
	'
&gt; <strong class="on">' .
	_T('mots:texte_nouveau_mot') .
	'</strong>
'))) .
'
');

	return analyse_resultat_skel('html_c461cbf9a59c7da2ccd3ba6a8c7b8b09', $Cache, $page, '../plugins-dist/mots/prive/squelettes/hierarchie/mot.html');
}