File "acces.htm"

Full Path: /home/analogde/www/Emile/acces.htm
File size: 1.05 KB
MIME-type: text/html
Charset: 8 bit

<html><head>
<TITLE>AUTHENTIFICATION:</TITLE>


<script language="JavaScript">
function checkPwd() 
{ 
// on vrifie si le mot de passe est vide
if ((document.pwdForm.pwd.value == null) || (document.pwdForm.pwd.value == ''))
alert('Mot de passe invalide.');
// si non on ouvre le fichier en question
else this.location.href = document.pwdForm.pwd.value + ".php";
}
</script>
</head>


<body bgcolor="#FFFFFF">
<div align="center">
  <p><img src="images_pages/acces/serrure.gif"  align="middle"> </p>
  <p><b>AUTHENTIFICATION DU ROOT</b></p>
  <form name="pwdForm">

  <table width="36%" border="0">
    <tr>
      <td width="25%" height="28">LOGIN:</td>
      <td width="45%" height="28"> 
          <input type="text" name="login" size=24 maxlength=20 value="root">
      </td>
    </tr>
    <tr>
      <td width="55%">PASSWORD:</td>
      <td width="45%">
        <input type="password" name="pwd" size=24 maxlength=20>
      </td>
    </tr>
  </table>
  </form>
  
  <input type="button" value="CONNEXION" onClick= "checkPwd()" name="button">
  
  
</div>
</body>
</html>