Your IP : 216.73.216.249


Current Path : /home/etiennec/www/tmp/cache/skel/
Upload File :
Current File : /home/etiennec/www/tmp/cache/skel/html_74b508a6ea1b62341d4293b0707be78e.php

<?php

/*
 * Squelette : plugins/auto/zpip/head/auteur.html
 * Date :      Sun, 27 Sep 2015 12:46:10 GMT
 * Compile :   Wed, 14 Oct 2015 20:04:01 GMT
 * Boucles :   _auteur_head
 */ 

function BOUCLE_auteur_headhtml_74b508a6ea1b62341d4293b0707be78e(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'auteurs';
		$command['id'] = '_auteur_head';
		$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.bio",
		"auteurs.id_auteur");
		$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/head/auteur.html','html_74b508a6ea1b62341d4293b0707be78e','_auteur_head',1,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
<title>' .
(($t1 = strval(interdire_scripts(textebrut(typo(supprimer_numero($Pile[$SP]['nom']), "TYPO", $connect, $Pile[0])))))!=='' ?
		($t1 . ' - ') :
		'') .
interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))) .
'</title>
' .
(($t1 = strval(interdire_scripts(attribut_html(couper(propre($Pile[$SP]['bio'], $connect, $Pile[0]),'150')))))!=='' ?
		('<meta name="description" content="' . $t1 . '" />') :
		'') .
'
' .
(($t1 = strval(url_absolue(vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_auteur'], 'auteur', '', '', true))))))!=='' ?
		('<link rel="canonical" href="' . $t1 . '" />') :
		'') .
'


' .

	((($recurs=(isset($Pile[0]['recurs'])?$Pile[0]['recurs']:0))>=5)? '' :
	recuperer_fond('modeles/favicon', array('favicon' => 
((!is_array($l = quete_logo('id_auteur', 'ON', $Pile[$SP]['id_auteur'],'', 0))) ? '':
 ("<img class=\"spip_logos\" alt=\"\" src=\"$l[0]\"" . $l[2] .  ($l[1] ? " onmouseover=\"this.src='$l[1]'\" onmouseout=\"this.src='$l[0]'\"" : "") . ' />')) ,'lang' => $GLOBALS["spip_lang"] ,'id_auteur'=>$Pile[$SP]['id_auteur'],'id'=>$Pile[$SP]['id_auteur'],'recurs'=>(++$recurs)), array('compil'=>array('plugins/auto/zpip/head/auteur.html','html_74b508a6ea1b62341d4293b0707be78e','_auteur_head',7,$GLOBALS['spip_lang']), 'trim'=>true), ''))
 .
'


<link rel="alternate" type="application/rss+xml" title="' .
interdire_scripts(textebrut(typo(supprimer_numero($Pile[$SP]['nom']), "TYPO", $connect, $Pile[0]))) .
'" href="' .
interdire_scripts(parametre_url(generer_url_public('backend', ''),'id_auteur',$Pile[$SP]['id_auteur'])) .
'" />
');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_auteur_head @ plugins/auto/zpip/head/auteur.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette plugins/auto/zpip/head/auteur.html
// Temps de compilation total: 24.289 ms
//

function html_74b508a6ea1b62341d4293b0707be78e($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_auteur_headhtml_74b508a6ea1b62341d4293b0707be78e($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');

	return analyse_resultat_skel('html_74b508a6ea1b62341d4293b0707be78e', $Cache, $page, 'plugins/auto/zpip/head/auteur.html');
}
?>