File "html_10717d4290ffc839973a364cb7058056.php"
Full path: /home/argothem/www/cache/skel/html_10717d4290ffc839973a364cb7058056.php
File size: 3.58 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Squelette : plugins-dist/forum/formulaires/inc-forum_bloc_choix_mots.html
* Date : Fri, 07 Jul 2023 11:03:26 GMT
* Compile : Sat, 24 Feb 2024 12:51:42 GMT
* Boucles : _G
*/
function BOUCLE_Ghtml_10717d4290ffc839973a364cb7058056(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'groupes_mots';
$command['id'] = '_G';
$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.unseul");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('REGEXP', 'groupes_mots.tables_liees', sql_quote(table_valeur($Pile["vars"]??[], (string)'table', null), '', 'char')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = Spip\Compilateur\Iterateur\Factory::create(
"SQL",
$command,
array('plugins-dist/forum/formulaires/inc-forum_bloc_choix_mots.html','html_10717d4290ffc839973a364cb7058056','_G',2,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
(($t1 = strval(in_any($Pile[$SP]['id_groupe'],interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'ajouter_groupe', null),true)),' ')))!=='' ?
($t1 . ( '
<fieldset>
<legend>' .
_T('public|spip|ecrire:mots_clefs') .
' : ' .
interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) .
'</legend>
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('formulaires/inc-choix_mots') . ', array(\'id_groupe\' => ' . argumenter_squelette($Pile[$SP]['id_groupe']) . ',
\'ajouter_mot\' => ' . argumenter_squelette(($Pile[0]['ajouter_mot'] ?? null)) . ',
\'unseul\' => ' . argumenter_squelette($Pile[$SP]['unseul']) . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins-dist/forum/formulaires/inc-forum_bloc_choix_mots.html\',\'html_10717d4290ffc839973a364cb7058056\',\'\',6,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\');
?'.'>
</fieldset>
')) :
''));
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_G @ plugins-dist/forum/formulaires/inc-forum_bloc_choix_mots.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette plugins-dist/forum/formulaires/inc-forum_bloc_choix_mots.html
// Temps de compilation total: 1.139 ms
//
function html_10717d4290ffc839973a364cb7058056($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)'table'] = concat(concat('(^|,)(',interdire_scripts(entites_html(sinon(table_valeur($Pile[0]??[], (string)'table', null), 'rienderien'),true))),interdire_scripts(choixsiegal((include_spip('inc/config')?lire_config('mots_cles_forums',null,false):''),'oui','|forum','')),')(,|$)')) .
BOUCLE_Ghtml_10717d4290ffc839973a364cb7058056($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_10717d4290ffc839973a364cb7058056', $Cache, $page, 'plugins-dist/forum/formulaires/inc-forum_bloc_choix_mots.html');
}