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_55f2c93a465f790df0ef66ce93faea45.php
/
/
<?php /* * Squelette : plugins/auto/zpip/extra/auteur.html * Date : Sun, 27 Sep 2015 12:46:08 GMT * Compile : Wed, 14 Oct 2015 20:04:02 GMT * Boucles : _auteurs, _extra_auteur */ function BOUCLE_auteurshtml_55f2c93a465f790df0ef66ce93faea45(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $command['pagination'] = array((isset($Pile[0]['debut_auteurs']) ? $Pile[0]['debut_auteurs'] : null), 20); if (!isset($command['table'])) { $command['table'] = 'auteurs'; $command['id'] = '_auteurs'; $command['from'] = array('auteurs' => 'spip_auteurs','L1' => 'spip_auteurs_liens','L2' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array("auteurs.id_auteur"); $command['select'] = array("auteurs.nom", "auteurs.id_auteur"); $command['orderby'] = array('auteurs.nom'); $command['where'] = array( quete_condition_statut('L2.statut','!','publie',''), quete_condition_postdates('L2.date',''), quete_condition_statut('auteurs.statut','!5poubelle','!5poubelle','')); $command['join'] = array('L1' => array('auteurs','id_auteur'), 'L2' => array('L1','id_article','id_objet','L1.objet='.sql_quote('article'))); $command['limit'] = ''; $command['having'] = array(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('plugins/auto/zpip/extra/auteur.html','html_55f2c93a465f790df0ef66ce93faea45','_auteurs',3,$GLOBALS['spip_lang']) ); if (!$iter->err()) { // COMPTEUR $Numrows['_auteurs']['compteur_boucle'] = 0; $Numrows['_auteurs']['total'] = @intval($iter->count()); $debut_boucle = isset($Pile[0]['debut_auteurs']) ? $Pile[0]['debut_auteurs'] : _request('debut_auteurs'); if(substr($debut_boucle,0,1)=='@'){ $debut_boucle = $Pile[0]['debut_auteurs'] = quete_debut_pagination('id_auteur',$Pile[0]['@id_auteur'] = substr($debut_boucle,1),20,$iter); $iter->seek(0); } $debut_boucle = intval($debut_boucle); $debut_boucle = (($tout=($debut_boucle == -1))?0:($debut_boucle)); $debut_boucle = max(0,min($debut_boucle,floor(($Numrows['_auteurs']['total']-1)/(20))*(20))); $fin_boucle = min(($tout ? $Numrows['_auteurs']['total'] : $debut_boucle + 19), $Numrows['_auteurs']['total'] - 1); $Numrows['_auteurs']['grand_total'] = $Numrows['_auteurs']['total']; $Numrows['_auteurs']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_auteurs']['grand_total'] AND $iter->seek($debut_boucle,'continue')) $Numrows['_auteurs']['compteur_boucle'] = $debut_boucle; $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $Numrows['_auteurs']['compteur_boucle']++; if ($Numrows['_auteurs']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_auteurs']['compteur_boucle']-1 > $fin_boucle) break; $t0 .= ( ' <li class="item"><a href="' . vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_auteur'], 'auteur', '', '', true))) . '"' . (calcul_exposer($Pile[$SP]['id_auteur'], 'id_auteur', $Pile[0], '', 'id_auteur', '') ? (' class="' . 'on' . '"') : '') . '>' . interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['nom']), "TYPO", $connect, $Pile[0]),'80')) . '</a></li> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_auteurs @ plugins/auto/zpip/extra/auteur.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_extra_auteurhtml_55f2c93a465f790df0ef66ce93faea45(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'auteurs'; $command['id'] = '_extra_auteur'; $command['from'] = array('auteurs' => 'spip_auteurs','L1' => 'spip_auteurs_liens','L2' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array("auteurs.id_auteur"); $command['select'] = array("1"); $command['orderby'] = array(); $command['join'] = array('L1' => array('auteurs','id_auteur'), 'L2' => array('L1','id_article','id_objet','L1.objet='.sql_quote('article'))); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('L2.statut','!','publie',''), quete_condition_postdates('L2.date',''), quete_condition_statut('auteurs.statut','!5poubelle','!5poubelle',''), array('=', 'auteurs.id_auteur', sql_quote(@$Pile[0]['id_auteur'],'','bigint(21) NOT NULL AUTO_INCREMENT'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('plugins/auto/zpip/extra/auteur.html','html_55f2c93a465f790df0ef66ce93faea45','_extra_auteur',1,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $l1 = _T('public|spip|ecrire:info_auteurs');$SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( ' ' . (($t1 = BOUCLE_auteurshtml_55f2c93a465f790df0ef66ce93faea45($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="liste auteurs"> ' . filtre_pagination_dist($Numrows["_auteurs"]["grand_total"], '_auteurs', isset($Pile[0]['debut_auteurs'])?$Pile[0]['debut_auteurs']:intval(_request('debut_auteurs')), 20, false, '', '', array()) . ' <h2 class="h2">' . $l1 . '</h2> <ul class="liste-items"> ') . $t1 . ( ' </ul> ' . (($t3 = strval(filtre_pagination_dist($Numrows["_auteurs"]["grand_total"], '_auteurs', isset($Pile[0]['debut_auteurs'])?$Pile[0]['debut_auteurs']:intval(_request('debut_auteurs')), 20, true, '', '', array())))!=='' ? ('<p class="pagination">' . $t3 . '</p>') : '') . ' </div> ')) : '') . ' '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_extra_auteur @ plugins/auto/zpip/extra/auteur.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette plugins/auto/zpip/extra/auteur.html // Temps de compilation total: 1.313 ms // function html_55f2c93a465f790df0ef66ce93faea45($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_extra_auteurhtml_55f2c93a465f790df0ef66ce93faea45($Cache, $Pile, $doublons, $Numrows, $SP) . ' '); return analyse_resultat_skel('html_55f2c93a465f790df0ef66ce93faea45', $Cache, $page, 'plugins/auto/zpip/extra/auteur.html'); } ?>
/home/etiennec/www/tmp/cache/skel/html_55f2c93a465f790df0ef66ce93faea45.php