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_235a0764e5bf857125451d5b6885aa3a.php

<?php

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

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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($si_init)) { $command['si'] = array(); $si_init = true; }
	$command['si'][] = invalideur_session($Cache, ((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('voir', 'formulairesreponse', invalideur_session($Cache, $Pile[$SP]['id_formulaire']))?" ":""));

	if (!isset($command['table'])) {
		$command['table'] = '';
		$command['id'] = '_autoriser';
		$command['from'] = array();
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("1");
		$command['orderby'] = array();
		$command['where'] = 
			array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"CONDITION",
		$command,
		array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponse.html','html_235a0764e5bf857125451d5b6885aa3a','_autoriser',2,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
' .
boite_ouvrir((	'<h1>' .
	_T('formulaires_reponse:formulaires_reponse_numero', array('nb' => $Pile[$SP-1]['id_formulaires_reponse'])) .
	'</h1>
'), 'simple fiche_objet') .
'


<!--affiche_milieu-->

<div id="wysiwyg">
' .

'<'.'?php echo recuperer_fond( ' . argumenter_squelette('prive/objets/contenu/formulaires_reponse') . ', array(\'id\' => ' . argumenter_squelette($Pile[$SP-1]['id_formulaires_reponse']) . ',
	\'id_formulaires_reponse\' => ' . argumenter_squelette($Pile[$SP-1]['id_formulaires_reponse']) . ',
	\'virtuel\' => ' . argumenter_squelette('oui') . ',
	\'wysiwyg\' => ' . argumenter_squelette('1') . ',
	\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponse.html\',\'html_235a0764e5bf857125451d5b6885aa3a\',\'\',9,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette('wysiwyg') . '))?$v:true), _request("connect"));
?'.'>' .
'
</div>

<div class=\'nettoyeur\'></div>
' .
boite_ouvrir((	'<h3>' .
	_T('formulaires_reponse:reponses_donnees') .
	'</h3>'), 'reponses') .
'
' .
recuperer_fond( 'modeles/formulaires_reponse' , array('id_formulaires_reponse' => $Pile[$SP-1]['id_formulaires_reponse'] ), array('compil'=>array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponse.html','html_235a0764e5bf857125451d5b6885aa3a','_autoriser',17,$GLOBALS['spip_lang'])), _request('connect')) .
boite_fermer() .
'

' .
pipeline( 'afficher_complement_objet' , array('args' => array('type' => 'formulaires_reponse', 'id' => $Pile[$SP-1]['id_formulaires_reponse']), 'data' => '<div class="nettoyeur"></div>') ) .
boite_fermer() .
'

' .
vide($Pile['vars'][$_zzz=(string)'enfants'] = '') .
((trouver_fond(concat('formulaires_reponse','-enfants'),'prive/objets/contenu/'))  ?
		(' ' . (	'
	' .
	vide($Pile['vars'][$_zzz=(string)'enfants'] = recuperer_fond( 'prive/objets/contenu/formulaires_reponse-enfants' , array_merge($Pile[0],array('id_objet' => @$Pile[0]['id_objet'] )), array('compil'=>array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponse.html','html_235a0764e5bf857125451d5b6885aa3a','_autoriser',12,$GLOBALS['spip_lang'])), _request('connect'))) .
	'
')) :
		'') .
'
' .
pipeline( 'affiche_enfants' , array('args' => array('exec' => 'formulaires_reponse', 'objet' => 'formulaires_reponse', 'id_objet' => $Pile[$SP-1]['id_formulaires_reponse']), 'data' => table_valeur($Pile["vars"], (string)'enfants', null)) ) .
'

');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_autoriser @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'formulaires_reponses';
		$command['id'] = '_formulaires_reponse';
		$command['from'] = array('formulaires_reponses' => 'spip_formulaires_reponses');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("formulaires_reponses.id_formulaire",
		"formulaires_reponses.id_formulaires_reponse");
		$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')));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponse.html','html_235a0764e5bf857125451d5b6885aa3a','_formulaires_reponse',1,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
' .
BOUCLE_autoriserhtml_235a0764e5bf857125451d5b6885aa3a($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_formulaires_reponse @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

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

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

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