| Current Path : /home/atelierpru/provence/tmp/cache/skel/ |
| Current File : /home/atelierpru/provence/tmp/cache/skel/html_f7e937d8f079fa542fd47c24dd29b5e6.php |
<?php
/*
* Squelette : ../plugins/auto/formidable/v3.38.10/prive/squelettes/navigation/formulaires_analyse.html
* Date : Fri, 03 Nov 2017 14:17:52 GMT
* Compile : Fri, 18 Oct 2019 09:54:06 GMT
* Boucles : _autoriser, _formulaire
*/
function BOUCLE_autoriserhtml_f7e937d8f079fa542fd47c24dd29b5e6(&$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', interdire_scripts(invalideur_session($Cache, entites_html(table_valeur(@$Pile[0], (string)'id_formulaire', null),true))))?" ":""));
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.38.10/prive/squelettes/navigation/formulaires_analyse.html','html_f7e937d8f079fa542fd47c24dd29b5e6','_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' => 'formulaire', 'id' => interdire_scripts(entites_html(table_valeur(@$Pile[0], (string)'id_formulaire', null),true)))) ) .
filtre_icone_horizontale_dist(parametre_url(generer_url_ecrire('formulaires_reponses'),'id_formulaire',$Pile[$SP-1]['id_formulaire']),$l1,'formulaire-reponses-24') .
'
' .
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.38.10/prive/squelettes/navigation/formulaires_analyse.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_formulairehtml_f7e937d8f079fa542fd47c24dd29b5e6(&$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");
$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.38.10/prive/squelettes/navigation/formulaires_analyse.html','html_f7e937d8f079fa542fd47c24dd29b5e6','_formulaire',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
BOUCLE_autoriserhtml_f7e937d8f079fa542fd47c24dd29b5e6($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.38.10/prive/squelettes/navigation/formulaires_analyse.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../plugins/auto/formidable/v3.38.10/prive/squelettes/navigation/formulaires_analyse.html
// Temps de compilation total: 0.933 ms
//
function html_f7e937d8f079fa542fd47c24dd29b5e6($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_f7e937d8f079fa542fd47c24dd29b5e6($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_f7e937d8f079fa542fd47c24dd29b5e6', $Cache, $page, '../plugins/auto/formidable/v3.38.10/prive/squelettes/navigation/formulaires_analyse.html');
}
?>