-
Notifications
You must be signed in to change notification settings - Fork 0
/
donaciones.php
81 lines (68 loc) · 2.67 KB
/
donaciones.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
<?php include_once "views/institutionhead.php"; ?>
<?php include_once "php/queries.php"; ?>
<!-- jQuery -->
<script src="js/jquery.js"></script>
<script src="js/jquery-ui-1.12.0.custom/jquery-ui.min.js"></script>
<script src="js/jquery-ui-1.12.0.custom/jquery-ui.min.css"></script>
<script src="js/donaciones.js"></script>
<div id="page-wrapper">
<div class="container-fluid">
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<div class="well"><h1>Citas de <?php echo GetEstablecimientoByID($_GET["idins"]) ?></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 = GetCitasHospital();
while ($fila = $resultado->fetch_assoc()){
?>
<tr>
<td>
<a href="cita.php?v=ci&pkd=<?php echo $fila["PKUsuario"]; ?>&pkc=<?php echo $fila["PKCita"]; ?>">
<div class="media">
<span class="pull-left">
<img class="media-object" src="images/u.png" alt="">
</span>
<div class="media-body">
<h5 class="media-heading"><strong><?php echo $fila["Nombre"]." ".$fila["Apellidos"]." (".$fila["TipoDeSangre"].")"; ?></strong>
</h5>
<p class="small text-muted"><i class="fa fa-clock-o"><?php echo $fila["Cita"]; ?></i></p>
<p><?php echo $fila["Usuario"]; ?></p>
</div>
</div>
</a>
</td>
<td>
<button type="button" onclick="cancelarCita(<?php echo $fila["PKCita"]; ?>)" class="btn btn-lg btn-danger">Cancelar Cita</button>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>