File "html_f3f32ddf5aac5c75f3b910f2d36e6c83.php"

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

<?php

/*
 * Squelette : ../plugins/auto/mailsubscribers/v4.0.1/formulaires/inc-select-langue.html
 * Date :      Wed, 30 Jul 2025 11:35:40 GMT
 * Compile :   Mon, 25 Aug 2025 15:23:50 GMT
 * Boucles :   _langues
 */ 

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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	$command['sourcemode'] = 'tableau';

	$command['source'] = array(retablir_echappements_modeles(interdire_scripts(filtre_explode_dist((include_spip('inc/config')?lire_config('langues_proposees',null,false):''),','))));

	if (!isset($command['table'])) {
		$command['table'] = '';
		$command['id'] = '_langues';
		$command['from'] = array();
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array(".valeur");
		$command['orderby'] = array();
		$command['where'] = 
			array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = Spip\Compilateur\Iterateur\Factory::create(
		"DATA",
		$command,
		array('../plugins/auto/mailsubscribers/v4.0.1/formulaires/inc-select-langue.html','html_f3f32ddf5aac5c75f3b910f2d36e6c83','_langues',3,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
	' .
retablir_echappements_modeles(vide($Pile['vars'][$_zzz=(string)'val'] = (interdire_scripts(safehtml($Pile[$SP]['valeur']))))) .
'<option value="' .
retablir_echappements_modeles(table_valeur($Pile["vars"]??[], (string)'val', null)) .
'"' .
(($t1 = strval(retablir_echappements_modeles(interdire_scripts((((entites_html(sinon(table_valeur($Pile[0]??[], (string)(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'name', null),true))), null), (interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'defaut', null),true)))),true) == (table_valeur($Pile["vars"]??[], (string)'val', null)))) ?' ' :'')))))!=='' ?
		($t1 . 'selected="selected"') :
		'') .
'>' .
retablir_echappements_modeles(interdire_scripts(traduire_nom_langue(safehtml($Pile[$SP]['valeur'])))) .
'</option>
');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_langues @ ../plugins/auto/mailsubscribers/v4.0.1/formulaires/inc-select-langue.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette ../plugins/auto/mailsubscribers/v4.0.1/formulaires/inc-select-langue.html
// Temps de compilation total: 0.221 ms
//

function html_f3f32ddf5aac5c75f3b910f2d36e6c83($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 = (
'
<select name="' .
retablir_echappements_modeles(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'name', null),true))) .
'" class="select" id="' .
retablir_echappements_modeles(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'name', null),true))) .
'">
' .
BOUCLE_langueshtml_f3f32ddf5aac5c75f3b910f2d36e6c83($Cache, $Pile, $doublons, $Numrows, $SP) .
'
</select>
');

	return analyse_resultat_skel('html_f3f32ddf5aac5c75f3b910f2d36e6c83', $Cache, $page, '../plugins/auto/mailsubscribers/v4.0.1/formulaires/inc-select-langue.html');
}