| Current Path : /home/atelierpru/provence/tmp/cache/skel/ |
| Current File : /home/atelierpru/provence/tmp/cache/skel/html_9020a01404aa39127955fec66ff59369.php |
<?php
/*
* Squelette : ../plugins/auto/formidable/v3.38.10/prive/squelettes/navigation/formulaire.html
* Date : Sat, 22 Dec 2018 18:04:06 GMT
* Compile : Fri, 18 Oct 2019 09:53:32 GMT
* Boucles : _publies, _si, _resultats, _formulaire
*/
function BOUCLE_publieshtml_9020a01404aa39127955fec66ff59369(&$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.38.10/prive/squelettes/navigation/formulaire.html','html_9020a01404aa39127955fec66ff59369','_publies',44,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$l1 = _T('formidable:reponses_analyse');$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
(($t1 = strval(filtre_icone_horizontale_dist(parametre_url(generer_url_ecrire('formulaires_analyse'),'id_formulaire',$Pile[$SP]['id_formulaire']),$l1,'formulaire-analyse-24')))!=='' ?
($t1 . '
') :
'') .
'
');
}
$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.38.10/prive/squelettes/navigation/formulaire.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_sihtml_9020a01404aa39127955fec66ff59369(&$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'][] = ((($Numrows['_resultats']['total']) AND (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'] = '_si';
$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/formulaire.html','html_9020a01404aa39127955fec66ff59369','_si',38,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
<div class=\'navigation_resultats\'>
' .
(($t1 = strval(filtre_icone_horizontale_dist(parametre_url(generer_url_ecrire('formulaires_reponses'),'id_formulaire',$Pile[$SP-1]['id_formulaire']),singulier_ou_pluriel($Numrows['_resultats']['total'],'formidable:info_1_reponse','formidable:info_nb_reponses'),'formulaire-reponses-24')))!=='' ?
($t1 . '
') :
'') .
'
' .
BOUCLE_publieshtml_9020a01404aa39127955fec66ff59369($Cache, $Pile, $doublons, $Numrows, $SP) .
'
</div>
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_si @ ../plugins/auto/formidable/v3.38.10/prive/squelettes/navigation/formulaire.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_resultatshtml_9020a01404aa39127955fec66ff59369(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires_reponses';
$command['id'] = '_resultats';
$command['from'] = array('formulaires_reponses' => 'spip_formulaires_reponses');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("count(*)");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'formulaires_reponses.id_formulaire', sql_quote($Pile[$SP]['id_formulaire'], '','bigint(21) NOT NULL DEFAULT \'0\'')),
array('REGEXP', 'formulaires_reponses.statut', "'.*'"));
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/formulaire.html','html_9020a01404aa39127955fec66ff59369','_resultats',37,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$Numrows['_resultats']['total'] = @intval($iter->count());
$SP++;
// RESULTATS
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_resultats @ ../plugins/auto/formidable/v3.38.10/prive/squelettes/navigation/formulaire.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_formulairehtml_9020a01404aa39127955fec66ff59369(&$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/formulaire.html','html_9020a01404aa39127955fec66ff59369','_formulaire',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$l1 = _T('formidable:editer_menu_formulaire');
$l2 = _T('formidable:editer_menu_auteurs');
$l3 = _T('formidable:editer_menu_champs');
$l4 = _T('formidable:editer_menu_traitements');$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)))) ) .
(($t1 = strval(invalideur_session($Cache, ((((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('editer', 'formulaire', invalideur_session($Cache, $Pile[$SP]['id_formulaire']))?" ":"")) ?' ' :''))))!=='' ?
($t1 . ( '
' .
filtre_icone_horizontale_dist(parametre_url(parametre_url(parametre_url(generer_url_ecrire('formulaire_edit'),'id_formulaire',$Pile[$SP]['id_formulaire']),'configurer','formulaire'),'avertissement',''),$l1,'formulaire-editer-24') .
'
' .
(($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('formidable/auteur',null,false):'') == 'on')) ?' ' :''))))!=='' ?
($t2 . ( '
' .
filtre_icone_horizontale_dist(parametre_url(parametre_url(parametre_url(generer_url_ecrire('formulaire_edit'),'id_formulaire',$Pile[$SP]['id_formulaire']),'configurer','auteurs'),'avertissement',''),$l2,'formulaire-config-auteurs-24') .
'
')) :
'') .
'
' .
filtre_icone_horizontale_dist(parametre_url(parametre_url(parametre_url(generer_url_ecrire('formulaire_edit'),'id_formulaire',$Pile[$SP]['id_formulaire']),'configurer','champs'),'avertissement',''),$l3,'formulaire-config-champs-24') .
'
' .
filtre_icone_horizontale_dist(parametre_url(parametre_url(parametre_url(generer_url_ecrire('formulaire_edit'),'id_formulaire',$Pile[$SP]['id_formulaire']),'configurer','traitements'),'avertissement',''),$l4,'formulaire-config-traitements-24') .
'
')) :
'') .
'
' .
BOUCLE_resultatshtml_9020a01404aa39127955fec66ff59369($Cache, $Pile, $doublons, $Numrows, $SP)
. ( '
' .
BOUCLE_sihtml_9020a01404aa39127955fec66ff59369($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_formulaire @ ../plugins/auto/formidable/v3.38.10/prive/squelettes/navigation/formulaire.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../plugins/auto/formidable/v3.38.10/prive/squelettes/navigation/formulaire.html
// Temps de compilation total: 4.221 ms
//
function html_9020a01404aa39127955fec66ff59369($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_9020a01404aa39127955fec66ff59369($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_9020a01404aa39127955fec66ff59369', $Cache, $page, '../plugins/auto/formidable/v3.38.10/prive/squelettes/navigation/formulaire.html');
}
?>