index.html:
Código
<html> <head> <link rel="stylesheet" type="text/css" href="log.css"> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="HandheldFriendly" content="true"> </head> <body> <form name="login" class="formlogin" method="POST" action="log.php" id="form"> <br> <br> <input type="submit" value="Login" align="center" id="submit" class="submitboton"> <input type="button" class="regbutton" id="regbutton" value="Registrate" onclick="registerStart()"/> </form> <form name="reg" class="formreg" method="POST" action"reg.php" id="formreg"> <input type="text" class="regname" name="regname" placeholder="Nombre" required/> <input type="text" class="reguser" name="reguser" placeholder="Username" title="minimo 5 caracteres maximo 16" pattern="[a-zA-Z0-9]{5,16}" required/> <input type="password" class="regpass" name="regpass" placeholder="Password" title="minimo 5 caracteres maximo 16" pattern="[a-zA-Z0-9]{5,16}" required/> <input type="password" class="regpassconfirmation" name="regpassconfirmation" placeholder="Confirma Password" title="minimo 5 caracteres maximo 16" pattern="[a-zA-Z0-9]{5,16}" required/> <input type="email" class="regemail" name="regemail" placeholder="Email" required/> <input type="email" class="regemailconfirmation" name="regemailconfirmation" placeholder="Confirma Email" required/> <input type="text" class="credencial" name="credencial" placeholder="Credencial" required/> <input type="submit" class="submitboton2" align="center"/> <input type="button" class="buttonvolver" id="buttonvolver" value="Volver" onclick="registerStop()"/> </form> </body> </html>