snipe 2450
| Posté : 29-02-2004 20:40
a metre dans finishnewuser entre la ligne avant le premier audodoc et apres le second.
if ($result) {
#autodoc Snipe : Rajout Log new user;
$ip= getip();
global $dns_verif;
if ($dns_verif)
$hostname=@gethostbyaddr($ip);
@mysql_query("INSERT INTO ".$NPDS_Prefix."appli_log (al_id, al_name, al_subid, al_date, al_uid, al_data, al_ip, al_hostname) VALUES ('100', 'Register', '', now(), '$usr_id', '$email', '$ip', '$hostname')");
#autodoc Snipe : END
$message = "".translate("Welcome to")." $sitename !\n\n".translate("You or someone else has used your email account")." ($email) ".translate("to register an account at")." $sitename. ".translate("The following is the member information:")."\n\n".translate("-Nickname: ")." $uname\n".translate("-Password: ")." $makepass\n\n"; |