HB/index.anc.php

41 lines
1.3 KiB
PHP
Raw Normal View History

2007-10-27 10:00:00 +00:00
<?php
define('DESIGN', 'pages/descriptions/diz/base.css');
require('header.php');
define('HEAD', '<script language=javascript>
function clearText(thefield){
if (thefield.defaultValue == thefield.value)
thefield.value = "";
}
function initText(thefield){
if (thefield.value == "" || thefield.value == " ")
thefield.value = thefield.defaultValue;
}
</script>');
?>
<body>
<form method="post" action="verifLogin.php">
<table border="0" width="400" align="center">
<?php if (isset($_GET['erreur']) && $_GET['erreur'] != '') print '<tr><td colspan="2" style="text-align: center;"><b><font color="#FF0000">Impossible de valider la session, veuillez vous reconnecter.</font></b><br></td></tr>'; ?>
<tr>
<td width="200"><b>Votre login</b></td>
<td width="200">
<input type=text name="login" onfocus="clearText(this)" onblur="initText(this)" value="Login" class="zone_texte">
</td>
</tr>
<tr>
<td width="200"><b>Votre mot de passe<b></td>
<td width="200">
<input type=password name="password" onfocus="clearText(this)" onblur="initText(this)" value="Password" class="zone_texte">
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="submit" value="Connexion" class="bouton">
</td>
</tr>
<tr><td colspan="2"><a href="inscription.php">Inscription</a></td></tr>
</table>
</form>
</body>
</html>