-
Notifications
You must be signed in to change notification settings - Fork 0
/
registro.php
57 lines (52 loc) · 2 KB
/
registro.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
<?php
include 'session.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Registro de usuario</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>Crear un usuario</h2>
<form class="form-horizontal" action="registrar-usuario.php" method="post">
<div class="form-group">
<label class="control-label col-sm-2" for="email">Usuario</label>
<div class="col-sm-10">
<input type="text" class="form-control" maxlength="20" placeholder="Ingresa tu usuario" name="username" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="email">Email:</label>
<div class="col-sm-10">
<input type="email" class="form-control" maxlength="50" id="email" placeholder="Enter email" name="email">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="pwd">Contraseña:</label>
<div class="col-sm-10">
<input type="password" class="form-control" maxlength="30" id="pwd" placeholder="Ingresa una Contraseña" name="password" required>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div class="checkbox">
<label><input type="checkbox" name="remember"> Recordarme</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Crear</button>
<button type="button" class="btn btn-default" onclick="location.href='login.html'">Login</button>
</div>
</div>
</form>
</div>
</body>
</html>