-
Notifications
You must be signed in to change notification settings - Fork 0
/
registro.php
75 lines (52 loc) · 2.08 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE HTML>
<html>
<head>
<title>wish Up!</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="shortcut icon" href="favicon.ico">
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
</head>
<body >
<?php
error_reporting(0);
$error = $_GET['error'];
?>
<!-- Header -->
<div id="header">
<!-- Banner -->
<section id="banner" style='margin-top:0px;'>
<h1><a href="index.php"><img src='images/logo.png'></a></h1>
<header>
<form action='registrar.php' method='POST'>
Nombre de usuario: <input type='text' name='nombre'>
Correo electrónico: <input type='text' name='email'>
Contraseña: <input type='password' name='pwd' ><br>
Repetir Contraseña: <input type='password' name='pwd2' ><br>
<?php
if ($error == 'password'){
echo "<p style='color:black;font-size:14pt;'>*** Contraseña no coincide</p><br>";
}
if ($error == 'usuario_exist'){
echo "<p style='color:black;font-size:14pt;'>*** Existe este correo electrónico dado de alta</p><br>";
}
?>
<input type='submit' value='Comenzar a desear'>
</form>
</header>
</section>
</div>
<!-- Footer -->
<?php include_once('footer.php'); ?>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.dropotron.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/skel-viewport.min.js"></script>
<script src="assets/js/util.js"></script>
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/main.js"></script>
</body>
</html>