| Current Path : /home/bourgleram/www/tmp/cache/skel/ |
| Current File : /home/bourgleram/www/tmp/cache/skel/html_f21410c8b7b3521ca1228f733b819994.php |
<?php
/*
* Squelette : ../plugins-dist/mots/prive/squelettes/navigation/mots.html
* Date : Mon, 03 Oct 2016 08:25:39 GMT
* Compile : Tue, 28 Mar 2017 13:40:59 GMT
* Boucles : _nav
*/
function BOUCLE_navhtml_f21410c8b7b3521ca1228f733b819994(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'groupes_mots';
$command['id'] = '_nav';
$command['from'] = array('groupes_mots' => 'spip_groupes_mots');
$command['type'] = array();
$command['groupby'] = array();
$command['orderby'] = array('num', 'multi');
$command['where'] =
array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['select'] = array("0+groupes_mots.titre AS num",
"".sql_multi('groupes_mots.titre', $GLOBALS['spip_lang'])."",
"groupes_mots.id_groupe",
"groupes_mots.titre");
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('../plugins-dist/mots/prive/squelettes/navigation/mots.html','html_f21410c8b7b3521ca1228f733b819994','_nav',2,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (($t1 = strval(invalideur_session($Cache, ((((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('voir', 'groupemots', invalideur_session($Cache, $Pile[$SP]['id_groupe']))?" ":"")) ?' ' :''))))!=='' ?
($t1 . ( '
<li class="item"><a href=\'#groupe_mots-' .
$Pile[$SP]['id_groupe'] .
'\'
onclick=\'$(".groupe_mots").hide().filter("#groupe_mots-' .
$Pile[$SP]['id_groupe'] .
'").show();$(this).parent().addClass("on").siblings().removeClass("on").parent().siblings("a.tous").show();return false;\'
>' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) .
'</a></li>
')) :
'');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_nav @ ../plugins-dist/mots/prive/squelettes/navigation/mots.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../plugins-dist/mots/prive/squelettes/navigation/mots.html
// Temps de compilation total: 14.958 ms
//
function html_f21410c8b7b3521ca1228f733b819994($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 = (
boite_ouvrir(_T('mots:titre_page_mots_tous'), 'info') .
'
' .
(($t1 = BOUCLE_navhtml_f21410c8b7b3521ca1228f733b819994($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<div class="liste">
<h4>' .
_T('mots:titre_groupes_mots') .
'</h4>
<ul class=\'liste-items\'>
') . $t1 . ( '
</ul>
<a class=\'tous none\' href=\'#\' onclick=\'$(".groupe_mots").show();$(this).siblings("ul").find(">li").removeClass("on");$(this).hide();return false;\'>' .
_T('mots:icone_voir_tous_mots_cles') .
'</a>
</div>
')) :
'') .
'
' .
boite_fermer() .
'
' .
(($t1 = strval(invalideur_session($Cache, ((((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('creer', 'groupemots')?" ":"")) ?' ' :''))))!=='' ?
($t1 . ( '
' .
boite_ouvrir('', 'raccourcis') .
filtre_icone_horizontale_dist(generer_url_ecrire('groupe_mots_edit','new=oui'),_T('mots:icone_creation_groupe_mots'),'groupe_mots','new') .
'
' .
boite_fermer() .
'
')) :
'') .
'
');
return analyse_resultat_skel('html_f21410c8b7b3521ca1228f733b819994', $Cache, $page, '../plugins-dist/mots/prive/squelettes/navigation/mots.html');
}
?>