' . $t1 . '
') :
'');
$Numrows['_sous_rubriques'] = ($save_numrows);
return $t0;
}
/* BOUCLE rubriques */
function BOUCLE_test_exposehtml_f1aaca8455250cd904efd39ebb352e23(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')){
$link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin');
$message_fr = 'La restriction d\'accès a ete desactivée. Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'rubriques';
static $id = '_test_expose';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_rubrique",
"rubriques.id_rubrique",
"rubriques.lang",
"rubriques.titre");
static $orderby = array();
$where =
array(
array('=', 'rubriques.statut', '\'publie\''),
array('=', 'rubriques.id_rubrique', sql_quote($Pile[$SP]['id_parent'],'','int')), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('squelettes-dist/inc-rubriques.html','html_f1aaca8455250cd904efd39ebb352e23','_test_expose',17,$GLOBALS['spip_lang']));
if ($result) {
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
$t0 .= (calcul_exposer($Pile[$SP]['id_rubrique'], 'id_rubrique', $Pile[0], 0, 'id_rubrique', '') ? ' ' : '');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE rubriques */
function BOUCLE_sous_rubriqueshtml_f1aaca8455250cd904efd39ebb352e23(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')){
$link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin');
$message_fr = 'La restriction d\'accès a ete desactivée. Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'rubriques';
static $id = '_sous_rubriques';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_parent",
"rubriques.id_rubrique",
"0+rubriques.titre AS num",
"rubriques.titre",
"rubriques.id_rubrique",
"rubriques.lang");
static $orderby = array('num', 'rubriques.titre');
$where =
array(
array('=', 'rubriques.statut', '\'publie\''),
array('=', 'rubriques.id_parent', sql_quote($Pile[$SP]['id_rubrique'],'','int')), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('squelettes-dist/inc-rubriques.html','html_f1aaca8455250cd904efd39ebb352e23','_sous_rubriques',15,$GLOBALS['spip_lang']));
if ($result) {
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
$t0 .= (($t1 = BOUCLE_test_exposehtml_f1aaca8455250cd904efd39ebb352e23($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
($t1 . ( '