-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.php
64 lines (57 loc) · 1.62 KB
/
signup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!doctype html>
<html>
<meta charset="UTF-8">
<head>
<title>NWT | Signup</title>
<link rel="stylesheet" type="text/css" href="./css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
$("form").submit(function(event) {
event.preventDefault();
var uid = $("#uid").val();
var email = $("#email").val();
var pwd = $("#pwd").val();
var rpwd = $("#rpwd").val();
var submit = $("#submit").val();
$(".form-message").load("./includes/signup-inc-ajax.php", {
uid: uid,
email: email,
pwd: pwd,
rpwd: rpwd,
submit: submit
});
});
});
</script>
</head>
<body class="login">
<section>
<div class="cuadro">
<div class="logbg">
<div class="Title">
<h1>SIGN <spam class="highlight">UP</spam></h1>
<hr>
</div>
<div class="logform2">
<div class="logform">
<p>Rellene los siguientes datos: </p>
<p class="form-message"></p>
<br><br>
<form action="includes/signup-inc.php" method="POST">
<input id="uid" type="text" name="uid" placeholder="Nombre de Usuario" /><br>
<input id="email" type="text" name="email" placeholder="E-mail" /><br>
<input id="pwd" type="password" name="pwd" placeholder="Contraseña" /><br>
<input id="rpwd" type="password" name="rpwd" placeholder="Repita la contraseña" /><br>
<button id="submit" type="submit" name="submit">Hecho</button>
</form>
<a href="login.php">Volver</a>
</div>
</div>
</div>
<div class="map"></div>
</div>
</section>
</body>
</meta>
</html>