<section id="slideshow"> <div class="container"> <div class="c_slider"></div> <div class="slider"> <figure> </figure><!-- --><figure> <?php for ($k = 0; $k < 10000; ++$k) { echo aleatoire(); } ?> </figure> </div> </div> <span id="timeline"></span> </section> <span id="s1" class="sl_command sl_i"></span> <span id="s1" class="sl_command sl_i"></span> <span id="s1" class="sl_command sl_i"></span> <span id="s1" class="sl_command sl_i"></span>
function gererDonnees( $post=array() ) { $modification = $this->load( $post["num_client"] ); $this->nom = utf8_decode( $post["nom"] ); $this->prenom = utf8_decode( $post["prenom"] ); $this->telephone = utf8_decode( $post["tel"] ); $this->mail = $post["email"]; $this->mdp = utf8_decode( $post["mdp"] ); $this->adresse = utf8_decode( $post["adresse"] ); $this->cp = utf8_decode( $post["cp"] ); $this->ville = utf8_decode( $post["ville"] ); $this->actif = $post["actif"]; // C'est un ajout if ( !$modification ) { $this->code = aleatoire(16); $this->date_creation = date("Y-m-d"); $this->actif = ( $post["actif"] != "" ) ? $post["actif"] : 0; $this->supprime = 0; return $this->ajouter(); } else { $this->ville = utf8_decode( $post["ville"] ); return $this->modifier(); } }