-
Notifications
You must be signed in to change notification settings - Fork 0
/
HistoriaIInternacion.php
87 lines (76 loc) · 3.37 KB
/
HistoriaIInternacion.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
<?php include("funciones.php") ?>
<?php
$dni= $_GET['dni'];
$paciente = buscarHistorialInternaciones($dni);
?>
<!DOCTYPE html>
<html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="">
<!--<![endif]-->
<?php include("componentes/cabecera.html") ?>
<body>
<!-- Left Panel -->
<?php include("componentes/leftPanel.html")?>
<!-- Left Panel -->
<!-- Right Panel -->
<div id="right-panel" class="right-panel">
<!-- Header-->
<?php include("componentes/barra.html") ?>
<!-- /#header -->
<!-- Content -->
<div class="content">
<!-- Animated -->
<div class="animated fadeIn">
<?php include("componentes/menuPaciente.php") ?>
<div class="content-hospital">
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="card">
<div class="card-header">
<strong class="card-title">Historial Internaciones</strong>
</div>
<div class="order-table">
<table class="table table-striped" id="tabla-hospital">
<thead>
<tr>
<th>DNI</th>
<th>Nombre</th>
<th>NºHabitación</th>
<th>Planta</th>
<th>Hospital</th>
<th>Fecha Entrada</th>
<th>Fecha Salida</th>
<th>Causa</th>
<th>Observación</th>
</tr>
</thead>
<?php if ($paciente != null): ?>
<tbody>
<?php foreach ($paciente as $row): array_map('htmlentities', $row); ?>
<tr>
<td style="text-align:left"><?php echo implode('</td><td>', $row); ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
<?php endif; ?>
</table>
</div> <!-- /.table-stats -->
</div>
</div>
</div>
</div>
</div>
<!-- Animated -->
</div>
<!-- Content -->
</div>
<?php include("componentes/script.html")?>
</body>
</html>
</html>