[et_pb_section fb_built=»1″ _builder_version=»3.17.2″][et_pb_row _builder_version=»3.17.2″][et_pb_column type=»4_4″ _builder_version=»3.17.2″ parallax=»off» parallax_method=»on»][et_pb_code _builder_version=»3.17.2″]<!– Codigo que se encarga del registro –><!– [et_pb_line_break_holder] –><script><!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –>/*document.getElementById("et_pb_contact_contraseña_1").type = 'password';<!– [et_pb_line_break_holder] –>myForm = document.getElementById("et_pb_contact_contraseña_1").parentElement.parentElement;*/<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –>window.addEventListener("load", function() {<!– [et_pb_line_break_holder] –> document.getElementById('my-form').addEventListener("submit", function(e) {<!– [et_pb_line_break_holder] –> e.preventDefault(); // before the code<!– [et_pb_line_break_holder] –> //get form data<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> postData="email="+ document.getElementById('emailForm').value;<!– [et_pb_line_break_holder] –> postData+="&pass="+ document.getElementById('passForm').value;<!– [et_pb_line_break_holder] –> var xhttp = new XMLHttpRequest();<!– [et_pb_line_break_holder] –> xhttp.onreadystatechange = function() {<!– [et_pb_line_break_holder] –> if (this.readyState == 4 && this.status == 200) {<!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –> if(this.responseText == 'true')<!– [et_pb_line_break_holder] –> {<!– [et_pb_line_break_holder] –> document.getElementById("PRiband").innerHTML = "Redirigiendo…";<!– [et_pb_line_break_holder] –> window.location.href = "https://dahandballmanagement.com/mipagina"; <!– [et_pb_line_break_holder] –> }<!– [et_pb_line_break_holder] –> else<!– [et_pb_line_break_holder] –> {<!– [et_pb_line_break_holder] –> document.getElementById("PRiband").innerHTML = "email o contraseña incorrecta";<!– [et_pb_line_break_holder] –> }<!– [et_pb_line_break_holder] –> }<!– [et_pb_line_break_holder] –> };<!– [et_pb_line_break_holder] –> xhttp.open("POST", "/myPHP/login.php", true);<!– [et_pb_line_break_holder] –> xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");<!– [et_pb_line_break_holder] –> xhttp.send(postData);<!– [et_pb_line_break_holder] –> return false;<!– [et_pb_line_break_holder] –> })<!– [et_pb_line_break_holder] –>});<!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –></script><!– [et_pb_line_break_holder] –><div style="padding: 0 0 0 4.5%;" class="titleForm"><!– [et_pb_line_break_holder] –> Login<!– [et_pb_line_break_holder] –></div><!– [et_pb_line_break_holder] –><div id="idForm" style="padding: 0 0 0 4.5%;"><!– [et_pb_line_break_holder] –><div id="PRiband"style="white-space: pre;"><!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –></div><!– [et_pb_line_break_holder] –><div id="idForm"><!– [et_pb_line_break_holder] –> <form id="my-form"><!– [et_pb_line_break_holder] –> <input type="email" id="emailForm"required="required" placeholder='Email' class="formParams"/><br><!– [et_pb_line_break_holder] –> <input type="password" id="passForm" required="required" placeholder='Contraseña' class="formParams"/><br><!– [et_pb_line_break_holder] –> <div style ="padding: 0 10% 0 0"><!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –> <button class="formSubmit" type="submit">Login</button><!– [et_pb_line_break_holder] –> <p style=" white-space: pre;display: inline;float: right; "> </p><!– [et_pb_line_break_holder] –> <button onclick="window.location.href = 'https://dahandballmanagement.com/recuperarcontrasena';" class="formSubmit">Recuperar contraseña</button><!– [et_pb_line_break_holder] –> </div><!– [et_pb_line_break_holder] –> </form><!– [et_pb_line_break_holder] –></div><!– [et_pb_line_break_holder] –></div><!– [et_pb_line_break_holder] –>[/et_pb_code][/et_pb_column][/et_pb_row][/et_pb_section]