Sindbad~EG File Manager
<?php
/*
* Squelette : ../plugins-dist/breves/prive/objets/contenu/breve.html
* Date : Mon, 03 Oct 2016 08:25:43 GMT
* Compile : Tue, 28 Mar 2017 13:41:52 GMT
* Boucles : _afficher_contenu
*/
function BOUCLE_afficher_contenuhtml_cc82b063b646864d320f77c86ed33f9c(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'breves';
$command['id'] = '_afficher_contenu';
$command['from'] = array('breves' => 'spip_breves');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("breves.titre",
"breves.lang",
"breves.texte",
"breves.lien_titre",
"breves.lien_url");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'breves.id_breve', sql_quote(interdire_scripts(entites_html(table_valeur(@$Pile[0], (string)'id', null),true)),'','bigint(21) NOT NULL AUTO_INCREMENT')),
array('REGEXP', 'breves.statut', "'.*'"));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('../plugins-dist/breves/prive/objets/contenu/breve.html','html_cc82b063b646864d320f77c86ed33f9c','_afficher_contenu',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 .= (
'
<div class="champ contenu_titre' .
(($t1 = strval(interdire_scripts((strlen($Pile[$SP]['titre']) ? '':'vide'))))!=='' ?
(' ' . $t1) :
'') .
'">
<div class=\'label\'>' .
_T('public|spip|ecrire:info_titre') .
'</div>
<div dir=\'' .
lang_dir($Pile[$SP]['lang'], 'ltr','rtl') .
'\' class=\'' .
'titre\'>' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) .
'</div>
</div>
<div class="champ contenu_texte' .
(($t1 = strval(interdire_scripts((strlen($Pile[$SP]['texte']) ? '':'vide'))))!=='' ?
(' ' . $t1) :
'') .
'">
<div class=\'label\'>' .
_T('public|spip|ecrire:info_texte') .
'</div>
<div dir=\'' .
lang_dir($Pile[$SP]['lang'], 'ltr','rtl') .
'\' class=\'' .
'texte\'>' .
interdire_scripts(filtrer('image_graver',filtrer('image_reduire',propre($Pile[$SP]['texte'], $connect, $Pile[0]),'500','0'))) .
'</div>
</div>
<div class="champ contenu_lien_titre' .
(($t1 = strval(interdire_scripts((strlen($Pile[$SP]['lien_titre']) ? '':'vide'))))!=='' ?
(' ' . $t1) :
'') .
'">
<div class=\'label\'>' .
_T('public|spip|ecrire:lien_voir_en_ligne') .
'</div>
<div dir=\'' .
lang_dir($Pile[$SP]['lang'], 'ltr','rtl') .
'\' class=\'' .
'lien_titre\'><a href=\'' .
interdire_scripts(vider_url($Pile[$SP]['lien_url'])) .
'\'>' .
interdire_scripts(typo($Pile[$SP]['lien_titre'], "TYPO", $connect, $Pile[0])) .
'</a></div>
</div>
' .
(($t1 = strval(interdire_scripts(calculer_notes())))!=='' ?
(( '<div class="champ contenu_notes">
<div class=\'label\'>' .
_T('public|spip|ecrire:info_notes') .
'</div>
<div dir=\'' .
lang_dir($Pile[$SP]['lang'], 'ltr','rtl') .
'\' class=\'' .
'notes\'>') . $t1 . '</div>
</div>') :
'') .
'
');
lang_select();
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_afficher_contenu @ ../plugins-dist/breves/prive/objets/contenu/breve.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../plugins-dist/breves/prive/objets/contenu/breve.html
// Temps de compilation total: 6.016 ms
//
function html_cc82b063b646864d320f77c86ed33f9c($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_afficher_contenuhtml_cc82b063b646864d320f77c86ed33f9c($Cache, $Pile, $doublons, $Numrows, $SP);
return analyse_resultat_skel('html_cc82b063b646864d320f77c86ed33f9c', $Cache, $page, '../plugins-dist/breves/prive/objets/contenu/breve.html');
}
?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists