Sindbad~EG File Manager
<?php
/*
* Squelette : plugins-dist/medias/modeles/emb.html
* Date : Mon, 03 Oct 2016 08:25:36 GMT
* Compile : Mon, 14 Sep 2026 19:34:28 GMT
* Boucles : _ext
*/
function BOUCLE_exthtml_30da9b1bea7abec1116ce72461e1ea2d(&$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.extension",
"documents.id_document",
"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(@$Pile[0]['id_document'],'','bigint NOT NULL AUTO_INCREMENT')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins-dist/medias/modeles/emb.html','html_30da9b1bea7abec1116ce72461e1ea2d','_ext',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
(trouver_fond(( 'emb_' .
interdire_scripts($Pile[$SP]['extension'])),'modeles/') ? recuperer_fond( ( 'modeles/emb_' .
interdire_scripts($Pile[$SP]['extension'])) , array_merge($Pile[0],array('id' => $Pile[$SP]['id_document'] ,
'emb' => ' ' )), array('compil'=>array('plugins-dist/medias/modeles/emb.html','html_30da9b1bea7abec1116ce72461e1ea2d','_ext',0,$GLOBALS['spip_lang'])), ''):recuperer_fond( ( 'modeles/' .
interdire_scripts(trouver_modele_mime($Pile[$SP]['mime_type']))) , array_merge($Pile[0],array('id' => $Pile[$SP]['id_document'] ,
'emb' => ' ' )), array('compil'=>array('plugins-dist/medias/modeles/emb.html','html_30da9b1bea7abec1116ce72461e1ea2d','_ext',0,$GLOBALS['spip_lang'])), '')) .
'
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_ext @ plugins-dist/medias/modeles/emb.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette plugins-dist/medias/modeles/emb.html
// Temps de compilation total: 40.220 ms
//
function html_30da9b1bea7abec1116ce72461e1ea2d($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_30da9b1bea7abec1116ce72461e1ea2d($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_30da9b1bea7abec1116ce72461e1ea2d', $Cache, $page, 'plugins-dist/medias/modeles/emb.html');
}
?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists