1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
| <?php
if($HTTP_POST_VARS['valider']=="ok")
{
session_start();
if(($email=="elodie.bertrand2@freesbee.fr")AND($pass=="alinoe"))
{
$statut="admin";
session_register("email");
session_register("statut");
header("Location:acceuil.php");
}
else
{
$erreurlog=1;
}
}
?>
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" bgcolor="#000000"> <div align="center"><strong><font color="#FFFFFF" size="5" face="Georgia, Times New Roman, Times, serif">ESPACE
ADMINISTRATION</font></strong></div></td>
</tr>
<tr bgcolor="#000000">
<td height="49"> <div align="center">
<p><strong><font color="#FFFFFF" size="4" face="Georgia, Times New Roman, Times, serif">IDENTIFICATION</font></strong></p>
</div></td>
</tr>
<tr bgcolor="#000000">
<td height="49" bgcolor="#FFFFFF"><form name="form1" method="post" action="">
<p> </p>
<table width="75%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2"><font face="Georgia, Times New Roman, Times, serif"><strong>Saisissez
les paramètres de votre compte :</strong></font></td>
</tr>
<tr>
<td width="50%"><div align="right"><font face="Georgia, Times New Roman, Times, serif">e-mail</font></div></td>
<td width="50%"><font face="Georgia, Times New Roman, Times, serif">
<input name="email" type="text" id="email">
</font></td>
</tr>
<tr>
<td><div align="right"><font face="Georgia, Times New Roman, Times, serif">mot
de passe</font></div></td>
<td><font face="Georgia, Times New Roman, Times, serif">
<input name="pass" type="text" id="pass">
</font></td>
</tr>
<tr>
<td><div align="right"><font face="Georgia, Times New Roman, Times, serif">
<input name="valider" type="hidden" id="valider" value="ok">
</font></div></td>
<td><font face="Georgia, Times New Roman, Times, serif">
<input type="submit" name="Submit" value="Envoyer">
</font></td>
</tr>
</table>
</form></td>
</tr>
</table>
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><p align="center"><font color="#FF0000" face="Georgia, Times New Roman, Times, serif"><strong>
<?php if($erreurlog==1) {?>
<br>
</strong></font><font color="#FF0000" face="Georgia, Times New Roman, Times, serif"><strong>Votre
login et votre mot de passe sont erronés <br>
ou ils ne vous autorisent pas l'accès à l'espace administrateur
! </strong></font></p>
<p align="center"><?php }
?>
<br>
</p>
</td>
</tr>
</table>
<p> </p>
</body>
</html> |
Partager