예제 #1
0
 /**
  * Liste les informations du client
  */
 function infosClient()
 {
     $row = SelectMultiple("if_bo_client", "numclient", $this->numclient);
     $this->raison = $row["raison"];
     $this->nom = $row["nom"];
     $this->prenom = $row["prenom"];
     $this->pwd = easy($row["pwd"], "d");
     $this->email = $row["email"];
     $this->civilite = $row["civilite"];
     $this->fonction = $row["fonction"];
     $this->adr1 = $row["adr1"];
     $this->adr2 = $row["adr2"];
     $this->cp = $row["cp"];
     $this->ville = $row["ville"];
     $this->pays = $row["numpays"];
     $this->nompays = utf8_encode(SelectSimple("pays", "if_pays", "numpays", $this->pays));
     $this->tel = $row["tel"];
     $this->gsm = $row["gsm"];
     $this->fax = $row["fax"];
     $this->actif = $row["actif"];
     $this->amont = $row["amont"];
     $this->aval = $row["aval"];
 }
예제 #2
0
 /** 
  * Récupère chaque information liées à un utilisateur, afin de les afficher 
  */
 function infosUti()
 {
     $row = SelectMultiple("if_utilisateur", "numuti", $this->numuti);
     $this->iduti = $row["iduti"];
     $this->nom = $row["nom"];
     $this->prenom = $row["prenom"];
     $this->login = $row["login"];
     $this->pwd = easy($row["pwd"], "d");
     $this->admin = $row["admin"];
     $this->actif = $row["actif"];
 }