| Current Path : /home/etiennec/www/oldsite/tmp/cache/skel/ |
| Current File : /home/etiennec/www/oldsite/tmp/cache/skel/html_f53a0b615683274d17b18b03129322f7.php |
<?php
/*
* Squelette : plugins/auto/zpip/article.html
* Date : Tue, 29 Mar 2011 12:00:06 GMT
* Compile : Sun, 22 Feb 2015 14:51:58 GMT
* Boucles : _principale_article
*/
/* BOUCLE articles */
function BOUCLE_principale_articlehtml_f53a0b615683274d17b18b03129322f7(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
static $table = 'articles';
static $id = '_principale_article';
static $from = array('articles' => 'spip_articles');
static $type = array();
static $groupby = array();
static $select = array("articles.id_rubrique",
"articles.id_secteur",
"articles.lang",
"articles.titre");
static $orderby = array();
$where =
array(
array('=', 'articles.statut', '\'publie\''),
array('<', 'articles.date', sql_quote(quete_date_postdates())),
array('=', 'articles.id_article', sql_quote($Pile[0]['id_article'],'','int')));
static $join = array();
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/article.html','html_f53a0b615683274d17b18b03129322f7','_principale_article',1,$GLOBALS['spip_lang']));
if ($result) {
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
$t0 .= (
'
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('structure') . ', array_merge('.var_export($Pile[0],1).',array(\'id_rubrique\' => ' . argumenter_squelette(interdire_scripts(entites_html(sinon(@$Pile[0]['id_rubrique'],$Pile[$SP]['id_rubrique']),true))) . ',
\'id_secteur\' => ' . argumenter_squelette($Pile[$SP]['id_secteur']) . ',
\'type\' => ' . argumenter_squelette('article') . ',
\'composition\' => ' . argumenter_squelette(interdire_scripts(@$Pile[0]['composition'])) . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/zpip/article.html\',\'html_f53a0b615683274d17b18b03129322f7\',\'\',2,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
//
// Fonction principale du squelette plugins/auto/zpip/article.html
// Temps de compilation total: 4.574 ms
//
function html_f53a0b615683274d17b18b03129322f7($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_articlehtml_f53a0b615683274d17b18b03129322f7($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_f53a0b615683274d17b18b03129322f7', $Cache, $page, 'plugins/auto/zpip/article.html');
}
?>