forked from contrerasalexa/SISGTMMA_IS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
registrousu.php
73 lines (71 loc) · 2.46 KB
/
registrousu.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
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registro - Sistema de Gestión de Torneos de MMA</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
background-color: black;
background-image: url('resourses/img/rejas.png');
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
color: white;
}
.login-container {
background-color: #333;
padding: 30px;
border-radius: 10px;
text-align: center;
width: 100%;
max-width: 400px;
}
.login-container h1 span1 {
color: #0e8418;
}
.login-container h1 span2 {
color: #ffffff;
}
.login-container h1 span3 {
color: #FF0000;
}
.login-container h2, .login-container label, .login-container a {
color: white;
}
</style>
</head>
<body>
<div class="login-container">
<h1><span1>SIS</span1><span2>GT</span2><span3>MMA</span3></h1>
<h2>REGISTRO</h2>
<?php
if (!empty($_GET['mensaje'])) {
echo '<div class="alert alert-success">' . htmlspecialchars($_GET['mensaje']) . '</div>';
}
if (!empty($_GET['error'])) {
echo '<div class="alert alert-danger">' . htmlspecialchars($_GET['error']) . '</div>';
}
?>
<form action="registro.php" method="POST">
<div class="form-group">
<label for="usuario">Usuario</label>
<input type="text" class="form-control" id="usuario" name="usuario" required>
</div>
<div class="form-group">
<label for="correo">Correo</label>
<input type="email" class="form-control" id="correo" name="correo" required>
</div>
<div class="form-group">
<label for="contrasena">Contraseña</label>
<input type="password" class="form-control" id="contrasena" name="contrasena" required>
</div>
<button type="submit" class="btn btn-success btn-block">Registrarse</button>
</form>
</div>
</body>
</html>