File "html_d4a1f06b6acf2945862ef99e2c191eb2.php"
Full path: /home/argothem/www/organecyberpresse/tmp/cache/skel/html_d4a1f06b6acf2945862ef99e2c191eb2.php
File size: 3.63 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Squelette : squelettes/modeles/article_mots.html
* Date : Tue, 28 Jun 2022 09:29:44 GMT
* Compile : Tue, 26 Aug 2025 15:58:19 GMT
* Boucles : _mots
*/
function BOUCLE_motshtml_d4a1f06b6acf2945862ef99e2c191eb2(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'mots';
$command['id'] = '_mots';
$command['from'] = array('mots' => 'spip_mots','L1' => 'spip_mots_liens');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("mots.titre",
"mots.id_mot");
$command['orderby'] = array('mots.titre');
$command['join'] = array('L1' => array('mots','id_mot'));
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'L1.id_objet', sql_quote(($Pile[0]['id_article'] ?? null), '','bigint NOT NULL DEFAULT \'0\'')),
array('=', 'L1.objet', sql_quote('article')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = Spip\Compilateur\Iterateur\Factory::create(
"SQL",
$command,
array('squelettes/modeles/article_mots.html','html_d4a1f06b6acf2945862ef99e2c191eb2','_mots',14,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
<li><a href="' .
retablir_echappements_modeles(vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_mot'], 'mot', '', '', true)))) .
'" rel="tag">' .
retablir_echappements_modeles(interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))) .
'</a></li>
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_mots @ squelettes/modeles/article_mots.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette squelettes/modeles/article_mots.html
// Temps de compilation total: 1.542 ms
//
function html_d4a1f06b6acf2945862ef99e2c191eb2($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 = (
(($t1 = strval(retablir_echappements_modeles('')))!=='' ?
($t1 . '
Liste des mots-cles d\'un article
<template><article1|mots></template>
') :
'') .
(($t1 = strval(retablir_echappements_modeles('')))!=='' ?
($t1 . ( '
Modele <article1|mots> : liste des mots-cles d\'un article
' .
retablir_echappements_modeles(
((($recurs=(isset($Pile[0]['recurs'])?$Pile[0]['recurs']:0))>=5)? '' :
recuperer_fond('modeles/article_mots', array('lang' => $GLOBALS["spip_lang"] ,
'recurs'=>(++$recurs)), array('compil'=>array('squelettes/modeles/article_mots.html','html_d4a1f06b6acf2945862ef99e2c191eb2','',3,$GLOBALS['spip_lang']), 'trim'=>true), ''))
) .
'Pour la notation rel="tag" voir
<http://microformats.org/wiki/rel-tag-fr>
')) :
'') .
(($t1 = BOUCLE_motshtml_d4a1f06b6acf2945862ef99e2c191eb2($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<div class="menu"' .
(($t3 = strval(retablir_echappements_modeles(interdire_scripts(filtre_match_dist(entites_html(table_valeur($Pile[0]??[], (string)'align', null),true),'left|right')))))!=='' ?
(' style=\'float:' . $t3 . ';\'') :
'') .
'>
<h2>' .
_T('public|spip|ecrire:mots_clefs') .
'</h2>
<ul>
') . $t1 . '
</ul>
</div>
') :
'') .
'
');
return analyse_resultat_skel('html_d4a1f06b6acf2945862ef99e2c191eb2', $Cache, $page, 'squelettes/modeles/article_mots.html');
}