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 = '_ariane_site'; static $from = array('rubriques' => 'spip_rubriques'); static $type = array(); static $groupby = array(); static $select = array("rubriques.id_rubrique", "rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); $orderby = array("FIELD(rubriques.id_rubrique, $hierarchie)"); $where = array(sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'), array('IN', 'rubriques.id_rubrique', "($hierarchie)")); 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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_ariane_site',45,$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 .= ( ' > ' . interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE syndication */ function BOUCLE_contexte_sitehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'syndic'; static $id = '_contexte_site'; static $from = array('syndic' => 'spip_syndic'); static $type = array(); static $groupby = array(); static $select = array("syndic.id_syndic", "syndic.id_rubrique", "syndic.id_rubrique"); static $orderby = array(); $where = array( array('=', 'syndic.statut', '\'publie\''), array('=', 'syndic.id_syndic', sql_quote($Pile[0]['id_syndic'],'','int')), sql_in('syndic.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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_site',44,$GLOBALS['spip_lang'])); if ($result) { $SP++; // RESULTATS while ($Pile[$SP] = @sql_fetch($result)) { $t0 .= ( ' ' . BOUCLE_ariane_sitehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP) . ' > ' . interdire_scripts(couper(typo(supprimer_numero(@$Pile[0]['titre']), "TYPO", $connect),'80')) . ' '); } @sql_free($result); } return $t0; } /* BOUCLE hierarchie */ function BOUCLE_ariane_rubriquehtml_b8ab21db19ce6dce0a2477b0866126d5(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $connect = ''; if (!($id_rubrique = intval($Pile[$SP]['id_rubrique']))) return ''; $hierarchie = ''; while ($id_rubrique = sql_getfetsel("id_parent","spip_rubriques","id_rubrique=" . $id_rubrique,"","","", "", $connect)) { $hierarchie = ",$id_rubrique$hierarchie"; } if (!$hierarchie) return ""; $hierarchie = substr($hierarchie,1);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 = '_ariane_rubrique'; static $from = array('rubriques' => 'spip_rubriques'); static $type = array(); static $groupby = array(); static $select = array("rubriques.id_rubrique", "rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); $orderby = array("FIELD(rubriques.id_rubrique, $hierarchie)"); $where = array(sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'), array('IN', 'rubriques.id_rubrique', "($hierarchie)")); 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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_ariane_rubrique',38,$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 .= ( ' > ' . interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE rubriques */ function BOUCLE_contexte_rubriquehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = '_contexte_rubrique'; static $from = array('rubriques' => 'spip_rubriques'); static $type = array(); static $groupby = array(); static $select = array("rubriques.id_rubrique", "rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); static $orderby = array(); $where = array( array('=', 'rubriques.statut', '\'publie\''), array('=', 'rubriques.id_rubrique', sql_quote($Pile[0]['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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_rubrique',37,$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 .= ( ' ' . BOUCLE_ariane_rubriquehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP) . ' > ' . interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE rubriques */ function BOUCLE_ariane_brevehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = '_ariane_breve'; static $from = array('rubriques' => 'spip_rubriques'); static $type = array(); static $groupby = array(); static $select = array("rubriques.id_rubrique", "rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); static $orderby = array(); $where = array( array('=', 'rubriques.statut', '\'publie\''), array('=', 'rubriques.id_rubrique', 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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_ariane_breve',31,$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 .= ( ' > ' . interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE breves */ function BOUCLE_contexte_brevehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'breves'; static $id = '_contexte_breve'; static $from = array('breves' => 'spip_breves'); static $type = array(); static $groupby = array(); static $select = array("breves.id_rubrique", "breves.id_breve", "breves.titre", "breves.id_rubrique", "breves.lang"); static $orderby = array(); $where = array( array('=', 'breves.statut', '\'publie\''), array('=', 'breves.id_breve', sql_quote($Pile[0]['id_breve'],'','int')), sql_in('breves.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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_breve',30,$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 .= ( ' ' . BOUCLE_ariane_brevehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP) . ' > ' . interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE hierarchie */ function BOUCLE_ariane_articlehtml_b8ab21db19ce6dce0a2477b0866126d5(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $connect = ''; if (!($id_rubrique = intval($Pile[$SP]['id_rubrique']))) return ''; $hierarchie = ",$id_rubrique"; while ($id_rubrique = sql_getfetsel("id_parent","spip_rubriques","id_rubrique=" . $id_rubrique,"","","", "", $connect)) { $hierarchie = ",$id_rubrique$hierarchie"; } if (!$hierarchie) return ""; $hierarchie = substr($hierarchie,1);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 = '_ariane_article'; static $from = array('rubriques' => 'spip_rubriques'); static $type = array(); static $groupby = array(); static $select = array("rubriques.id_rubrique", "rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); $orderby = array("FIELD(rubriques.id_rubrique, $hierarchie)"); $where = array(sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'), array('IN', 'rubriques.id_rubrique', "($hierarchie)")); 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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_ariane_article',23,$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 .= ( ' > ' . interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE articles */ function BOUCLE_contexte_articlehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'articles'; static $id = '_contexte_article'; static $from = array('articles' => 'spip_articles'); static $type = array(); static $groupby = array(); static $select = array("articles.id_article", "articles.titre", "articles.id_rubrique", "articles.id_rubrique", "articles.lang"); static $orderby = array(); $where = array( array('=', 'articles.statut', '\'publie\''), array('<', 'articles.date', sql_quote(quete_date_postdates())), array('=', 'articles.id_article', sql_quote($Pile[0]['id_article'],'','int')), sql_in('articles.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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_article',22,$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 .= ( ' ' . BOUCLE_ariane_articlehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP) . ' > ' . interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE forums */ function BOUCLE_contexte_forumhtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'forum'; static $id = '_contexte_forum'; static $from = array('forum' => 'spip_forum'); static $type = array(); static $groupby = array(); static $select = array("forum.id_forum", "forum.titre", "forum.id_rubrique", "forum.id_article", "forum.id_breve"); static $orderby = array(); $where = array( array('=', 'forum.statut', '\'publie\''), array('=', 'forum.id_forum', sql_quote($Pile[0]['id_forum'],'','int')), array('OR',array('OR','forum.id_rubrique > 0 AND '.sql_in('forum.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('AND', 'forum.id_article > 0', array('NOT IN','forum.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND', 'forum.id_breve > 0', array('NOT IN','forum.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')))); 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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_forum',56,$GLOBALS['spip_lang'])); if ($result) { $SP++; // RESULTATS while ($Pile[$SP] = @sql_fetch($result)) { $t0 .= ( ' > ' . interdire_scripts(couper(safehtml(typo($Pile[$SP]['titre'], "TYPO", $connect)),'80')) . ' '); } @sql_free($result); } return $t0; } /* BOUCLE articles */ function BOUCLE_articlehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'articles'; static $id = '_article'; static $from = array('articles' => 'spip_articles'); static $type = array(); static $groupby = array(); static $select = array("articles.id_article", "articles.titre", "articles.date", "articles.texte", "articles.descriptif", "articles.chapo", "articles.id_rubrique", "articles.lang"); static $orderby = array(); $where = array( array('=', 'articles.statut', '\'publie\''), array('<', 'articles.date', sql_quote(quete_date_postdates())), array('=', 'articles.id_article', sql_quote($Pile[0]['id_article'],'','int')), sql_in('articles.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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_article',77,$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 .= ( ' ' . filtrer('image_graver',filtrer('image_reduire', ((!is_array($l = quete_logo('id_article', 'ON', $Pile[$SP]['id_article'],'', 0))) ? '': ("\"\"')),'150','100')) . '

' . interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect)) . '

' . interdire_scripts(affdate_jourcourt(normaliser_date($Pile[$SP]['date']))) . (($t1 = strval(recuperer_fond('modeles/lesauteurs', array('id_article' => $Pile[$SP]['id_article']), array('trim'=>true, 'compil'=>array('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_article',77,$GLOBALS['spip_lang'])), '')))!=='' ? (( ', ' . _T('public/spip/ecrire:par_auteur') . ' ') . $t1) : '') . ' ' . (($t1 = strval(interdire_scripts(filtre_introduction_dist($Pile[$SP]['descriptif'], (strlen($Pile[$SP]['descriptif']) OR chapo_redirigetil($Pile[$SP]['chapo'])) ? '' : $Pile[$SP]['chapo'] . "\n\n" . $Pile[$SP]['texte'], 500, $connect))))!=='' ? ('
' . $t1 . '
') : '') . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE breves */ function BOUCLE_brevehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'breves'; static $id = '_breve'; static $from = array('breves' => 'spip_breves'); static $type = array(); static $groupby = array(); static $select = array("breves.id_breve", "breves.titre", "breves.date_heure AS date", "breves.texte", "breves.id_rubrique", "breves.lang"); static $orderby = array(); $where = array( array('=', 'breves.statut', '\'publie\''), array('=', 'breves.id_breve', sql_quote($Pile[0]['id_breve'],'','int')), sql_in('breves.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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_breve',84,$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 .= ( ' ' . filtrer('image_graver',filtrer('image_reduire', ((!is_array($l = quete_logo('id_breve', 'ON', $Pile[$SP]['id_breve'],'', 0))) ? '': ("\"\"')),'150','100')) . '

' . interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect)) . '

' . interdire_scripts(affdate_jourcourt(normaliser_date($Pile[$SP]['date']))) . ' ' . (($t1 = strval(interdire_scripts(filtre_introduction_dist('', $Pile[$SP]['texte'], 300, $connect))))!=='' ? ('
' . $t1 . '
') : '') . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE rubriques */ function BOUCLE_rubriquehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = '_rubrique'; static $from = array('rubriques' => 'spip_rubriques'); static $type = array(); static $groupby = array(); static $select = array("rubriques.id_rubrique", "rubriques.titre", "rubriques.texte", "rubriques.id_rubrique", "rubriques.lang"); static $orderby = array(); $where = array( array('=', 'rubriques.statut', '\'publie\''), array('=', 'rubriques.id_rubrique', sql_quote($Pile[0]['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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_rubrique',91,$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 .= ( '

' . interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect)) . '

' . (($t1 = strval(interdire_scripts(propre($Pile[$SP]['texte'], $connect))))!=='' ? ('
' . $t1 . '
') : '') . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE syndication */ function BOUCLE_syndichtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'syndic'; static $id = '_syndic'; static $from = array('syndic' => 'spip_syndic'); static $type = array(); static $groupby = array(); static $select = array("syndic.id_syndic", "syndic.url_site", "syndic.nom_site", "syndic.descriptif", "syndic.id_rubrique"); static $orderby = array(); $where = array( array('=', 'syndic.statut', '\'publie\''), array('=', 'syndic.id_syndic', sql_quote($Pile[0]['id_syndic'],'','int')), sql_in('syndic.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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_syndic',96,$GLOBALS['spip_lang'])); if ($result) { $SP++; // RESULTATS while ($Pile[$SP] = @sql_fetch($result)) { $t0 .= ( '

' . interdire_scripts(typo(supprimer_numero(calculer_url($Pile[$SP]['url_site'],$Pile[$SP]['nom_site'], 'titre', $connect)), "TYPO", $connect)) . '

' . (($t1 = strval(interdire_scripts(propre($Pile[$SP]['descriptif'], $connect))))!=='' ? ('
' . $t1 . '
') : '') . ' '); } @sql_free($result); } return $t0; } /* BOUCLE forums */ function BOUCLE_forum_parenthtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'forum'; static $id = '_forum_parent'; static $from = array('forum' => 'spip_forum'); static $type = array(); static $groupby = array(); static $select = array("forum.id_forum", "forum.titre", "forum.date_heure AS date", "forum.auteur AS nom", "forum.texte", "forum.id_rubrique", "forum.id_article", "forum.id_breve"); static $orderby = array(); $where = array( array('=', 'forum.statut', '\'publie\''), array('=', 'forum.id_forum', sql_quote($Pile[0]['id_forum'],'','int')), array('OR',array('OR','forum.id_rubrique > 0 AND '.sql_in('forum.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('AND', 'forum.id_article > 0', array('NOT IN','forum.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND', 'forum.id_breve > 0', array('NOT IN','forum.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')))); 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/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_forum_parent',71,$GLOBALS['spip_lang'])); if ($result) { $l1 = _T('public/spip/ecrire:par_auteur');$SP++; // RESULTATS while ($Pile[$SP] = @sql_fetch($result)) { $t0 .= ( '

' . interdire_scripts(safehtml(typo($Pile[$SP]['titre'], "TYPO", $connect))) . '

' . interdire_scripts(affdate_jourcourt(normaliser_date($Pile[$SP]['date']))) . (($t1 = strval(interdire_scripts(heures(normaliser_date($Pile[$SP]['date'])))))!=='' ? (' ' . $t1) : '') . (($t1 = strval(interdire_scripts(minutes(normaliser_date($Pile[$SP]['date'])))))!=='' ? (':' . $t1) : '') . (($t1 = strval(interdire_scripts(typo(supprimer_numero($Pile[$SP]['nom']), "TYPO", $connect))))!=='' ? (( ', ' . $l1 . ' ') . $t1) : '') . ' ' . (($t1 = strval(interdire_scripts(lignes_longues(filtre_introduction_dist('', $Pile[$SP]['texte'], 600, $connect)))))!=='' ? ('
' . $t1 . '
') : '') . ' '); } @sql_free($result); } return $t0; } // // Fonction principale du squelette squelettes-dist/forum.html // Temps de compilation total: 259.024 ms // function html_b8ab21db19ce6dce0a2477b0866126d5($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 = ( ' ' . _T('public/spip/ecrire:poster_message') . ' - ' . interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect))) . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inc-head') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes-dist/forum.html\',\'html_b8ab21db19ce6dce0a2477b0866126d5\',\'\',5,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'>
' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inc-entete') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes-dist/forum.html\',\'html_b8ab21db19ce6dce0a2477b0866126d5\',\'\',13,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'>
' . _T('public/spip/ecrire:accueil_site') . ' ' . (($t1 = BOUCLE_contexte_articlehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? ($t1 . ' ') : (( ' ' . (($t2 = BOUCLE_contexte_brevehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? $t2 : (( ' ' . (($t3 = BOUCLE_contexte_rubriquehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? $t3 : (( ' ' . (($t4 = BOUCLE_contexte_sitehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? $t4 : (' ')) . ' '))) . ' '))) . ' '))) . ' ' . BOUCLE_contexte_forumhtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP) . ' > ' . _T('public/spip/ecrire:poster_message') . '

' . _T('public/spip/ecrire:poster_message') . '

' . executer_balise_dynamique('FORMULAIRE_FORUM', array(@$Pile[0]['id_rubrique'],@$Pile[0]['id_forum'],@$Pile[0]['id_article'],@$Pile[0]['id_breve'],@$Pile[0]['id_syndic'],@$Pile[0]['ajouter_mot'],@$Pile[0]['ajouter_groupe'],@$Pile[0]['afficher_texte']), array('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','',105,$GLOBALS['spip_lang'])) . '
 
' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inc-pied') . ', array(\'skel\' => ' . argumenter_squelette('squelettes-dist/forum.html') . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes-dist/forum.html\',\'html_b8ab21db19ce6dce0a2477b0866126d5\',\'\',126,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'>
'); return analyse_resultat_skel('html_b8ab21db19ce6dce0a2477b0866126d5', $Cache, $page, 'squelettes-dist/forum.html'); } ?>