| Current Path : /home/etiennec/www/oldsite/tmp/cache/skel/ |
| Current File : /home/etiennec/www/oldsite/tmp/cache/skel/html_48dd258a58cddc15363a68ede76917e2.php |
<?php
/*
* Squelette : plugins/auto/zpip/auteur.html
* Date : Tue, 29 Mar 2011 12:00:06 GMT
* Compile : Mon, 21 May 2012 01:03:07 GMT
* Boucles : _principale_auteur
*/
/* BOUCLE auteurs */
function BOUCLE_principale_auteurhtml_48dd258a58cddc15363a68ede76917e2(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
static $table = 'auteurs';
static $id = '_principale_auteur';
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("1");
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/auteur.html','html_48dd258a58cddc15363a68ede76917e2','_principale_auteur',1,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('structure') . ', array_merge('.var_export($Pile[0],1).',array(\'type\' => ' . argumenter_squelette('auteur') . ',
\'composition\' => ' . argumenter_squelette(interdire_scripts(@$Pile[0]['composition'])) . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/zpip/auteur.html\',\'html_48dd258a58cddc15363a68ede76917e2\',\'\',2,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
');
}
@sql_free($result);
}
return $t0;
}
//
// Fonction principale du squelette plugins/auto/zpip/auteur.html
// Temps de compilation total: 9.342 ms
//
function html_48dd258a58cddc15363a68ede76917e2($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_principale_auteurhtml_48dd258a58cddc15363a68ede76917e2($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_48dd258a58cddc15363a68ede76917e2', $Cache, $page, 'plugins/auto/zpip/auteur.html');
}
?>