Incam_Intranet/index2.php
2011-04-04 15:16:10 +00:00

49 lines
1.2 KiB
PHP

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Selfor >> Acceso</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<?php include("html/cabecera.php"); ?>
<h1 align="center">Bienvenido a la Intranet</h1>
<!-- Formulario de login -->
<center><form action="control.php" method="POST">
<table align="center" width="225" cellspacing="2" cellpadding="2" border="0">
<tr>
<td colspan="2" align="center"
<?php
if ($_GET["errorusuario"]=="si"){
echo 'bgcolor=red><span style="color:ffffff"><font color="white"><b>Datos incorrectos</b></font></span>';
}else{
echo 'bgcolor=#cccccc>Introduce tu clave de acceso';
}
?>
</td>
</tr>
<tr>
<td align="right">EMAIL:</td>
<td><input type="text" name="usuario" size="30" maxlength="50"></td>
</tr>
<tr>
<td align="right">PASSWORD:</td>
<td><input type="password" name="password" size="30" maxlength="50"></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="Submit" value="ENTRAR" class="button"></td>
</tr>
</table>
</form></center>
<!-- Formulario de login -->
<?php include("html/pie.php"); ?>