| Current Path : /home/a/t/e/atelierpru/paris/tmp/cache/skel/ |
| Current File : /home/a/t/e/atelierpru/paris/tmp/cache/skel/html_07fbd78149640fea977772f19c278f7d.php |
<?php
/*
* Squelette : ../plugins/auto/formidable/v3.37.1/modeles/formulaires_reponse.html
* Date : Fri, 03 Nov 2017 14:17:52 GMT
* Compile : Mon, 27 May 2019 17:57:51 GMT
* Boucles : _formulaire, _champs, _reponse
*/
function BOUCLE_formulairehtml_07fbd78149640fea977772f19c278f7d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires';
$command['id'] = '_formulaire';
$command['from'] = array('formulaires' => 'spip_formulaires');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("formulaires.saisies");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'formulaires.id_formulaire', sql_quote($Pile[$SP]['id_formulaire'], '','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/modeles/formulaires_reponse.html','html_07fbd78149640fea977772f19c278f7d','_formulaire',3,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
vide($Pile['vars'][$_zzz=(string)'saisies'] = interdire_scripts(unserialize($Pile[$SP]['saisies']))));
}
$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/modeles/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_champshtml_07fbd78149640fea977772f19c278f7d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires_reponses_champs';
$command['id'] = '_champs';
$command['from'] = array('formulaires_reponses_champs' => 'spip_formulaires_reponses_champs');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("formulaires_reponses_champs.nom",
"formulaires_reponses_champs.valeur",
"formulaires_reponses_champs.id_formulaires_reponse");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'formulaires_reponses_champs.id_formulaires_reponse', sql_quote($Pile[$SP]['id_formulaires_reponse'], '','bigint(21) NOT NULL DEFAULT \'0\'')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('../plugins/auto/formidable/v3.37.1/modeles/formulaires_reponse.html','html_07fbd78149640fea977772f19c278f7d','_champs',7,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
vide(($cle='valeurs')
. vide((!isset($Pile['vars'][$cle]) OR !is_array($Pile['vars'][$cle]))?$Pile['vars'][$cle]=array():'')
. vide(is_array($new=array(interdire_scripts(supprimer_numero(typo($Pile[$SP]['nom']), "TYPO", $connect, $Pile[0])) => interdire_scripts(formidable_ajouter_action_recuperer_fichier(filtre_tenter_unserialize_dist($Pile[$SP]['valeur']),interdire_scripts(supprimer_numero(typo($Pile[$SP]['nom']), "TYPO", $connect, $Pile[0])),table_valeur($Pile["vars"], (string)'saisies', null),$Pile[$SP-1]['id_formulaire'],$Pile[$SP]['id_formulaires_reponse']))))?'':$new=array($new))
. vide($Pile['vars'][$cle] = array_merge($Pile['vars'][$cle],$new))));
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_champs @ ../plugins/auto/formidable/v3.37.1/modeles/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_reponsehtml_07fbd78149640fea977772f19c278f7d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires_reponses';
$command['id'] = '_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/modeles/formulaires_reponse.html','html_07fbd78149640fea977772f19c278f7d','_reponse',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
BOUCLE_formulairehtml_07fbd78149640fea977772f19c278f7d($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
vide($Pile['vars'][$_zzz=(string)'valeurs'] = array()) .
BOUCLE_champshtml_07fbd78149640fea977772f19c278f7d($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
recuperer_fond( 'inclure/voir_saisies' , array_merge($Pile[0],array('valeurs' => table_valeur($Pile["vars"], (string)'valeurs', null) ,
'saisies' => table_valeur($Pile["vars"], (string)'saisies', null) )), array('compil'=>array('../plugins/auto/formidable/v3.37.1/modeles/formulaires_reponse.html','html_07fbd78149640fea977772f19c278f7d','_reponse',11,$GLOBALS['spip_lang'])), _request('connect')));
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_reponse @ ../plugins/auto/formidable/v3.37.1/modeles/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../plugins/auto/formidable/v3.37.1/modeles/formulaires_reponse.html
// Temps de compilation total: 19.182 ms
//
function html_07fbd78149640fea977772f19c278f7d($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_reponsehtml_07fbd78149640fea977772f19c278f7d($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_07fbd78149640fea977772f19c278f7d', $Cache, $page, '../plugins/auto/formidable/v3.37.1/modeles/formulaires_reponse.html');
}
?>