| Current Path : /home/a/t/e/atelierpru/paris/tmp/cache/skel/ |
| Current File : /home/a/t/e/atelierpru/paris/tmp/cache/skel/html_3c3944768680b2859b77f2d674e15ce0.php |
<?php
/*
* Squelette : ../plugins/auto/formidable/v3.37.1/prive/squelettes/navigation/formulaires_reponse.html
* Date : Fri, 03 Nov 2017 14:17:52 GMT
* Compile : Mon, 27 May 2019 17:57:51 GMT
* Boucles : _publies, _autoriser, _formulaires_reponse
*/
function BOUCLE_publieshtml_3c3944768680b2859b77f2d674e15ce0(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires_reponses';
$command['id'] = '_publies';
$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'] = '0,1';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'formulaires_reponses.id_formulaire', sql_quote($Pile[$SP-1]['id_formulaire'], '','bigint(21) NOT NULL DEFAULT \'0\'')),
array('=', 'formulaires_reponses.statut', "'publie'"));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/navigation/formulaires_reponse.html','html_3c3944768680b2859b77f2d674e15ce0','_publies',10,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$l1 = _T('formidable:reponses_analyse');$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
filtre_icone_horizontale_dist(parametre_url(generer_url_ecrire('formulaires_analyse'),'id_formulaire',$Pile[$SP]['id_formulaire']),$l1,'formulaire-analyse-24') .
'
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_publies @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/navigation/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_autoriserhtml_3c3944768680b2859b77f2d674e15ce0(&$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/navigation/formulaires_reponse.html','html_3c3944768680b2859b77f2d674e15ce0','_autoriser',2,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$l1 = _T('formidable:reponses_liste');$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
boite_ouvrir('', 'info') .
'
' .
pipeline( 'boite_infos' , array('data' => '', 'args' => array('type' => 'formulaires_reponse', 'id' => interdire_scripts(entites_html(table_valeur(@$Pile[0], (string)'id_formulaires_reponse', null),true)))) ) .
'
' .
filtre_icone_horizontale_dist(parametre_url(generer_url_ecrire('formulaires_reponses'),'id_formulaire',$Pile[$SP-1]['id_formulaire']),$l1,'formulaire-reponses-24') .
'
' .
BOUCLE_publieshtml_3c3944768680b2859b77f2d674e15ce0($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
boite_fermer() .
'
');
}
$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/navigation/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_formulaires_reponsehtml_3c3944768680b2859b77f2d674e15ce0(&$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");
$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/navigation/formulaires_reponse.html','html_3c3944768680b2859b77f2d674e15ce0','_formulaires_reponse',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
BOUCLE_autoriserhtml_3c3944768680b2859b77f2d674e15ce0($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/navigation/formulaires_reponse.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../plugins/auto/formidable/v3.37.1/prive/squelettes/navigation/formulaires_reponse.html
// Temps de compilation total: 2.723 ms
//
function html_3c3944768680b2859b77f2d674e15ce0($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_3c3944768680b2859b77f2d674e15ce0($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_3c3944768680b2859b77f2d674e15ce0', $Cache, $page, '../plugins/auto/formidable/v3.37.1/prive/squelettes/navigation/formulaires_reponse.html');
}
?>