| Current Path : /home/quelfutuu/www/lchg/tmp/cache/skel/ |
| Current File : /home/quelfutuu/www/lchg/tmp/cache/skel/html_dd4aaebfa05324dd21c6fff97365043f.php |
<?php
/*
* Squelette : plugins/auto/oembed/v3.3.0/oembed/output/modeles/article.json.html
* Date : Fri, 05 Jul 2024 16:57:44 GMT
* Compile : Mon, 11 May 2026 17:26:02 GMT
* Boucles : _art
*/
function BOUCLE_arthtml_dd4aaebfa05324dd21c6fff97365043f(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $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. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.';
die($message_fr.'<br />'.$message_en);
}
if (!isset($command['table'])) {
$command['table'] = 'articles';
$command['id'] = '_art';
$command['from'] = array('articles' => 'spip_articles');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("articles.titre",
"articles.id_article",
"articles.descriptif",
"articles.texte",
"articles.chapo",
"articles.id_rubrique",
"articles.id_article",
"articles.lang");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''),
quete_condition_postdates('articles.date',''),
array('=', 'articles.id_article', sql_quote(($Pile[0]['id_article'] ?? null), '','bigint NOT NULL AUTO_INCREMENT')), sql_in('articles.id_article', accesrestreint_liste_objets_exclus('articles', !test_espace_prive()), 'NOT'), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = Spip\Compilateur\Iterateur\Factory::create(
"SQL",
$command,
array('plugins/auto/oembed/v3.3.0/oembed/output/modeles/article.json.html','html_dd4aaebfa05324dd21c6fff97365043f','_art',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
$t0 .= (($t1 = strval(retablir_echappements_modeles(json_encode_html(array('version' => '1.0', 'type' => 'rich', 'provider_name' => (interdire_scripts(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))), 'provider_url' => (spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.'))), 'title' => (interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))), 'author_name' => (supprimer_tags(recuperer_fond('modeles/lesauteurs', array('objet'=>'article','id_objet' => $Pile[$SP]['id_article'],'id_article' => $Pile[$SP]['id_article']), array('trim'=>true, 'compil'=>array('plugins/auto/oembed/v3.3.0/oembed/output/modeles/article.json.html','html_dd4aaebfa05324dd21c6fff97365043f','_art',2,$GLOBALS['spip_lang'])), ''))), 'width' => (interdire_scripts(entites_html(sinon(table_valeur($Pile[0]??[], (string)'maxwidth', null), (interdire_scripts((include_spip('inc/config')?lire_config('oembed/maxwidth','480',false):'')))),true))), 'height' => (interdire_scripts(entites_html(sinon(table_valeur($Pile[0]??[], (string)'maxheight', null), (interdire_scripts((include_spip('inc/config')?lire_config('oembed/maxheight','295',false):'')))),true))), 'url' => (url_absolue(vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))))), 'html' => ( (($t2 = strval((interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))))))!=='' ?
(( '<h4 class=\'title\'><a href=\'' .
(url_absolue(vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))))) .
'\'>') . $t2 . ( '</a></h4>' .
(($t3 = strval((interdire_scripts(generer_objet_introduction((int)$Pile[$SP]['id_article'], 'articles', array('descriptif' => $Pile[$SP]['descriptif'],'texte' => $Pile[$SP]['texte'],'chapo' => $Pile[$SP]['chapo'],), '500', null, null, $connect)))))!=='' ?
('<blockquote class=\'spip\'>' . $t3 . '</blockquote>') :
''))) :
'') .
'
'))))))!=='' ?
((($t2 = strval(retablir_echappements_modeles(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'callback_jsonp', null),true)))))!=='' ?
($t2 . '(') :
'') . $t1 . (($t2 = strval(retablir_echappements_modeles(interdire_scripts(((entites_html(table_valeur($Pile[0]??[], (string)'callback_jsonp', null),true)) ?' ' :'')))))!=='' ?
(')' . $t2) :
'')) :
'');
lang_select();
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_art @ plugins/auto/oembed/v3.3.0/oembed/output/modeles/article.json.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette plugins/auto/oembed/v3.3.0/oembed/output/modeles/article.json.html
// Temps de compilation total: 29.318 ms
//
function html_dd4aaebfa05324dd21c6fff97365043f($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 = (
BOUCLE_arthtml_dd4aaebfa05324dd21c6fff97365043f($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
retablir_echappements_modeles('<' . '?php header("X-Spip-Filtre: '.'trim' . '"); ?'.'>'));
return analyse_resultat_skel('html_dd4aaebfa05324dd21c6fff97365043f', $Cache, $page, 'plugins/auto/oembed/v3.3.0/oembed/output/modeles/article.json.html');
}