. */ /* */ /*************************************************************************************/ require_once("pre.php"); require_once("auth.php"); ?> charger_ref($ref); $client->pourcentage = $pourcentage; $client->raison = $raison; $client->entreprise = $entreprise; $client->siret = $siret; $client->intracom = $intracom; $client->nom = $nom; $client->prenom = $prenom; $client->adresse1 = $adresse1; $client->adresse2 = $adresse2; $client->adresse3 = $adresse3; $client->cpostal = $cpostal; $client->ville = $ville; $client->pays = $pays; $client->telfixe = $telfixe; $client->telport = $telport; $client->pourcentage = $pourcentage; if($type != "") $client->type=1; else $client->type=0; if( filter_var($email, FILTER_VALIDATE_EMAIL) && $email != $client->email && !$client->existe($email)) { $client->email = strip_tags($email); } $client->maj(); ActionsModules::instance()->appel_module("modcli", $client); redirige("client_visualiser.php?ref=" . $ref); } function supprimer($ref){ $client = new Client(); $client->charger_ref($ref); $client->delete(); ActionsModules::instance()->appel_module("supcli", $client); redirige("client.php"); } function supprcmd($id) { $tempcmd = new Commande(); if ($tempcmd->charger($id)) $tempcmd->annuler(); } $client = new Client(); $client->charger_ref($ref); $raisondesc = new Raisondesc($client->raison); if($client->parrain){ $parrain = new Client(); $parrain->charger_id($client->parrain); } $paysdesc = new Paysdesc(); $paysdesc->charger($client->pays); ?>
| entreprise); ?> | |
|---|---|
| siret); ?> | |
| intracom); ?> | |
| long); ?> | |
| nom); ?> | |
| prenom); ?> | |
| adresse1); ?> | |
| adresse2); ?> | |
| 2 | adresse3); ?> |
| cpostal); ?> | |
| ville); ?> | |
| titre); ?> | |
| telfixe); ?> | |
| telport); ?> | |
| email); ?> | |
| pourcentage); ?> % | |
| prenom . " " . $parrain->nom; ?> |

