Your IP : 216.73.216.249


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

<?php

/*
 * Squelette : plugins/auto/zpip/head/auteur.html
 * Date :      Tue, 29 Mar 2011 12:00:04 GMT
 * Compile :   Mon, 21 May 2012 01:03:07 GMT
 * Boucles :   _auteur_head
 */ 

/* BOUCLE auteurs  */

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

	static $connect = '';
	static $table = 'auteurs';
	static $id = '_auteur_head';
	static $from = array('auteurs' => 'spip_auteurs','L1' => 'spip_auteurs_articles','L2' => 'spip_articles');
	static $type = array();
	static $groupby = array("auteurs.id_auteur");
	static $select = array("auteurs.nom",
		"auteurs.bio",
		"auteurs.id_auteur");
	static $orderby = array();
	$where = 
			array(
			array('!=', 'auteurs.statut', '\'5poubelle\''), 
			array('<=', 'L2.date', sql_quote(quete_date_postdates())), 
			array('=', 'L2.statut', '\'publie\''), 
			array('=', 'auteurs.id_auteur', sql_quote($Pile[0]['id_auteur'],'','int')));
	static $join = array('L1' => array('auteurs','id_auteur'), 'L2' => array('L1','id_article'));
	static $limit = '';
	static $having = 
			array();
	$t0 = "";
	// REQUETE
	$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
		 array('plugins/auto/zpip/head/auteur.html','html_ef39d8260cc1a3d0ef7cc5933d87f262','_auteur_head',1,$GLOBALS['spip_lang']));
	if ($result) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP] = @sql_fetch($result)) {

		$t0 .= (
'
<title>' .
(($t1 = strval(interdire_scripts(textebrut(typo(supprimer_numero($Pile[$SP]['nom']),"TYPO",$connect)))))!=='' ?
		($t1 . ' - ') :
		'') .
interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect))) .
'</title>
' .
(($t1 = strval(interdire_scripts(attribut_html(couper(propre($Pile[$SP]['bio'], $connect),'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_ef39d8260cc1a3d0ef7cc5933d87f262','_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))) .
'" href="' .
interdire_scripts(parametre_url(generer_url_public('backend'),'id_auteur',$Pile[$SP]['id_auteur'])) .
'" />
');
	}
	@sql_free($result);
	}
	return $t0;
}


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

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

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