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 = '_r';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.date",
"rubriques.id_rubrique",
"rubriques.id_rubrique",
"rubriques.lang",
"rubriques.titre");
static $orderby = array('rubriques.date DESC');
$where =
array(
array('=', 'rubriques.statut', '\'publie\''), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
static $join = array();
static $limit = '0,1000';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('squelettes-dist/sitemap.xml.html','html_c22794786902f81178192107733487a6','_r',29,$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 = strval(url_absolue(vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))))))!=='' ?
('
' . $t1 . '') :
'');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE articles */
function BOUCLE_ahtml_c22794786902f81178192107733487a6(&$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 = '_a';
static $from = array('articles' => 'spip_articles');
static $type = array();
static $groupby = array();
static $select = array("articles.date_modif",
"articles.date",
"articles.id_article",
"articles.id_rubrique",
"articles.lang",
"articles.titre");
static $orderby = array('articles.date_modif DESC', 'articles.date DESC');
$where =
array(
array('=', 'articles.statut', '\'publie\''),
array('<', 'articles.date', sql_quote(quete_date_postdates())), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
static $join = array();
static $limit = '0,2000';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('squelettes-dist/sitemap.xml.html','html_c22794786902f81178192107733487a6','_a',34,$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 = strval(url_absolue(vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_article'], 'article', '', '', true))))))!=='' ?
('
' . $t1 . ( '' .
(($Pile[$SP]['date_modif'] > (is_array($a = ($Pile["vars"])) ? $a['recent'] : "")) ? (($t3 = strval(date_iso($Pile[$SP]['date_modif'])))!=='' ?
('' . $t3 . '') :
''):'') .
'')) :
'');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE breves */
function BOUCLE_bhtml_c22794786902f81178192107733487a6(&$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 = '_b';
static $from = array('breves' => 'spip_breves');
static $type = array();
static $groupby = array();
static $select = array("breves.date_heure",
"breves.id_breve",
"breves.id_rubrique",
"breves.lang",
"breves.titre");
static $orderby = array('breves.date_heure DESC');
$where =
array(
array('=', 'breves.statut', '\'publie\''), sql_in('breves.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
static $join = array();
static $limit = '0,1000';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('squelettes-dist/sitemap.xml.html','html_c22794786902f81178192107733487a6','_b',39,$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 = strval(url_absolue(vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_breve'], 'breve', '', '', true))))))!=='' ?
('
' . $t1 . '') :
'');
}
lang_select();
@sql_free($result);
}
return $t0;
}
//
// Fonction principale du squelette squelettes-dist/sitemap.xml.html
// Temps de compilation total: 34.512 ms
//
function html_c22794786902f81178192107733487a6($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 = (
''.'' .
'<'.'?php header("' . 'Content-Type: text/xml; charset=utf-8' . '"); ?'.'>
' .
htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) .
'/
hourly
' .
BOUCLE_rhtml_c22794786902f81178192107733487a6($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
vide($Pile['vars']['recent'] = date('Y-m-d H:i:s',strtotime('-1 day'))) .
'
' .
BOUCLE_ahtml_c22794786902f81178192107733487a6($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
BOUCLE_bhtml_c22794786902f81178192107733487a6($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_c22794786902f81178192107733487a6', $Cache, $page, 'squelettes-dist/sitemap.xml.html');
}
?>