. */ /* */ /*************************************************************************************/ /* Substitutions de type parrain */ function substitparrain($texte){ global $id_parrain; $client = new Client(); $client->charger_id($id_parrain); $texte = str_replace("#PARRAIN_EMAIL", "$client->email", $texte); return $texte; } ?>