Server : Apache System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 User : pragmatice ( 1003) PHP Version : 8.2.24 Disable Function : NONE Directory : /home/pragmatice/public_html/atice/adminAtice/ |
<?php if(empty($_COOKIE['idIdent'])){header("Location:index.php");} $idIdent=$_COOKIE['idIdent']; include("includes/entete.php"); include("includes/menu1.php"); include("includes/sidebar3.php"); ?> <div id="main"> <?php require("../outils/config_atice.php"); if($_POST[go]){ $requete="select * from gestiai where mail='$_POST[mail1]'"; $resultat=mysql_query($requete, $connexion); $nombre=mysql_num_rows($resultat); $ligne=mysql_fetch_object($resultat); if($nombre==0){echo"<p style='text-align:center'><br /><br /><br /><br />Il n'y a pas d'abonn� � la liste avec cette adresse<br /><br /><br /></p>"; echo"<p style='text-align:center'><a href='chercheNom.php'>Nouvelle recherche ?</a></p>"; } else{ echo"<p><br /><br />Il s'agit de $ligne->nom $ligne->prenom<br /><br /></p>"; echo"<p style=\"text-align:center\"><a href=\"validation.php?act=del&id=$ligne->idIai\">D�sabonner ?</a></p>"; echo"<p style=\"text-align:center\"><a href=\"ficheAdherent.php?id=$ligne->idIai\">Voir sa fiche ?</a></p>"; echo"<p style=\"text-align:center\"><a href=\"listeAdherents.php\">Voir la liste des adh�rents ?</a></p>"; } exit; } echo"<h2>Recherche d'un abonn� � partir de son mail.</h2><br /><br /><br />"; echo"<form action=\"chercheNom.php\" method=\"post\">"; echo"<table style=\"margin-left:auto;margin-right:auto\" width=\"70%\"><col width=\"50%\" /><col width=\"50%\" />"; echo"<tr><td>Entrez l'adresse mail compl�te</td><td><input type=\"text\" name=\"mail1\" /></td></tr>"; echo"<tr><td colspan=\"2\" style=\"text-align:center\"><input type=\"submit\" name=\"go\" value=\"Rechercher\" /></td></tr>"; echo"</table>"; echo"</form>"; echo"</div>"; include("includes/basdepage.php"); ?>