<html> 
<head> 
<title>CLINISYS UCG</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="ucaestilos.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	background-color: #CCCCCC;
}
-->
</style>
</head> 
<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><img src="img/top03.jpg" width="1000" height="90"></td>
  </tr>
  <tr>
    <td height="400" valign="middle">
<form action="control.php" method="POST" id="form1" name="form1">
              <table align="center" width="300" cellspacing="5" cellpadding="2" border="0">
                <tr>
                  <td height="30" colspan="2" align="center" bgcolor="#0D3356">
<?php
if (isset($_GET['errorusuario']))
      $a=$_GET['errorusuario'];
 {

if (isset ($a))
 {
			  $a=$_GET['errorusuario'];

if ($a=="si")
{
  echo "<span style='color:ffffff' class='style4'><b>Datos incorrectos</b></span>";
}
if ($a=="3")
{
	echo "<span class='style4' style='color:ffffff'><b>Requieres iniciar sesi&oacute;n</b></span> ";
}

}
else
{
//condicion else
echo "<span class='style4' style='color:ffffff'><b>Introduce tu clave de acceso</b></span> ";
}

}
?></td>
                </tr>
                <tr>
                  <td width="97" align="right" class="style1">Nombre:</td>
                  <td width="137"><input name="usuario" type="Text" class="cuadrotexto" size="15" maxlength="50" id="usuario" autocomplete="off"></td>
                </tr>
                <tr>
                  <td align="right" valign="middle" class="style1">Contrase&ntilde;a:</td>
                  <td valign="middle"><input name="contrasena" type="password" class="cuadrotexto" size="15" maxlength="50" autocomplete="off">
                      <span class="style1"><img src="img/userlock.jpg" width="22" height="22"></span></td>
                </tr>
                <tr>
                  <td colspan="2" align="center"><input name="Submit" type="Submit" class="boton2" value="ENTRAR"></td>
                </tr>
              </table>
            </form>
    </td>
  </tr>
  <tr>
        <td height="26" style="background-color:#0D3356;">
        <div align="center" id="noimprimible">
          <table width="99%" border="0" align="center" cellpadding="2" cellspacing="0">
            <tr>
              <td align="center" class="style8">Desarrollado para la Universidad Cuauht&eacute;moc por <a href="http://www.upweb.mx" target="_blank"><img src="img/webmaster.svg" style="height:16px; vertical-align:bottom;"></a></td>
            </tr>
          </table>
        </div></td>
        </tr>
    </table></td>
  </tr>
</table>
<script>
document.getElementById("usuario").focus();
</script>
</body> 
</html> 


