$fieldsContactForm['nom']['default'] = $nom; $fieldsContactForm['prenom']['default'] = $prenom; $fieldsContactForm['email']['default'] = $email; $configFormContact['fields'] = $fieldsContactForm; $contact = new formGenerator(); echo $contact->afficherFromArray($configFormContact); break; case 'affichePopupAttente': echo "<div style='text-align:center;" . "border:1px solid #000000;height:148px;'>"; echo "<div style='padding-top:20px;'>" . "<img src='images/indicator.gif'></div>"; echo "<div style='padding-top:20px;'>" . "Veuillez patienter, le chargement est en cours...</div>"; echo "</div>"; break; case 'afficherListeRelative': $a = new archiAdresse(); echo $a->getAdressesMemeLocalite($_GET['archiIdAdresse'], $_GET['archiTypeLocalite']); break; case 'listeAdressesFromRue': $r = new archiRecherche(); if (isset($_GET['debut'])) { $html = $r->searchByCriterias(array('rue' => $_GET['recherche_rue'], 'debut' => $_GET['debut'])); } else { $html = $r->searchByCriterias(array('rue' => $_GET['recherche_rue'], 'debut' => 0)); } echo $html; break; case 'affichePopupDescriptionSource': $s = new archiSource(); echo $s->getPopupDescriptionSource(); break; case 'descriptionSource':