芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/ancien-site-2019/inscriptions/connexion_espace_adherent.php
Vous devez entrer un numero de licence ET un mot de passe
Vous allez etre redirig vers la page de connexion"; header("Refresh: 5; URL=./index.php" ); exit; } include('classes.php'); $mon_adherent = new adherent(); // Connexion au serveur include('connexion_bdd.php'); // Creation et envoi de la requete $query = "SELECT nom_adherent,prenom_adherent FROM `adherent` WHERE numero_de_licence LIKE '".$numero_de_licence."' AND mot_de_passe LIKE '".md5($passwd)."'"; $result = mysql_query($query,$connexion); echo mysql_error(); $nombre = mysql_num_rows($result); if($nombre==0) // ben c est qu il y a personne { include('demande_confirmation_nouvelle_inscription.php'); } else { $row = mysql_fetch_row($result) ; $mon_adherent->nom_adherent = $row[0]; $mon_adherent->prenom_adherent=$row[1]; $query = "SELECT adhesion_validee FROM `adherent` WHERE numero_de_licence LIKE '".$numero_de_licence."' AND mot_de_passe LIKE '".md5($passwd)."'"; $result = mysql_query($query,$connexion); $row = mysql_fetch_row($result) ; if ($row[0]==0) // si y a pas de personne identifiable { echo "
".$mon_adherent->nom_adherent." ".$mon_adherent->prenom_adherent." votre demande n'a pas encore t valide par l'administrateur du site.
Voulez vous envoyer un mail de relance ?
"; ?>
nom_adherent; ?> name ="nom_adherent">
prenom_adherent; ?> name ="prenom_adherent">