' . _("Back to the homepage of ") . ' ' . NOMAPPLICATION . '.
'."\n"; bandeau_pied(); session_unset(); } else { $post_var = array('question', 'nom', 'adresse_mail', ); foreach ($post_var as $var) { if (isset($_POST[$var]) && !empty($_POST[$var])) { $_SESSION[$var] = $_POST[$var]; } else { $_SESSION[$var] = null; } } /* * Préparation des messages d'erreur */ $errors = array( 'name' => array ( 'msg' => '', 'aria' => '', 'class' => '' ), 'email' => array ( 'msg' => '', 'aria' => '', 'class' => '' ), 'question' => array ( 'msg' => '', 'aria' => '', 'class' => '' ), 'state' => false ); if (isset($_POST['envoiquestion']) && $_SESSION["nom"]=="") { $errors['name']['aria'] = 'aria-describeby="#poll_name_error" '; $errors['name']['class'] = ' has-error'; $errors['name']['msg'] = ''. _("Enter a name") .'
'. _("The address is not correct!") .'
'. _("You must ask a question!") .'