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

<?php

/*
 * Squelette : ../plugins/auto/formidable/v3.37.1/prive/objets/contenu/formulaires_reponse.html
 * Date :      Mon, 17 Dec 2018 17:19:02 GMT
 * Compile :   Mon, 27 May 2019 17:57:51 GMT
 * Boucles :   _formulaires_reponse
 */ 

function BOUCLE_formulaires_reponsehtml_6f019ee5db52fdbc59ad6128dd523f2b(&$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_auteur",
		"formulaires_reponses.ip",
		"formulaires_reponses.id_formulaire",
		"formulaires_reponses.date",
		"formulaires_reponses.maj");
		$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/objets/contenu/formulaires_reponse.html','html_6f019ee5db52fdbc59ad6128dd523f2b','_formulaires_reponse',1,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	
	$l1 = _T('public|spip|ecrire:auteur');
	$l2 = _T('formidable:reponses_anonyme');
	$l3 = _T('formidable:reponses_ip');
	$l4 = _T('formulaire:titre_formulaire');
	$l5 = _T('public|spip|ecrire:date');
	$l6 = _T('formidable:reponse_maj');$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
<div class="champ contenu_auteur' .
(!strlen($Pile[$SP]['id_auteur'])  ?
		(' ' . 'vide') :
		'') .
'">
	<div class=\'label\'>' .
$l1 .
'</div>
	<div dir=\'' .
lang_dir(@$Pile[0]['lang'], 'ltr','rtl') .
'\'>
		' .
((($Pile[$SP]['id_auteur'] > '0'))  ?
		(' ' . (	'
			<a href="' .
	interdire_scripts(generer_info_entite($Pile[$SP]['id_auteur'], 'auteur', 'url')) .
	'">' .
	interdire_scripts(generer_info_entite($Pile[$SP]['id_auteur'], 'auteur', 'titre')) .
	'</a>
		')) :
		'') .
'
		' .
(!(($Pile[$SP]['id_auteur'] > '0'))  ?
		(' ' . (	'
			' .
	$l2 .
	'
		')) :
		'') .
'
	</div>
</div>
<div class="champ contenu_ip' .
(($t1 = strval(interdire_scripts((strlen($Pile[$SP]['ip']) ? '':'vide'))))!=='' ?
		(' ' . $t1) :
		'') .
'">
	<div class=\'label\'>' .
$l3 .
'</div>
	<div dir=\'' .
lang_dir(@$Pile[0]['lang'], 'ltr','rtl') .
'\'>
		' .
interdire_scripts($Pile[$SP]['ip']) .
'
	</div>
</div>
<div class="champ contenu_formulaire' .
(!strlen($Pile[$SP]['id_formulaire'])  ?
		(' ' . 'vide') :
		'') .
'">
	<div class=\'label\'>' .
$l4 .
'</div>
	<div dir=\'' .
lang_dir(@$Pile[0]['lang'], 'ltr','rtl') .
'\'>
		<a href="' .
generer_url_ecrire('formulaire',(	'id_formulaire=' .
	$Pile[$SP]['id_formulaire'])) .
'">
			' .
interdire_scripts(generer_info_entite($Pile[$SP]['id_formulaire'], 'formulaire', 'titre')) .
'
		</a>
	</div>
</div>
<div class="champ contenu_date' .
(($t1 = strval(interdire_scripts((strlen($Pile[$SP]['date']) ? '':'vide'))))!=='' ?
		(' ' . $t1) :
		'') .
'">
	<div class=\'label\'>' .
$l5 .
'</div>
	<div dir=\'' .
lang_dir(@$Pile[0]['lang'], 'ltr','rtl') .
'\'>
		' .
interdire_scripts(concat(affdate_jourcourt(normaliser_date($Pile[$SP]['date'])),interdire_scripts(affdate(normaliser_date($Pile[$SP]['date']),', H:i')))) .
'
	</div>
</div>
<div class="champ contenu_maj' .
(($t1 = strval(interdire_scripts((strlen($Pile[$SP]['maj']) ? '':'vide'))))!=='' ?
		(' ' . $t1) :
		'') .
'">
	<div class=\'label\'>' .
$l6 .
'</div>
	<div dir=\'' .
lang_dir(@$Pile[0]['lang'], 'ltr','rtl') .
'\'>
		' .
interdire_scripts(concat(affdate_jourcourt($Pile[$SP]['maj']),interdire_scripts(affdate($Pile[$SP]['maj'],', H:i')))) .
'
	</div>
</div>
');
	}
	$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/objets/contenu/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

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

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

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