p'tites modifs

This commit is contained in:
jlb 2003-02-03 11:35:17 +00:00
parent d7df4e8337
commit e49b8069e8
2 changed files with 7 additions and 1 deletions

View File

@ -84,12 +84,18 @@ if ($HTTP_POST_VARS["action"] == 'confirm_valid' && $HTTP_POST_VARS["confirm"] =
{
$adh = new Adherent($db, $rowid);
$adh->validate($user->id);
$adh->fetch($rowid);
$mesg=preg_replace("/%INFO%/","Prenom : $adh->prenom\nNom : $adh->nom\nSociete = $adh->societe\nAdresse = $adh->adresse\nCode Postal : $adh->cp\nVille : $adh->ville\nPays : $adh->pays\nEmail : $adh->email\nLogin : $adh->login\nPassword : $adh->pass\nNote : $adh->note",$conf->adherent->email_valid);
mail($adh->email,"Vos coordonnees sur http://$SERVER_NAME/",$mesg);
}
if ($HTTP_POST_VARS["action"] == 'confirm_resign' && $HTTP_POST_VARS["confirm"] == yes)
{
$adh = new Adherent($db, $rowid);
$adh->resiliate($user->id);
$adh->fetch($rowid);
$mesg=preg_replace("/%INFO%/","Prenom : $adh->prenom\nNom : $adh->nom\nSociete = $adh->societe\nAdresse = $adh->adresse\nCode Postal : $adh->cp\nVille : $adh->ville\nPays : $adh->pays\nEmail : $adh->email\nLogin : $adh->login\nPassword : $adh->pass\nNote : $adh->note",$conf->adherent->email_resil);
mail($adh->email,"Vos coordonnees sur http://$SERVER_NAME/",$mesg);
}

View File

@ -26,7 +26,7 @@ llxHeader();
$db = new Db();
if ($sortorder == "") { $sortorder="DESC"; }
if ($sortorder == "") { $sortorder="ASC"; }
if ($sortfield == "") { $sortfield="d.nom"; }
if ($page == -1) { $page = 0 ; }