| Current Path : /home/e/t/i/etiennec/www/oldsite/tmp/cache/skel/ |
| Current File : /home/e/t/i/etiennec/www/oldsite/tmp/cache/skel/html_6d9a9c50b9af038553bd704c804f7aac.php |
<?php
/*
* Squelette : plugins/auto/contact/formulaires/contact.html
* Date : Tue, 27 Jul 2010 09:39:34 GMT
* Compile : Sun, 20 May 2012 11:33:37 GMT
* Boucles : _previsu_infos, _previsu_pj, _previsu, _destinataires, _tous, _choix, _infos, _pj, _editable
*/
/* BOUCLE POUR */
function BOUCLE_previsu_infoshtml_6d9a9c50b9af038553bd704c804f7aac(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = 'pour';
static $table = 'POUR';
static $id = '_previsu_infos';
static $from = array('POUR' => 'POUR');
static $type = array();
static $groupby = array();
static $select = array("POUR.cle",
"POUR.valeur");
static $orderby = array();
static $where =
array();
static $join = array();
static $limit = '';
$having =
array(
array('tableau', interdire_scripts(entites_html((@$Pile[0]['_champs']),true))));
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_previsu_infos',23,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result, 'pour')) {
$t0 .= (
'
' .
(($t1 = strval(interdire_scripts(((match($Pile[$SP]['cle'],'mail|sujet|texte')) ?'' :' '))))!=='' ?
($t1 . ( '
' .
(($t2 = strval(interdire_scripts(entites_html((@$Pile[0][interdire_scripts($Pile[$SP]['cle'])]),true))))!=='' ?
(( '<li><strong>' .
interdire_scripts($Pile[$SP]['valeur']) .
'</strong> : ') . $t2 . '</li>') :
'') .
'
')) :
'') .
'
');
}
@sql_free($result, 'pour');
}
return $t0;
}
/* BOUCLE POUR */
function BOUCLE_previsu_pjhtml_6d9a9c50b9af038553bd704c804f7aac(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = 'pour';
static $table = 'POUR';
static $id = '_previsu_pj';
static $from = array('POUR' => 'POUR');
static $type = array();
static $groupby = array();
static $select = array("POUR.cle");
static $orderby = array();
static $where =
array();
static $join = array();
static $limit = '';
$having =
array(
array('tableau', interdire_scripts(table_valeur(entites_html((@$Pile[0]['erreurs']),true),'infos_pj'))));
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_previsu_pj',30,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result, 'pour')) {
$t0 .= (
'
<li>
' .
(($t1 = strval(interdire_scripts(extraire_attribut(filtrer('image_graver', filtrer('image_reduire',table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'vignette'),'32')),'src'))))!=='' ?
('<img src="' . $t1 . ( '" ' .
(($t2 = strval(interdire_scripts(table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'mime'))))!=='' ?
('title="' . $t2 . '"') :
'') .
' />')) :
'') .
'
' .
interdire_scripts(table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'nom')) .
'
</li>
');
}
@sql_free($result, 'pour');
}
return $t0;
}
/* BOUCLE CONDITION */
function BOUCLE_previsuhtml_6d9a9c50b9af038553bd704c804f7aac(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = 'condition';
static $table = 'CONDITION';
static $id = '_previsu';
static $from = array('CONDITION' => 'CONDITION');
static $type = array();
static $groupby = array();
static $select = array("1");
static $orderby = array();
static $where =
array();
static $join = array();
static $limit = '';
$having =
array(($test=interdire_scripts(((table_valeur((@$Pile[0]['erreurs']),'previsu')) ?' ' :'')))?array('tableau','1:1'):'');
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_previsu',18,$GLOBALS['spip_lang']));
if ($result) {
$l1 = _T('public/spip/ecrire:previsualisation');
$l2 = _T('contact:courriel_de');
$l3 = _T('public/spip/ecrire:form_prop_sujet');
$l4 = _T('public/spip/ecrire:info_texte_message');
$l5 = _T('contact:form_pj_previsu_pluriel');
$l6 = _T('contact:form_pj_previsu_singulier');
$l7 = _T('public/spip/ecrire:form_prop_confirmer_envoi');$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result, 'condition')) {
$t0 .= (
'
<fieldset class="previsu">
<legend>' .
$l1 .
'</legend>
<ul>
' .
(($t1 = strval(interdire_scripts(entites_html((@$Pile[0]['mail']),true))))!=='' ?
(( '<li><strong>' .
$l2 .
'</strong> : ') . $t1 . '</li>') :
'') .
'
' .
BOUCLE_previsu_infoshtml_6d9a9c50b9af038553bd704c804f7aac($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
(($t1 = strval(interdire_scripts(entites_html((@$Pile[0]['sujet']),true))))!=='' ?
(( '<li><strong>' .
$l3 .
'</strong> : ') . $t1 . '</li>') :
'') .
'
' .
(($t1 = strval(interdire_scripts(propre(entites_html((@$Pile[0]['texte']),true)))))!=='' ?
(( '<li><div><strong>' .
$l4 .
'</strong></div>') . $t1 . '</li>') :
'') .
'
' .
(($t1 = BOUCLE_previsu_pjhtml_6d9a9c50b9af038553bd704c804f7aac($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<li>
' .
(($t3 = strval(interdire_scripts(((count(table_valeur(entites_html((@$Pile[0]['erreurs']),true),'infos_pj')) > '1') ? $l5:$l6))))!=='' ?
('<strong>' . $t3 . '</strong>') :
'') .
'
<ul>
') . $t1 . '
</ul>
</li>
') :
'') .
'
</ul>
<p class="boutons"><input type="submit" class="submit" name="confirmer" value="' .
$l7 .
'" /></p>
</fieldset>
');
}
@sql_free($result, 'condition');
}
return $t0;
}
/* BOUCLE auteurs */
function BOUCLE_destinataireshtml_6d9a9c50b9af038553bd704c804f7aac(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$in = array();
if (!(is_array($a = ((@$Pile[0]['choix_destinataires'])))))
$in[]= $a;
else $in = array_merge($in, $a);
static $table = 'auteurs';
static $id = '_destinataires';
static $from = array('auteurs' => 'spip_auteurs');
static $type = array();
static $groupby = array();
static $select = array("0+auteurs.nom AS num",
"auteurs.nom",
"auteurs.id_auteur");
static $orderby = array('num', 'auteurs.nom');
$where =
array(
array('!=', 'auteurs.statut', '\'5poubelle\''), sql_in('auteurs.id_auteur',sql_quote($in)));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_destinataires',59,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
' .
(($t1 = strval(interdire_scripts(((match(entites_html((@$Pile[0]['type_choix']),true),'plusieurs|plusieurs_et|plusieurs_ou')) ?' ' :''))))!=='' ?
($t1 . ( '
<li class="choix">
<input
type="checkbox" class="checkbox"
name="destinataire[]" id="destinataire' .
$Pile[$SP]['id_auteur'] .
'"
value="' .
$Pile[$SP]['id_auteur'] .
'"' .
(($t2 = strval(interdire_scripts(((entites_html((@$Pile[0]['destinataire_selection']),true)) ?' ' :''))))!=='' ?
($t2 . ((in_array($Pile[$SP]['id_auteur'],interdire_scripts(sinon(@$Pile[0]['destinataire_selection'],array())))) ?
(' ' . ' ' . 'checked="checked"') :
'')) :
'') .
'
' .
(($t2 = strval(interdire_scripts(((entites_html((@$Pile[0]['destinataire_selection']),true)) ?'' :' '))))!=='' ?
($t2 . ( '
' .
(($t3 = strval(interdire_scripts(((lire_config('contact/c',null,false)) ?'' :' '))))!=='' ?
($t3 . (((((in_array($Pile[$SP]['id_auteur'],interdire_scripts(sinon(@$Pile[0]['destinataire'],array())))) OR (in_array($Pile[$SP]['id_auteur'],interdire_scripts(sinon(@$Pile[0]['choix_destinataires'],array()))))) ?' ' :'')) ?
(' ' . ' ' . 'checked="checked"') :
'')) :
''))) :
'') .
'
/>
<label for="destinataire' .
$Pile[$SP]['id_auteur'] .
'">' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['nom']),"TYPO",$connect)) .
'</label>
</li>
')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(((match(entites_html((@$Pile[0]['type_choix']),true),'un|un_et|un_ou')) ?' ' :''))))!=='' ?
($t1 . ( '
<option value="' .
$Pile[$SP]['id_auteur'] .
'"' .
((in_array($Pile[$SP]['id_auteur'],interdire_scripts(sinon(@$Pile[0]['destinataire'],array())))) ?
(' ' . ' ' . 'selected="selected"') :
'') .
'>' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['nom']),"TYPO",$connect)) .
'</option>
')) :
'') .
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE POUR */
function BOUCLE_toushtml_6d9a9c50b9af038553bd704c804f7aac(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = 'pour';
static $table = 'POUR';
static $id = '_tous';
static $from = array('POUR' => 'POUR');
static $type = array();
static $groupby = array();
static $select = array("POUR.valeur");
static $orderby = array();
static $where =
array();
static $join = array();
static $limit = '';
$having =
array(
array('tableau', interdire_scripts(entites_html((@$Pile[0]['destinataire']),true))));
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_tous',54,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result, 'pour')) {
$t0 .= (
'
<li style="display:none;"><input type="hidden" name="destinataire[]" value="' .
interdire_scripts($Pile[$SP]['valeur']) .
'" /></li>
');
}
@sql_free($result, 'pour');
}
return $t0;
}
/* BOUCLE CONDITION */
function BOUCLE_choixhtml_6d9a9c50b9af038553bd704c804f7aac(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = 'condition';
static $table = 'CONDITION';
static $id = '_choix';
static $from = array('CONDITION' => 'CONDITION');
static $type = array();
static $groupby = array();
static $select = array("1");
static $orderby = array();
static $where =
array();
static $join = array();
static $limit = '';
$having =
array(($test=interdire_scripts(((entites_html((@$Pile[0]['choix_destinataires']),true)) ?'' :' ')))?array('tableau','1:1'):'');
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_choix',52,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result, 'condition')) {
$t0 .= (
'
' .
BOUCLE_toushtml_6d9a9c50b9af038553bd704c804f7aac($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
}
@sql_free($result, 'condition');
}
return $t0;
}
/* BOUCLE POUR */
function BOUCLE_infoshtml_6d9a9c50b9af038553bd704c804f7aac(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = 'pour';
static $table = 'POUR';
static $id = '_infos';
static $from = array('POUR' => 'POUR');
static $type = array();
static $groupby = array();
static $select = array("POUR.cle",
"POUR.valeur");
static $orderby = array();
static $where =
array();
static $join = array();
static $limit = '';
$having =
array(
array('tableau', interdire_scripts(entites_html((@$Pile[0]['_champs']),true))));
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_infos',100,$GLOBALS['spip_lang']));
if ($result) {
$l1 = _T('public/spip/ecrire:info_obligatoire_02');$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result, 'pour')) {
$t0 .= (
'
' .
vide($Pile['vars']['existe'] = interdire_scripts(find_in_path(( 'formulaires/contact_champ_' .
interdire_scripts($Pile[$SP]['cle']) .
'.html')))) .
(((is_array($a = ($Pile["vars"])) ? $a['existe'] : "")) ?
(' ' . ( '
' .
recuperer_fond( ( 'formulaires/contact_champ_' .
interdire_scripts($Pile[$SP]['cle'])) , array_merge($Pile[0],array('name' => interdire_scripts($Pile[$SP]['cle']) ,
'titre' => interdire_scripts($Pile[$SP]['valeur']) )), array('compil'=>array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_infos',103,$GLOBALS['spip_lang'])), '') .
'
')) :
'') .
'
' .
(!((is_array($a = ($Pile["vars"])) ? $a['existe'] : "")) ?
(' ' . ( '
<li class="editer_' .
interdire_scripts($Pile[$SP]['cle']) .
' saisie_' .
interdire_scripts($Pile[$SP]['cle']) .
(($t2 = strval(interdire_scripts(((in_array($Pile[$SP]['cle'],interdire_scripts(entites_html(sinon(@$Pile[0]['_obligatoires'],array()),true)))) ?' ' :''))))!=='' ?
(' ' . $t2 . 'obligatoire') :
'') .
(($t2 = strval(interdire_scripts(((table_valeur((@$Pile[0]['erreurs']),interdire_scripts($Pile[$SP]['cle']))) ?' ' :''))))!=='' ?
(' ' . $t2 . 'erreur') :
'') .
'">
<label for="info_' .
interdire_scripts($Pile[$SP]['cle']) .
'">' .
interdire_scripts($Pile[$SP]['valeur']) .
(($t2 = strval(interdire_scripts(((in_array($Pile[$SP]['cle'],interdire_scripts(entites_html(sinon(@$Pile[0]['_obligatoires'],array()),true)))) ?' ' :''))))!=='' ?
(' ' . $t2 . ( '<strong>' .
$l1 .
'</strong>')) :
'') .
'</label>
' .
(($t2 = strval(interdire_scripts(table_valeur((@$Pile[0]['erreurs']),interdire_scripts($Pile[$SP]['cle'])))))!=='' ?
('<span class="erreur_message">' . $t2 . '</span>') :
'') .
'
<input type="text" class="text" name="' .
interdire_scripts($Pile[$SP]['cle']) .
'" id="info_' .
interdire_scripts($Pile[$SP]['cle']) .
'" value="' .
interdire_scripts(entites_html((@$Pile[0][interdire_scripts($Pile[$SP]['cle'])]),true)) .
'" size="30" />
</li>
')) :
'') .
'
');
}
@sql_free($result, 'pour');
}
return $t0;
}
/* BOUCLE POUR */
function BOUCLE_pjhtml_6d9a9c50b9af038553bd704c804f7aac(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = 'pour';
static $table = 'POUR';
static $id = '_pj';
static $from = array('POUR' => 'POUR');
static $type = array();
static $groupby = array();
static $select = array("POUR.cle");
static $orderby = array();
static $where =
array();
static $join = array();
static $limit = '';
$having =
array(
array('tableau', interdire_scripts(entites_html((@$Pile[0]['pj_fichiers']),true))));
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_pj',114,$GLOBALS['spip_lang']));
if ($result) {
$l1 = _T('contact:form_pj_fichier_ajoute');
$l2 = _T('contact:form_pj_supprimer');
$l3 = _T('contact:form_pj_importer');$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result, 'pour')) {
$t0 .= (
'
<li>
' .
(($t1 = strval(interdire_scripts(((table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'message')) ?' ' :''))))!=='' ?
($t1 . ( '
' .
$l1 .
'
' .
(($t2 = strval(interdire_scripts(extraire_attribut(filtrer('image_graver', filtrer('image_reduire',table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'vignette'),'32')),'src'))))!=='' ?
('<img src="' . $t2 . ( '" ' .
(($t3 = strval(interdire_scripts(table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'mime'))))!=='' ?
('title="' . $t3 . '"') :
'') .
' />')) :
'') .
'
' .
interdire_scripts(table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'nom')) .
'
<input type="hidden" name="pj_enregistrees_nom[' .
interdire_scripts($Pile[$SP]['cle']) .
']" value="' .
interdire_scripts(table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'nom')) .
'"/>
<input type="hidden" name="pj_enregistrees_mime[' .
interdire_scripts($Pile[$SP]['cle']) .
']" value="' .
interdire_scripts(table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'mime')) .
'"/>
<input type="hidden" name="pj_enregistrees_extension[' .
interdire_scripts($Pile[$SP]['cle']) .
']" value="' .
interdire_scripts(table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'extension')) .
'"/>
<input type="hidden" name="pj_enregistrees_vignette[' .
interdire_scripts($Pile[$SP]['cle']) .
']" value="' .
interdire_scripts(table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'vignette')) .
'"/>
<input type="submit" name="pj_supprimer_' .
interdire_scripts($Pile[$SP]['cle']) .
'" value="' .
$l2 .
'"/>
')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(((table_valeur(table_valeur(table_valeur((@$Pile[0]['erreurs']),'infos_pj'),interdire_scripts($Pile[$SP]['cle'])),'message')) ?'' :' '))))!=='' ?
($t1 . ( '
<input type="file" class="fichier" name="pj_fichiers[' .
interdire_scripts($Pile[$SP]['cle']) .
']" title="' .
$l3 .
'" />
')) :
'') .
'
</li>
');
}
@sql_free($result, 'pour');
}
return $t0;
}
/* BOUCLE CONDITION */
function BOUCLE_editablehtml_6d9a9c50b9af038553bd704c804f7aac(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = 'condition';
static $table = 'CONDITION';
static $id = '_editable';
static $from = array('CONDITION' => 'CONDITION');
static $type = array();
static $groupby = array();
static $select = array("1");
static $orderby = array();
static $where =
array();
static $join = array();
static $limit = '';
$having =
array(($test=interdire_scripts(entites_html((@$Pile[0]['editable']),true)))?array('tableau','1:1'):'');
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/contact/formulaires/contact.html','html_6d9a9c50b9af038553bd704c804f7aac','_editable',12,$GLOBALS['spip_lang']));
if ($result) {
$l1 = _T('public/spip/ecrire:envoyer_message');
$l2 = _T('contact:form_destinataires');
$l3 = _T('contact:form_destinataire');
$l4 = _T('contact:form_pj_ajouter_pluriel');
$l5 = _T('contact:form_pj_ajouter_singulier');
$l6 = _T('public/spip/ecrire:antispam_champ_vide');
$l7 = _T('public/spip/ecrire:form_prop_envoyer');$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result, 'condition')) {
$t0 .= (
'
<form method=\'post\' action=\'' .
interdire_scripts(entites_html((@$Pile[0]['action']),true)) .
'#formulaire_contact\' enctype=\'multipart/form-data\'>
' .
'<div>' .
form_hidden(interdire_scripts(entites_html((@$Pile[0]['action']),true))) .
'<input name=\'formulaire_action\' type=\'hidden\'
value=\'' . @$Pile[0]['form'] . '\' />' .
'<input name=\'formulaire_action_args\' type=\'hidden\'
value=\'' . @$Pile[0]['formulaire_args']. '\' />' .
(@$Pile[0]['_hidden']?@$Pile[0]['_hidden']:'') .
'</div>
' .
BOUCLE_previsuhtml_6d9a9c50b9af038553bd704c804f7aac($Cache, $Pile, $doublons, $Numrows, $SP) .
'
<fieldset>
<legend>' .
$l1 .
'</legend>
<ul>
' .
(($t1 = BOUCLE_choixhtml_6d9a9c50b9af038553bd704c804f7aac($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
$t1 :
(( '
' .
(($t2 = BOUCLE_destinataireshtml_6d9a9c50b9af038553bd704c804f7aac($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<li class="obligatoire' .
(($t4 = strval(interdire_scripts(((table_valeur((@$Pile[0]['erreurs']),'destinataire')) ?' ' :''))))!=='' ?
(' ' . $t4 . 'erreur') :
'') .
'">
' .
(($t4 = strval(interdire_scripts(((match(entites_html((@$Pile[0]['type_choix']),true),'plusieurs|plusieurs_et|plusieurs_ou')) ?' ' :''))))!=='' ?
($t4 . ( '
<label>' .
$l2 .
'</label>
' .
(($t5 = strval(interdire_scripts(table_valeur((@$Pile[0]['erreurs']),'destinataire'))))!=='' ?
('<span class="erreur_message">' . $t5 . '</span>') :
'') .
'
<ul class="choix_mots">
')) :
'') .
'
' .
(($t4 = strval(interdire_scripts(((match(entites_html((@$Pile[0]['type_choix']),true),'un|un_et|un_ou')) ?' ' :''))))!=='' ?
($t4 . ( '
<label for="destinataire">' .
$l3 .
'</label>
' .
(($t5 = strval(interdire_scripts(table_valeur((@$Pile[0]['erreurs']),'destinataire'))))!=='' ?
('<span class="erreur_message">' . $t5 . '</span>') :
'') .
'
<select name="destinataire[]" id="destinataire">
')) :
'') .
'
') . $t2 . ( '
' .
(($t4 = strval(interdire_scripts(((match(entites_html((@$Pile[0]['type_choix']),true),'plusieurs|plusieurs_et|plusieurs_ou')) ?' ' :''))))!=='' ?
($t4 . '
</ul>
') :
'') .
'
' .
(($t4 = strval(interdire_scripts(((match(entites_html((@$Pile[0]['type_choix']),true),'un|un_et|un_ou')) ?' ' :''))))!=='' ?
($t4 . '
</select>
') :
'') .
'
</li>
')) :
('
BUG
')) .
'
'))) .
'
' .
BOUCLE_infoshtml_6d9a9c50b9af038553bd704c804f7aac($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
(($t1 = BOUCLE_pjhtml_6d9a9c50b9af038553bd704c804f7aac($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<li class =\'pieces_jointes\'>
<label>' .
interdire_scripts(((entites_html((@$Pile[0]['nb_max_pj']),true) > '1') ? $l4:$l5)) .
'</label>
<ul>
') . $t1 . '
</ul>
</li>
') :
'') .
'
</ul>
</fieldset>
<p style="display:none;">
<label for="contact_nobot">' .
$l6 .
'</label>
<input type="text" class="text" name="nobot" id="contact_nobot" value="' .
interdire_scripts(entites_html((@$Pile[0]['nobot']),true)) .
'" size="10" />
</p>
<p class="boutons"><input type="submit" class="submit" name="valide" value="' .
$l7 .
'" /></p>
</form>
');
}
@sql_free($result, 'condition');
}
return $t0;
}
//
// Fonction principale du squelette plugins/auto/contact/formulaires/contact.html
// Temps de compilation total: 129.194 ms
//
function html_6d9a9c50b9af038553bd704c804f7aac($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 = (
'<?php header("X-Spip-Cache: 0"); ?>'.'<?php header("Cache-Control: no-store, no-cache, must-revalidate"); ?><?php header("Pragma: no-cache"); ?>' .
'<div class="formulaire_spip formulaire_contact formulaire_editer_message_contact" id="formulaire_contact">
<br class=\'bugajaxie\' />
' .
(($t1 = strval(interdire_scripts(propre(lire_config('contact/texte',null,false)))))!=='' ?
('<div class="texte">' . $t1 . '</div>') :
'') .
'
' .
(($t1 = strval(interdire_scripts((@$Pile[0]['message_ok']))))!=='' ?
('<p class="reponse_formulaire reponse_formulaire_ok">' . $t1 . '</p>') :
'') .
'
' .
(($t1 = strval(interdire_scripts((@$Pile[0]['message_erreur']))))!=='' ?
('<p class="reponse_formulaire reponse_formulaire_erreur">' . $t1 . '</p>') :
'') .
'
' .
BOUCLE_editablehtml_6d9a9c50b9af038553bd704c804f7aac($Cache, $Pile, $doublons, $Numrows, $SP) .
'
</div>
');
return analyse_resultat_skel('html_6d9a9c50b9af038553bd704c804f7aac', $Cache, $page, 'plugins/auto/contact/formulaires/contact.html');
}
?>