| Current Path : /home/a/t/e/atelierpru/paris/tmp/cache/skel/ |
| Current File : /home/a/t/e/atelierpru/paris/tmp/cache/skel/html_6e8f095f6302ffcab9011ee24ca45fe6.php |
<?php
/*
* Squelette : ../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html
* Date : Fri, 03 Nov 2017 14:17:52 GMT
* Compile : Mon, 27 May 2019 17:57:45 GMT
* Boucles : _repprop, _reppub, _repref, _reppoub, _repall
*/
function BOUCLE_repprophtml_6e8f095f6302ffcab9011ee24ca45fe6(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires_reponses';
$command['id'] = '_repprop';
$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[0]['id_formulaire'], '','bigint(21) NOT NULL DEFAULT \'0\'')),
array('=', 'formulaires_reponses.statut', "'prop'"));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html','html_6e8f095f6302ffcab9011ee24ca45fe6','_repprop',4,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$Numrows['_repprop']['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_repprop @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_reppubhtml_6e8f095f6302ffcab9011ee24ca45fe6(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires_reponses';
$command['id'] = '_reppub';
$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[0]['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/inclure/formulaires_reponses-filtres.html','html_6e8f095f6302ffcab9011ee24ca45fe6','_reppub',6,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$Numrows['_reppub']['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_reppub @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_reprefhtml_6e8f095f6302ffcab9011ee24ca45fe6(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires_reponses';
$command['id'] = '_repref';
$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[0]['id_formulaire'], '','bigint(21) NOT NULL DEFAULT \'0\'')),
array('=', 'formulaires_reponses.statut', "'refuse'"));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html','html_6e8f095f6302ffcab9011ee24ca45fe6','_repref',8,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$Numrows['_repref']['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_repref @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_reppoubhtml_6e8f095f6302ffcab9011ee24ca45fe6(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires_reponses';
$command['id'] = '_reppoub';
$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[0]['id_formulaire'], '','bigint(21) NOT NULL DEFAULT \'0\'')),
array('=', 'formulaires_reponses.statut', "'poubelle'"));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html','html_6e8f095f6302ffcab9011ee24ca45fe6','_reppoub',10,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$Numrows['_reppoub']['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_reppoub @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_repallhtml_6e8f095f6302ffcab9011ee24ca45fe6(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires_reponses';
$command['id'] = '_repall';
$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[0]['id_formulaire'], '','bigint(21) NOT NULL DEFAULT \'0\'')),
array('NOT',
array('=', 'formulaires_reponses.statut', "'refuse'")));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html','html_6e8f095f6302ffcab9011ee24ca45fe6','_repall',17,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$Numrows['_repall']['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_repall @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html
// Temps de compilation total: 3.747 ms
//
function html_6e8f095f6302ffcab9011ee24ca45fe6($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 = (
'<div class=\'onglets_simple clearfix\'>
<ul>
<li>' .
lien_ou_expose(replace(parametre_url(self(),'statut|id_formulaires_reponse','XXX'),'XXX',''),_T('formidable:info_reponse_toutes'),interdire_scripts((((((entites_html(table_valeur(@$Pile[0], (string)'statut', null),true)) ?'' :' ')) AND (interdire_scripts(((entites_html(sinon(table_valeur(@$Pile[0], (string)'id_formulaires_reponse', null), ''),true)) ?'' :' ')))) ?' ' :'')),'ajax') .
'</li>
' .
BOUCLE_repprophtml_6e8f095f6302ffcab9011ee24ca45fe6($Cache, $Pile, $doublons, $Numrows, $SP)
. ( '
<li>' .
lien_ou_expose(parametre_url(self(),'statut','prop'),( _T('formidable:info_reponse_proposees') .
(($t3 = strval((($Numrows['_repprop']['total'] > '0') ? $Numrows['_repprop']['total']:'')))!=='' ?
(' (' . $t3 . ')') :
'')),interdire_scripts((entites_html(table_valeur(@$Pile[0], (string)'statut', null),true) == 'prop')),'ajax') .
'</li>
') .
BOUCLE_reppubhtml_6e8f095f6302ffcab9011ee24ca45fe6($Cache, $Pile, $doublons, $Numrows, $SP)
. ( '
<li>' .
lien_ou_expose(parametre_url(self(),'statut','publie'),( _T('formidable:info_reponse_publiees') .
(($t3 = strval((($Numrows['_reppub']['total'] > '0') ? $Numrows['_reppub']['total']:'')))!=='' ?
(' (' . $t3 . ')') :
'')),interdire_scripts((entites_html(table_valeur(@$Pile[0], (string)'statut', null),true) == 'publie')),'ajax') .
'</li>
') .
BOUCLE_reprefhtml_6e8f095f6302ffcab9011ee24ca45fe6($Cache, $Pile, $doublons, $Numrows, $SP)
. ( '
<li>' .
lien_ou_expose(parametre_url(self(),'statut','refuse'),( _T('formidable:info_reponse_refusees') .
(($t3 = strval((($Numrows['_repref']['total'] > '0') ? $Numrows['_repref']['total']:'')))!=='' ?
(' (' . $t3 . ')') :
'')),interdire_scripts((entites_html(table_valeur(@$Pile[0], (string)'statut', null),true) == 'refuse')),'ajax') .
'</li>
') .
BOUCLE_reppoubhtml_6e8f095f6302ffcab9011ee24ca45fe6($Cache, $Pile, $doublons, $Numrows, $SP)
. ( '
<li>' .
lien_ou_expose(parametre_url(self(),'statut','poubelle'),( _T('formidable:info_reponse_supprimees') .
(($t3 = strval((($Numrows['_reppoub']['total'] > '0') ? $Numrows['_reppoub']['total']:'')))!=='' ?
(' (' . $t3 . ')') :
'')),interdire_scripts((entites_html(table_valeur(@$Pile[0], (string)'statut', null),true) == 'poubelle')),'ajax') .
'</li>
') .
'
</ul>
</div>
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('prive/objets/liste/formulaires_reponses') . ', array_merge('.var_export($Pile[0],1).',array(\'nb\' => ' . argumenter_squelette(interdire_scripts(entites_html(sinon(table_valeur(@$Pile[0], (string)'nb', null), '30'),true))) . ',
\'sinon\' => ' . argumenter_squelette(_T('formidable:info_aucune_reponse')) . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html\',\'html_6e8f095f6302ffcab9011ee24ca45fe6\',\'\',15,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(@$Pile[0]['ajax']) . '))?$v:true), _request("connect"));
?'.'>
' .
BOUCLE_repallhtml_6e8f095f6302ffcab9011ee24ca45fe6($Cache, $Pile, $doublons, $Numrows, $SP)
. ( '
' .
(($t2 = strval(interdire_scripts((((((((((((entites_html(table_valeur(@$Pile[0], (string)'statut', null),true)) ?'' :' ')) AND (interdire_scripts(((entites_html(sinon(table_valeur(@$Pile[0], (string)'id_formulaires_reponse', null), ''),true)) ?'' :' ')))) ?' ' :'')) AND (($Numrows['_repall']['total'] > '10'))) ?' ' :'')) AND (invalideur_session($Cache, ((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('instituer', 'formulairesreponse', invalideur_session($Cache, @$Pile[0]['id_formulaire']))?" ":"")))) ?' ' :''))))!=='' ?
($t2 . ( '
' .
invalideur_session($Cache, filtre_icone_verticale_dist(generer_action_auteur('vider_formulaire',invalideur_session($Cache, @$Pile[0]['id_formulaire'])),_T('formidable:reponses_supprimer'),'formulaire','formulaire-reponses-supprimer-24','right danger',( 'onclick="return confirm(\'' .
_T('formidable:reponses_supprimer_confirmation') .
'\');"'))) .
'
')) :
'') .
'
') .
'
');
return analyse_resultat_skel('html_6e8f095f6302ffcab9011ee24ca45fe6', $Cache, $page, '../plugins/auto/formidable/v3.37.1/prive/squelettes/inclure/formulaires_reponses-filtres.html');
}
?>