-
Notifications
You must be signed in to change notification settings - Fork 0
/
registroRealizado.php
138 lines (126 loc) · 6.32 KB
/
registroRealizado.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?php session_start();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DKT - Registro</title>
<script type="text/javascript" src="/JavaScript/Registro.js"></script>
<script type="text/javascript" src="/JavaScript/JQuery/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/JavaScript/JQuery/js/jquery-ui-1.8.21.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="/JavaScript/JQuery/css/smoothness/jquery-ui-1.8.21.custom.css"/>
<?php include ($_SERVER['DOCUMENT_ROOT']."/Estructura/Head.html");?>
<script>
$(document).ready(function() {
$( "#datepicker" ).datepicker({
changeMonth: true,
changeYear: true,
showOn: "button",
buttonImage: "/Imagenes/Iconos/calendar.png",
buttonImageOnly: true,
yearRange: '1980:2012',
dateFormat: 'dd/mm/yy'
});
});
</script>
</head>
<body>
<div id="capaContenido">
<div id="capaIzquierda">
<div id="Logo">
<?php include($_SERVER['DOCUMENT_ROOT']."/Estructura/CapaLogo.html");?>
</div>
<div id="capaMenu">
<ul id="listaMenu">
<li class="botonMenu"> <a href="/main.php"> DrinkTeam </a> </li>
<li id="botonMenuSeleccionado"> <a href="/Registrarse.php"> Registrarse </a> </li>
<li class="botonMenu"> <a href="/Fotos.php"> Fotos </a> </li>
<li class="botonMenu"> <a href="/Videos.php"> Videos </a> </li>
<li class="botonMenu"> <a href="/Noticias.php"> Noticias </a> </li>
<li class="botonMenu"> <a href="/Campeonatos.php"> Campeonatos </a> </li>
<?php
if (isset($_SESSION["sessionUser"])){
echo '<li class="botonMenu"> <a href="/Pagos.php"> Pagos </a> </li>';
echo '<li class="botonMenu"> <a href="/Integrantes.php"> Integrantes </a> </li>';
}
?>
</ul>
<!--fin lista menu -->
</div>
<!-- fin capa menu -->
</div>
<!-- fin capa izquierda -->
<div id="capaCentro">
<div id="capaTitulo">
<h2>Registrarse</h2>
<?php
if ($_SESSION['loggedUser'] != "ok")
echo '<div class="session"><a href="/Usuario/loginUser.php"><img class="imageSession" src="/Imagenes/Iconos/session.png"
alt="session" title="Iniciar sesión" onmouseover="this.src=\'/Imagenes/Iconos/session2.png\'"
onmouseout="this.src=\'/Imagenes/Iconos/session.png\'" border="0px"></a></div>';
else
echo '<div class="session"><a href="/logout.php">logout </a>'; echo $_SESSION["sessionUser"];'</div>';
?>
</div>
<!--fin capa titulo -->
<div id="capaTexto">
<div class="ui-widget">
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
<p style="color:#00FF00;"><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<strong>Success!</strong> User registered.</p>
</div>
</div><br>
<p class="infoForm">Complete el formulario con sus datos personales</p><br>
<form method="post" action="./Usuario/insertaUsuario.php" name="register" onSubmit="return validar_formulario(register)" onReset="return resetear()">
<br><fieldset id="capaDatosPersonales">
<legend> Datos Personales </legend>
<br><label>DNI: </label> <br>
<input type="text" name="dni" value="" maxlength="9"> <br>
<label>Nombre: </label> <br>
<input type="text" name="userName" value="" maxlength="20"> <br>
<label>Apellidos: </label> <br>
<input type="text" name="userSurname" value="" maxlength="40" size="30"> <br>
<label>Password: </label> <br>
<input type="password" name="password" value="" maxlength="8" onKeyUp="actualizar_nivel_contrasena(this.value, nivelContrasena)">
<input type="text" name="nivelContrasena" value="" id="nivelContrasena" readonly="readonly"> <br>
<label>Repetir Password: </label> <br>
<input type="password" name="repassword" value="" maxlength="8"> <br>
<label>Fecha Nacimiento: </label><br><input type="text" name="datepicker" id="datepicker" readonly size="20"/><br><br>
</fieldset>
<fieldset id="capaDatosLocalizacion">
<legend> Datos de Localización </legend>
<label>Direccion: </label> <br>
<input type="text" name="address" value="" maxlength="9" size="50"><br>
<label>Telefono: </label> <br>
<input type="text" name="phone" value="" maxlength="9" onBlur="telefono_valido(this.value)"><br>
<label>Correo Electronico: </label> <br>
<input type="text" name="mail" value="" maxlength="200" size="50" onBlur="correo_valido(this.value)"><br><br>
</fieldset>
<fieldset id="capaDatosDeportivos">
<legend> Datos Deportivos </legend>
<label>Deporte: </label><br>
<select name="sport">
<option value="1">Futbol</option>
<option value="2">Futbol Sala</option>
<option value="3">Baloncesto</option>
</select><br><br>
<!-- Upload Image -->
<label>Imagen: </label><br>
<input type="hidden" name="MAX_FILE_SIZE" value="5000000">
<input name="userfile" type="file"><br>
<!-- Upload Image -->
</fieldset>
<input type="submit" class="sendButton" value="Aceptar"/>
<input type="reset" class="resetButton" value="Reiniciar" />
</form></p>
</div>
<!-- fin capa texto -->
<div id="capaPiePagina">
<?php include($_SERVER['DOCUMENT_ROOT']."/Estructura/CapaPiePagina.html");?>
</div>
</div>
</div>
<!-- fin capa centro -->
</div>
<!-- fin capa contenido -->
</body>
</html>