uawdijnntqw1x1x1
IP : 216.73.216.249
Hostname : webm001.cluster110.gra.hosting.ovh.net
Kernel : Linux webm001.cluster110.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
etiennec
/
www
/
tmp
/
cache
/
skel
/
html_54972cd0ee40d0e18665cac5541942ef.php
/
/
<?php /* * Squelette : plugins/auto/zpip/inclure/documents.html * Date : Sun, 27 Sep 2015 12:46:15 GMT * Compile : Fri, 21 Aug 2026 23:55:31 GMT * Boucles : _documents_portfolio, _documents_joints */ function BOUCLE_documents_portfoliohtml_54972cd0ee40d0e18665cac5541942ef(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $in = array(); if (!(is_array($a = (@$Pile[0]['id_article'])))) $in[]= $a; else $in = array_merge($in, $a); $in1 = array(); if (!(is_array($a = (@$Pile[0]['id_rubrique'])))) $in1[]= $a; else $in1 = array_merge($in1, $a); $in2 = array(); $in2[]= 'png'; $in2[]= 'jpg'; $in2[]= 'gif'; if (!isset($command['table'])) { $command['table'] = 'documents'; $command['id'] = '_documents_portfolio'; $command['from'] = array('documents' => 'spip_documents','L1' => 'spip_documents_liens','L2' => 'spip_documents_liens','L3' => 'spip_types_documents'); $command['type'] = array(); $command['groupby'] = array("documents.id_document"); $command['select'] = array("0+documents.titre AS num", "documents.date", "documents.id_document", "L3.mime_type", "documents.titre", "documents.fichier"); $command['orderby'] = array('num', 'documents.date'); $command['join'] = array('L1' => array('documents','id_document'), 'L2' => array('documents','id_document'), 'L3' => array('documents','extension')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('documents.statut','publie,prop,prepa','publie',''), quete_condition_postdates('documents.date_publication',''), array('(documents.taille > 0 OR documents.distant=\'oui\')'), (!(is_array(@$Pile[0]['id_article'])?count(@$Pile[0]['id_article']):strlen(@$Pile[0]['id_article'])) ? '' : ((is_array(@$Pile[0]['id_article'])) ? sql_in('L1.id_objet',sql_quote($in)) : array('=', 'L1.id_objet', sql_quote(@$Pile[0]['id_article'],'','bigint NOT NULL DEFAULT \'0\'')))), (!(is_array(@$Pile[0]['id_article'])?count(@$Pile[0]['id_article']):strlen(@$Pile[0]['id_article'])) ? '' : array('=', 'L1.objet', sql_quote('article'))), (!(is_array(@$Pile[0]['id_rubrique'])?count(@$Pile[0]['id_rubrique']):strlen(@$Pile[0]['id_rubrique'])) ? '' : ((is_array(@$Pile[0]['id_rubrique'])) ? sql_in('L2.id_objet',sql_quote($in1)) : array('=', 'L2.id_objet', sql_quote(@$Pile[0]['id_rubrique'],'','bigint NOT NULL DEFAULT \'0\'')))), (!(is_array(@$Pile[0]['id_rubrique'])?count(@$Pile[0]['id_rubrique']):strlen(@$Pile[0]['id_rubrique'])) ? '' : array('=', 'L2.objet', sql_quote('rubrique'))), array('=', 'documents.mode', "'document'"), sql_in('documents.extension',sql_quote($in2)), array('=', 'L1.vu', "'non'")); if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('plugins/auto/zpip/inclure/documents.html','html_54972cd0ee40d0e18665cac5541942ef','_documents_portfolio',2,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= (($t1 = strval(vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_document'], 'document', '', '', true)))))!=='' ? (' <a href="' . $t1 . ( '" type="' . interdire_scripts($Pile[$SP]['mime_type']) . '" rel="documents_portfolio' . (($t2 = strval(@$Pile[0]['id_article']))!=='' ? ('-a' . $t2) : '') . (($t2 = strval(@$Pile[0]['id_rubrique']))!=='' ? ('-r' . $t2) : '') . '" ' . (($t2 = strval(interdire_scripts(couper(attribut_html(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])),'80'))))!=='' ? (' title="' . $t2 . '"') : '') . '>' . interdire_scripts(inserer_attribut(inserer_attribut(filtrer('image_graver', filtrer('image_reduire',get_spip_doc($Pile[$SP]['fichier']),'0','100')),'class','spip_logos'),'alt',interdire_scripts(couper(attribut_html(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])),'80')))) . '</a> ')) : ''); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_documents_portfolio @ plugins/auto/zpip/inclure/documents.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_documents_jointshtml_54972cd0ee40d0e18665cac5541942ef(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $in = array(); if (!(is_array($a = (@$Pile[0]['id_article'])))) $in[]= $a; else $in = array_merge($in, $a); $in1 = array(); if (!(is_array($a = (@$Pile[0]['id_rubrique'])))) $in1[]= $a; else $in1 = array_merge($in1, $a); $in2 = array(); $in2[]= 'gif'; $in2[]= 'jpg'; $in2[]= 'png'; if (!isset($command['table'])) { $command['table'] = 'documents'; $command['id'] = '_documents_joints'; $command['from'] = array('documents' => 'spip_documents','L1' => 'spip_documents_liens','L2' => 'spip_documents_liens','L3' => 'spip_types_documents'); $command['type'] = array(); $command['groupby'] = array("documents.id_document"); $command['select'] = array("0+documents.titre AS num", "documents.date", "documents.id_document", "L3.mime_type", "documents.titre", "L3.titre AS type_document", "documents.taille", "documents.descriptif"); $command['orderby'] = array('num', 'documents.date'); $command['join'] = array('L1' => array('documents','id_document'), 'L2' => array('documents','id_document'), 'L3' => array('documents','extension')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('documents.statut','publie,prop,prepa','publie',''), quete_condition_postdates('documents.date_publication',''), array('IN', 'documents.mode', '(\'image\',\'document\')'), array('(documents.taille > 0 OR documents.distant=\'oui\')'), (!(is_array(@$Pile[0]['id_article'])?count(@$Pile[0]['id_article']):strlen(@$Pile[0]['id_article'])) ? '' : ((is_array(@$Pile[0]['id_article'])) ? sql_in('L1.id_objet',sql_quote($in)) : array('=', 'L1.id_objet', sql_quote(@$Pile[0]['id_article'],'','bigint NOT NULL DEFAULT \'0\'')))), (!(is_array(@$Pile[0]['id_article'])?count(@$Pile[0]['id_article']):strlen(@$Pile[0]['id_article'])) ? '' : array('=', 'L1.objet', sql_quote('article'))), (!(is_array(@$Pile[0]['id_rubrique'])?count(@$Pile[0]['id_rubrique']):strlen(@$Pile[0]['id_rubrique'])) ? '' : ((is_array(@$Pile[0]['id_rubrique'])) ? sql_in('L2.id_objet',sql_quote($in1)) : array('=', 'L2.id_objet', sql_quote(@$Pile[0]['id_rubrique'],'','bigint NOT NULL DEFAULT \'0\'')))), (!(is_array(@$Pile[0]['id_rubrique'])?count(@$Pile[0]['id_rubrique']):strlen(@$Pile[0]['id_rubrique'])) ? '' : array('=', 'L2.objet', sql_quote('rubrique'))), sql_in('documents.extension',sql_quote($in2),'NOT'), array('=', 'L1.vu', "'non'")); if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('plugins/auto/zpip/inclure/documents.html','html_54972cd0ee40d0e18665cac5541942ef','_documents_joints',21,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $l1 = _T('public|spip|ecrire:bouton_telecharger'); $l2 = _T('public|spip|ecrire:info_document');$SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( (($t1 = strval(vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_document'], 'document', '', '', true)))))!=='' ? (' <li class="item"> <strong><a href="' . $t1 . ( '" title="' . $l1 . '" type="' . interdire_scripts($Pile[$SP]['mime_type']) . '">' . interdire_scripts(((($a = typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) OR (is_string($a) AND strlen($a))) ? $a : $l2)) . '</a></strong> <span class="small">(<span>' . interdire_scripts($Pile[$SP]['type_document']) . (($t2 = strval(interdire_scripts(taille_en_octets($Pile[$SP]['taille']))))!=='' ? (' – ' . $t2) : '') . '</span>)</span> ' . interdire_scripts(propre($Pile[$SP]['descriptif'], $connect, $Pile[0])) . ' ')) : '') . '</li> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_documents_joints @ plugins/auto/zpip/inclure/documents.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette plugins/auto/zpip/inclure/documents.html // Temps de compilation total: 16.627 ms // function html_54972cd0ee40d0e18665cac5541942ef($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 = ( ' ' . (($t1 = BOUCLE_documents_portfoliohtml_54972cd0ee40d0e18665cac5541942ef($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="documents documents_portfolio"> <h2 class="h2">' . _T('public|spip|ecrire:info_portfolio') . '</h2> ') . $t1 . ' </div> ') : '') . ' ' . (($t1 = BOUCLE_documents_jointshtml_54972cd0ee40d0e18665cac5541942ef($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="liste documents documents_joints"> <h2 class="h2">' . _T('public|spip|ecrire:titre_documents_joints') . '</h2> <ul class="liste-items"> ') . $t1 . ' </ul> </div> ') : '') . ' '); return analyse_resultat_skel('html_54972cd0ee40d0e18665cac5541942ef', $Cache, $page, 'plugins/auto/zpip/inclure/documents.html'); } ?>
/home/etiennec/www/tmp/cache/skel/html_54972cd0ee40d0e18665cac5541942ef.php