<?php
error_reporting(E_ALL | E_WARNING | E_PARSE | E_NOTICE);
session_start();
//require ("../head_1.html");
$vairable= str_shuffle('ZzHSLmejorahmRA3e2jwXKRU');
//${'x'.$vairable} = "valor de variable";

$_SESSION["campo"] = 'x'.$vairable;
$errorusuario= "";
if (isset($_GET['errorusuario'])) {
 $errorusuario = $_GET['errorusuario'];
}
 ?>
   <?php require ("../tablas/index_head_m.html");?>
<!DOCTYPE HTML>

<p id='count'>&nbsp;</p>
<?php
$errorusuario= "";
if (isset($_GET['errorusuario'])) {
 $errorusuario = $_GET['errorusuario'];
}
 ?>
 
</p>
<script>
function tache(){
  document.getElementById("frm").submit();
}
if('localStorage' in window && window['localStorage'] !== null) {
   document.getElementById('count').textContent='.';
    var storage = localStorage
} else { alert('Como seguimos utilizando un navegador viejo, Santa Claus no nos traerá nada esta Navidad'); }

 
}


</script>



        
	<section id="three" class="section service border-top">
			  <div class="inner" align="center">

			  <table width="30%" border="0"  class="align-center">
  <tr align="center">
   
    <td align="center" <?php if ($errorusuario=="si"){ ?> bgcolor="#FF0000"> ingreso <?php }else{?> bgcolor="#ffc107" > Introduce tu clave de acceso<?php }?>
</td>
   
  </tr>
  <tr>
   
    <td  class="align-center" >
	
  	<form action="recibe_usuario.php" method="post" enctype="application/x-www-form-urlencoded" id="frm" >
    <div class="form-group">
    <label for="usuario">usuario:</label>
    <input type="text" class="form-control" placeholder="Nombre de usuario" id="usuario" name="usuario">
  </div>

  <div class="form-group">
    <label for="CONTRASENIA">CONTRASENIA:</label>
    <input type="password" class="form-control" placeholder="Enter password" id="CONTRASENIA" name="CONTRASENIA" >
  </div>
        
	     <input type="submit" name="Button" id="button" class="btn btn-primary" value="Enviar"  />
		</form>
	</td>
   
  </tr>
  
</table>

					
				</div>
			</section>

 

		<!-- Footer -->
			
		<!-- Scripts -->
	        
    
<p id='count'>&nbsp;</p>
	</body>
</html>




</html>
