| Current Path : /home/a/t/e/atelierpru/paris/tmp/cache/skel/ |
| Current File : /home/a/t/e/atelierpru/paris/tmp/cache/skel/html_5679858d3106cd5039cde98fafddffa0.php |
<?php
/*
* Squelette : ../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponses.html
* Date : Fri, 03 Nov 2017 14:17:52 GMT
* Compile : Mon, 27 May 2019 17:57:45 GMT
* Boucles : _autoriser, _formulaire
*/
function BOUCLE_autoriserhtml_5679858d3106cd5039cde98fafddffa0(&$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_reponses.html','html_5679858d3106cd5039cde98fafddffa0','_autoriser',2,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
boite_ouvrir('', 'simple') .
'
' .
filtre_icone_verticale_dist(parametre_url(generer_url_ecrire('formulaire'),'id_formulaire',$Pile[$SP-1]['id_formulaire']),_T('public|spip|ecrire:retour'),'formulaire','formulaire-24','left') .
'
<h4>' .
_T('formidable:voir_reponses') .
'</h4>
<h1>' .
interdire_scripts(supprimer_numero(typo($Pile[$SP-1]['titre']), "TYPO", $connect, $Pile[0])) .
'</h1>
' .
boite_fermer() .
'
' .
executer_balise_dynamique('FORMULAIRE_RECHERCHE_ECRIRE',
array(self(),'ajax'),
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponses.html','html_5679858d3106cd5039cde98fafddffa0','_autoriser',10,$GLOBALS['spip_lang'])) .
'<h2>' .
_T('formidable:reponses_liste') .
'</h2>
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('prive/squelettes/inclure/formulaires_reponses-filtres') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponses.html\',\'html_5679858d3106cd5039cde98fafddffa0\',\'\',12,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(@$Pile[0]['ajax']) . '))?$v:true), _request("connect"));
?'.'>
');
}
$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_reponses.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_formulairehtml_5679858d3106cd5039cde98fafddffa0(&$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.id_formulaire",
"formulaires.titre");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'formulaires.id_formulaire', sql_quote(@$Pile[0]['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/prive/squelettes/contenu/formulaires_reponses.html','html_5679858d3106cd5039cde98fafddffa0','_formulaire',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
BOUCLE_autoriserhtml_5679858d3106cd5039cde98fafddffa0($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_formulaire @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponses.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponses.html
// Temps de compilation total: 2.188 ms
//
function html_5679858d3106cd5039cde98fafddffa0($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_5679858d3106cd5039cde98fafddffa0($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_5679858d3106cd5039cde98fafddffa0', $Cache, $page, '../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaires_reponses.html');
}
?>