-
Notifications
You must be signed in to change notification settings - Fork 0
/
perfil.php
91 lines (84 loc) · 3.16 KB
/
perfil.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
<?php include_once "views/userhead.php"; ?>
<?php include_once "php/queries.php"; ?>
<div id="page-wrapper">
<div class="container-fluid">
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<div class="well"><h1>Perfil</h1></div>
</div>
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-8">
<div class="table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<?php
$resultado = GetPerfilByUser($_COOKIE["pkusuario"]);
$row = mysqli_fetch_row($resultado);
?>
<tr>
<td>
<div class="form-group">
<label for="usr">Nombre:</label>
<input type="text" class="form-control" id="nombre" value="<?php echo $row[0]; ?>" >
</div>
</td>
</tr>
<tr>
<td>
<div class="form-group">
<label for="usr">Apellidos:</label>
<input type="text" class="form-control" id="apellidos" value="<?php echo $row[1]; ?>" >
</div>
</td>
</tr>
<tr>
<td>
<div class="form-group">
<label for="usr">Usuario:</label>
<input type="text" class="form-control" id="usr" value="<?php echo $row[2]; ?>" >
</div>
</td>
</tr>
<tr>
<td>
<div class="form-group">
<label for="usr">Tipo de Sangre:</label>
<input type="text" class="form-control" id="tiposangre" value="<?php echo $row[3]; ?>" >
</div>
</td>
</tr>
<tr>
<td>
<div class="form-group">
<label for="usr">Puntos:</label>
<input type="text" class="form-control" id="puntos" value="<?php echo $row[4]; ?>" >
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<script src="js/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>