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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/hednacluml/petits/tmp/cache/skel/html_985727267714cecb399587e91c28663c.php
<?php

/*
 * Squelette : ../plugins-dist/mots/prive/objets/liste/mots_associer.html
 * Date :      Sat, 03 Dec 2022 21:50:01 GMT
 * Compile :   Sun, 04 Dec 2022 16:35:57 GMT
 * Boucles :   _exclus, _compte, _groupes
 */ 

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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	$in = array();
	if (!(is_array($a = (table_valeur($Pile["vars"]??[], (string)'exclus', null)))))
		$in[]= $a;
	else $in = array_merge($in, $a);
	if (!isset($command['table'])) {
		$command['table'] = 'mots';
		$command['id'] = '_exclus';
		$command['from'] = array('mots' => 'spip_mots');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("mots.id_groupe");
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['orderby'] = array(((!$zqv=sql_quote($in) OR $zqv==="''") ? 0 : ('FIELD(mots.id_mot,' . $zqv . ')')));
	$command['where'] = 
			array(sql_in('mots.id_mot', $in));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('../plugins-dist/mots/prive/objets/liste/mots_associer.html','html_985727267714cecb399587e91c28663c','_exclus',4,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= ((unique($Pile[$SP]['id_groupe']))  ?
		(' ' . vide($Pile['vars'][$_zzz=(string)'groupes_vus'] = concat(table_valeur($Pile["vars"]??[], (string)'groupes_vus', null),',',$Pile[$SP]['id_groupe']))) :
		'');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_exclus @ ../plugins-dist/mots/prive/objets/liste/mots_associer.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	$in = array();
	if (!(is_array($a = (table_valeur($Pile["vars"]??[], (string)'exclus', null)))))
		$in[]= $a;
	else $in = array_merge($in, $a);
	if (!isset($command['table'])) {
		$command['table'] = 'mots';
		$command['id'] = '_compte';
		$command['from'] = array('mots' => 'spip_mots');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("count(*)");
		$command['orderby'] = array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
			array('=', 'mots.id_groupe', sql_quote($Pile[$SP]['id_groupe'], '','bigint(21) NOT NULL DEFAULT \'0\'')), sql_in('mots.id_mot', $in,'NOT'));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('../plugins-dist/mots/prive/objets/liste/mots_associer.html','html_985727267714cecb399587e91c28663c','_compte',8,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$Numrows['_compte']['command'] = $command;
	$Numrows['_compte']['total'] = @intval($iter->count());
	$SP++;
	// RESULTATS
	
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_compte @ ../plugins-dist/mots/prive/objets/liste/mots_associer.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	$in = array();
	if (!(is_array($a = (($Pile[0]['id_groupe'] ?? null)))))
		$in[]= $a;
	else $in = array_merge($in, $a);
	if (!isset($command['table'])) {
		$command['table'] = 'groupes_mots';
		$command['id'] = '_groupes';
		$command['from'] = array('groupes_mots' => 'spip_groupes_mots');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("groupes_mots.id_groupe",
		"groupes_mots.titre",
		"groupes_mots.comite",
		"groupes_mots.minirezo",
		"groupes_mots.unseul",
		"groupes_mots.obligatoire");
		$command['orderby'] = array('groupes_mots.titre');
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array((!is_whereable(($Pile[0]['id_groupe'] ?? null)) ? '' : ((is_array(($Pile[0]['id_groupe'] ?? null))) ? sql_in('groupes_mots.id_groupe', $in) : 
			array('=', 'groupes_mots.id_groupe', sql_quote(($Pile[0]['id_groupe'] ?? null), '','bigint(21) NOT NULL AUTO_INCREMENT')))), 
			array('REGEXP', 'groupes_mots.tables_liees', sql_quote(interdire_scripts(table_objet(entites_html(table_valeur($Pile[0]??[], (string)'objet', null),true))), '', 'char')));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('../plugins-dist/mots/prive/objets/liste/mots_associer.html','html_985727267714cecb399587e91c28663c','_groupes',8,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
BOUCLE_comptehtml_985727267714cecb399587e91c28663c($Cache, $Pile, $doublons, $Numrows, $SP)
. vide($Pile['vars'][$_zzz=(string)'total'] = ($Numrows['_compte']['total'] ?? 0)) .
((((table_valeur($Pile["vars"]??[], (string)'total', null) != '0')) AND (invalideur_session($Cache, ((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('afficherselecteurmots', 'groupemots', invalideur_session($Cache, $Pile[$SP]['id_groupe']), '', invalideur_session($Cache, array('objet' => interdire_scripts(invalideur_session($Cache, entites_html(table_valeur($Pile[0]??[], (string)'objet', null),true))), 'id_objet' => interdire_scripts(invalideur_session($Cache, entites_html(table_valeur($Pile[0]??[], (string)'id_objet', null),true))), 'comite' => interdire_scripts(invalideur_session($Cache, $Pile[$SP]['comite'])), 'minirezo' => interdire_scripts(invalideur_session($Cache, $Pile[$SP]['minirezo'])))))?" ":""))))  ?
		('
	' . ' ' . (	'
	<div class="editer associer_mot groupe_mots' .
	(($t2 = strval(interdire_scripts(((($Pile[$SP]['unseul'] == 'oui')) ?' ' :''))))!=='' ?
			($t2 . 'unseul') :
			'') .
	(($t2 = strval(interdire_scripts(((($Pile[$SP]['obligatoire'] == 'oui')) ?' ' :''))))!=='' ?
			($t2 . 'obligatoire') :
			'') .
	(($t2 = strval((in_any($Pile[$SP]['id_groupe'],filtre_explode_dist(table_valeur($Pile["vars"]??[], (string)'groupes_vus', null),',')) ? 'vu':'nonvu')))!=='' ?
			(' ' . $t2) :
			'') .
	'">
		<label for="ajouter_lien-groupe' .
	$Pile[$SP]['id_groupe'] .
	'"' .
	(($t2 = strval(interdire_scripts(attribut_html(supprimer_tags(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))))))!=='' ?
			(' title="' . $t2 . '"') :
			'') .
	'>' .
	interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) .
	'</label>

		' .
	(((table_valeur($Pile["vars"]??[], (string)'total', null) < table_valeur($Pile["vars"]??[], (string)'_MAX_MOTS_LISTE', null)))  ?
			(' ' . (	'
			' .
		(($t3 = strval(interdire_scripts(((($Pile[$SP]['unseul'] == 'oui')) ?' ' :''))))!=='' ?
				($t3 . (	'
				' .
			recuperer_fond( 'prive/objets/liste/mots_associer-select-unseul' , array_merge($Pile[0],array('exclus' => table_valeur($Pile["vars"]??[], (string)'exclus', null) ,
	'id_groupe' => $Pile[$SP]['id_groupe'] )), array('compil'=>array('../plugins-dist/mots/prive/objets/liste/mots_associer.html','html_985727267714cecb399587e91c28663c','_groupes',14,$GLOBALS['spip_lang'])), _request('connect') ?? '') .
			'
			')) :
				'') .
		'
			' .
		(($t3 = strval(interdire_scripts(((($Pile[$SP]['unseul'] == 'oui')) ?'' :' '))))!=='' ?
				($t3 . (	'
				' .
			recuperer_fond( 'prive/objets/liste/mots_associer-select' , array_merge($Pile[0],array('exclus' => table_valeur($Pile["vars"]??[], (string)'exclus', null) ,
	'id_groupe' => $Pile[$SP]['id_groupe'] )), array('compil'=>array('../plugins-dist/mots/prive/objets/liste/mots_associer.html','html_985727267714cecb399587e91c28663c','_groupes',13,$GLOBALS['spip_lang'])), _request('connect') ?? '') .
			'
			')) :
				'') .
		'
		')) :
			'') .
	'
		' .
	(!((table_valeur($Pile["vars"]??[], (string)'total', null) < table_valeur($Pile["vars"]??[], (string)'_MAX_MOTS_LISTE', null)))  ?
			(' ' . (	'
			' .
		recuperer_fond( 'prive/objets/liste/mots_associer-recherche' , array_merge($Pile[0],array('exclus' => table_valeur($Pile["vars"]??[], (string)'exclus', null) ,
	'id_groupe' => $Pile[$SP]['id_groupe'] ,
	'unseul' => interdire_scripts($Pile[$SP]['unseul']) ,
	'par' => 'points' )), array('compil'=>array('../plugins-dist/mots/prive/objets/liste/mots_associer.html','html_985727267714cecb399587e91c28663c','_groupes',14,$GLOBALS['spip_lang'])), _request('connect') ?? '') .
		'
		')) :
			'') .
	'
	</div>
	')) :
		''));
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_groupes @ ../plugins-dist/mots/prive/objets/liste/mots_associer.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette ../plugins-dist/mots/prive/objets/liste/mots_associer.html
// Temps de compilation total: 5.805 ms
//

function html_985727267714cecb399587e91c28663c($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 = (
vide($Pile['vars'][$_zzz=(string)'groupes_vus'] = '0') .
vide($Pile['vars'][$_zzz=(string)'_MAX_MOTS_LISTE'] = (defined('_MAX_MOTS_LISTE') ? (defined('_MAX_MOTS_LISTE')?constant('_MAX_MOTS_LISTE'):''):'50')) .
'
' .
vide($Pile['vars'][$_zzz=(string)'exclus'] = interdire_scripts(lister_objets_lies(entites_html(table_valeur($Pile[0]??[], (string)'objet_source', null),true),interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'objet', null),true)),interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'id_objet', null),true)),interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'_objet_lien', null),true))))) .
BOUCLE_exclushtml_985727267714cecb399587e91c28663c($Cache, $Pile, $doublons, $Numrows, $SP) .
'

' .
(($t1 = BOUCLE_groupeshtml_985727267714cecb399587e91c28663c($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		('
	<div class="editer-groupe">
	' . $t1 . '
	</div>
') :
		'') .
'
');

	return analyse_resultat_skel('html_985727267714cecb399587e91c28663c', $Cache, $page, '../plugins-dist/mots/prive/objets/liste/mots_associer.html');
}
?>

SAMX