File "html_cccd5ce084f7985e2ec7c4d9a2c12bd1.php"
Full path: /home/argothem/www/cache/calcul/5c/html_cccd5ce084f7985e2ec7c4d9a2c12bd1.php
File size: 3.48 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Squelette : ../prive/squelettes/hierarchie/auteur.html
* Date : Fri, 07 Jul 2023 11:03:22 GMT
* Compile : Sat, 24 Feb 2024 13:17:48 GMT
* Boucles : _ariane
*/
function BOUCLE_arianehtml_cccd5ce084f7985e2ec7c4d9a2c12bd1(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'auteurs';
$command['id'] = '_ariane';
$command['from'] = array('auteurs' => 'spip_auteurs');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("auteurs.statut",
"auteurs.id_auteur",
"auteurs.nom");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('auteurs.statut','!5poubelle','!5poubelle',''),
array('=', 'auteurs.id_auteur', sql_quote(($Pile[0]['id_auteur'] ?? null), '','bigint(21) NOT NULL AUTO_INCREMENT')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = Spip\Compilateur\Iterateur\Factory::create(
"SQL",
$command,
array('../prive/squelettes/hierarchie/auteur.html','html_cccd5ce084f7985e2ec7c4d9a2c12bd1','_ariane',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$l1 = _T('public|spip|ecrire:info_auteurs');
$l2 = _T('public|spip|ecrire:info_visiteurs');
$l3 = _T('ecrire:info_sans_titre');$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
(($t1 = strval(interdire_scripts(((in_array($Pile[$SP]['statut'],auteurs_lister_statuts('redacteurs'))) ?' ' :''))))!=='' ?
($t1 . ( '
<a href="' .
generer_url_ecrire('auteurs') .
'">' .
$l1 .
'</a>
')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(((in_array($Pile[$SP]['statut'],auteurs_lister_statuts('redacteurs'))) ?'' :' '))))!=='' ?
($t1 . ( '
<a href="' .
generer_url_ecrire('visiteurs') .
'">' .
$l2 .
'</a>
')) :
'') .
'
> ' .
lien_ou_expose(generer_objet_url($Pile[$SP]['id_auteur'],'auteur'),interdire_scripts(((($a = couper(safehtml(supprimer_numero(typo($Pile[$SP]['nom'], "TYPO", $connect, $Pile[0]))),'80')) OR (is_string($a) AND strlen($a))) ? $a : $l3)),'1') .
'
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_ariane @ ../prive/squelettes/hierarchie/auteur.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../prive/squelettes/hierarchie/auteur.html
// Temps de compilation total: 1.491 ms
//
function html_cccd5ce084f7985e2ec7c4d9a2c12bd1($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_arianehtml_cccd5ce084f7985e2ec7c4d9a2c12bd1($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
$t1 :
(( '
<a href="' .
generer_url_ecrire('auteurs') .
'">' .
_T('public|spip|ecrire:info_auteurs') .
'</a>
' .
(($t2 = strval(interdire_scripts(((filtre_match_dist(entites_html(table_valeur($Pile[0]??[], (string)'exec', null),true),'_edit$')) ?' ' :''))))!=='' ?
($t2 . ( '
> <strong>' .
_T('ecrire:item_nouvel_auteur') .
'</strong>
')) :
'') .
'
')));
return analyse_resultat_skel('html_cccd5ce084f7985e2ec7c4d9a2c12bd1', $Cache, $page, '../prive/squelettes/hierarchie/auteur.html');
}