File "html_b172ee28de2f13278df0b402a3910606.php"
Full path: /home/argothem/www/organecyberpresse/tmp/cache/skel/html_b172ee28de2f13278df0b402a3910606.php
File size: 3.25 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Squelette : plugins-dist/medias/modeles/image_emb.html
* Date : Tue, 10 Jun 2025 11:31:48 GMT
* Compile : Fri, 22 Aug 2025 12:37:22 GMT
* Boucles : _ext
*/
function BOUCLE_exthtml_b172ee28de2f13278df0b402a3910606(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'documents';
$command['id'] = '_ext';
$command['from'] = array('documents' => 'spip_documents','L1' => 'spip_types_documents');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("documents.id_document",
"documents.extension",
"L1.mime_type");
$command['orderby'] = array();
$command['join'] = array('L1' => array('documents','extension'));
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('(documents.taille > 0 OR documents.distant=\'oui\')'),
array('=', 'documents.id_document', sql_quote(retablir_echappements_modeles(interdire_scripts(entites_html(sinon(table_valeur($Pile[0]??[], (string)'id', null), (interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'id_document', null),true)))),true))), '', 'bigint NOT NULL AUTO_INCREMENT')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = Spip\Compilateur\Iterateur\Factory::create(
"SQL",
$command,
array('plugins-dist/medias/modeles/image_emb.html','html_b172ee28de2f13278df0b402a3910606','_ext',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'modeles/' .
retablir_echappements_modeles(interdire_scripts(medias_trouver_modele_emb($Pile[$SP]['extension'],(interdire_scripts(medias_mime_type_document($Pile[$SP]['id_document'], $Pile[$SP]['extension']))),'image'))))) . ', array_merge('.var_export($Pile[0],1).',array(\'id\' => ' . argumenter_squelette(retablir_echappements_modeles($Pile[$SP]['id_document'])) . ',
\'emb\' => ' . argumenter_squelette(' ') . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins-dist/medias/modeles/image_emb.html\',\'html_b172ee28de2f13278df0b402a3910606\',\'\',2,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\');
?'.'>
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_ext @ plugins-dist/medias/modeles/image_emb.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette plugins-dist/medias/modeles/image_emb.html
// Temps de compilation total: 1.187 ms
//
function html_b172ee28de2f13278df0b402a3910606($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_exthtml_b172ee28de2f13278df0b402a3910606($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_b172ee28de2f13278df0b402a3910606', $Cache, $page, 'plugins-dist/medias/modeles/image_emb.html');
}