-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndex.php
112 lines (97 loc) · 5.15 KB
/
Index.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
session_start();
if(!empty($_SESSION["id"])){
header("Location: Perfil.php");
}
?>
<!DOCTYPE html>
<html lang="en" class="no-js"> <!--<![endif]-->
<head>
<meta charset="UTF-8" />
<!-- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> -->
<title>PichangaChanga</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Login and Registration Form with HTML5 and CSS3" />
<meta name="keywords" content="html5, css3, form, switch, animation, :target, pseudo-class" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="css/demo-login.css" />
<link rel="stylesheet" type="text/css" href="css/style-login.css" />
<link rel="stylesheet" type="text/css" href="css/animate-custom-login.css" />
<script type="text/javascript">
</script>
</head>
<body>
<div class="container">
<header>
<h1>Pichangachanga</h1>
<nav class="codrops-demos">
</nav>
</header>
<section>
<div id="container_demo" >
<a class="hiddenanchor" id="toregister"></a>
<a class="hiddenanchor" id="tologin"></a>
<div id="wrapper">
<div id="login" class="animate form">
<form action="login.php" autocomplete="on" method="post">
<h1>Ingreso</h1>
<p>
<label for="username" class="uname" > Correo </label>
<input id="correo" name="correo" required="required" type="text" placeholder="[email protected]"/>
</p>
<p>
<label for="password" class="youpasswd" > Contraseña </label>
<input id="password" name="password" required="required" type="password" placeholder="*******" />
</p>
<!--<p class="keeplogin">
<input type="checkbox" name="loginkeeping" id="loginkeeping" value="loginkeeping" />
<label for="loginkeeping">Recordar mis datos</label>
</p>-->
<p class="login button">
<input type="submit" value="Login" />
</p>
<p class="change_link">
¿Olvidaste tu contraseña?
<a href="#toregister" class="to_register" disable>Regístrate</a>
</p>
</form>
</div>
<div id="register" class="animate form">
<form action="registrar.php" autocomplete="on" method="post">
<h1> Registro </h1>
<p>
<label for="usernamesignup" class="uname" >Nombre Completo</label>
<input id="nombreRegistro" name="nombreRegistro" required="required" type="text" placeholder="Nombre Apellido" />
</p>
<p>
<label for="emailsignup" class="youmail" > Email</label>
<input id="emailRegistro" name="emailRegistro" required="required" type="email" placeholder="[email protected]" />
</p>
<p>
<label for="number" class="number" > Telefono</label>
<input id="numeroRegistro" name="numeroRegistro" required="required" type="text" pattern="[0-9]*" placeholder="111 222 33" />
</p>
<p>
<label for="passwordsignup" class="youpasswd">Clave </label>
<input id="claveRegistro" name="claveRegistro" required="required" type="password" placeholder="********" />
</p>
<p>
<label for="passwordsignup_confirm" class="youpasswd" >Confirmar Clave </label>
<input id="claveRegistro_confirm" name="claveRegistro_confirm" required="required" type="password" placeholder="********" />
</p>
<p class="signin button">
<button type="submit" class="btn btn-success">Nuevo</button>
</p>
<p class="change_link">
¿Ya eres usuario?
<a href="#tologin" class="to_register"> Ir al login </a>
</p>
</form>
</div>
</div>
</div>
</section>
</div>
</body>
</html>