Your IP : 216.73.217.68


Current Path : /home/a/t/e/atelierpru/paris/tmp/cache/skel/
Upload File :
Current File : /home/a/t/e/atelierpru/paris/tmp/cache/skel/html_a9b482419d986b661dbc3ca888e15148.php

<?php

/*
 * Squelette : ../plugins/auto/formidable/v3.37.1/prive/squelettes/hierarchie/formulaires_reponse.html
 * Date :      Fri, 03 Nov 2017 14:17:52 GMT
 * Compile :   Mon, 27 May 2019 17:57:51 GMT
 * Boucles :   _formulaire
 */ 

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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	$in = array();
	if (!(is_array($a = (@$Pile[0]['statut']))))
		$in[]= $a;
	else $in = array_merge($in, $a);
	if (!isset($command['table'])) {
		$command['table'] = 'formulaires_reponses';
		$command['id'] = '_formulaire';
		$command['from'] = array('formulaires_reponses' => 'spip_formulaires_reponses');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("formulaires_reponses.id_formulaire");
		$command['orderby'] = array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
			array('=', 'formulaires_reponses.id_formulaires_reponse', sql_quote(@$Pile[0]['id_formulaires_reponse'], '','bigint(21) NOT NULL AUTO_INCREMENT')), (!(is_array(@$Pile[0]['statut'])?count(@$Pile[0]['statut']):strlen(@$Pile[0]['statut'])) ? '' : ((is_array(@$Pile[0]['statut'])) ? sql_in('formulaires_reponses.statut',sql_quote($in)) : 
			array('=', 'formulaires_reponses.statut', sql_quote(@$Pile[0]['statut'], '','varchar(10) NOT NULL DEFAULT \'\'')))));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('../plugins/auto/formidable/v3.37.1/prive/squelettes/hierarchie/formulaires_reponse.html','html_a9b482419d986b661dbc3ca888e15148','_formulaire',1,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	
	$l1 = _T('formulaire:titre_formulaires');
	$l2 = _T('formidable:voir_reponses');
	$l3 = _T('formulaires_reponse:titre_formulaires_reponse');$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
<a href="' .
generer_url_ecrire('formulaires') .
'">' .
$l1 .
'</a> &gt;
<a href="' .
parametre_url(generer_url_ecrire('formulaire'),'id_formulaire',$Pile[$SP]['id_formulaire']) .
'">' .
interdire_scripts(generer_info_entite($Pile[$SP]['id_formulaire'], 'formulaire', 'titre')) .
'</a> &gt;
<a class="on" href="' .
parametre_url(generer_url_ecrire('formulaires_reponses'),'id_formulaire',$Pile[$SP]['id_formulaire']) .
'">' .
$l2 .
'</a> &gt;
<strong class="on">' .
$l3 .
'</strong>
');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_formulaire @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/hierarchie/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette ../plugins/auto/formidable/v3.37.1/prive/squelettes/hierarchie/formulaires_reponse.html
// Temps de compilation total: 3.015 ms
//

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

	return analyse_resultat_skel('html_a9b482419d986b661dbc3ca888e15148', $Cache, $page, '../plugins/auto/formidable/v3.37.1/prive/squelettes/hierarchie/formulaires_reponse.html');
}
?>