-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpacientes.php
96 lines (91 loc) · 2.83 KB
/
pacientes.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
<?php
require_once("clases/clase_login.php");
include_once('clases/clases.php');
if(!isset($_SESSION['usuario']) and !isset ($_SESSION['tipo_usuario'])){
header('location:index.php');
}
$usuario=limpiar($_SESSION['usuario']);
?>
<?php
include("bd/conexion.php")
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include("head.php"); ?>
<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
<link href="css/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="js/js/jquery.js"></script>
<script type="text/javascript" src="js/js/typeahead.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/assets/js/js.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.13.custom.min.js"></script>
<style>
.typeahead-devs, .tt-hint,.buscar,.allcountry {
border: 2px solid #CCCCCC;
border-radius: 8px 8px 8px 8px;
font-size: 20px;
height: 35px;
outline: medium none;
width: 350px;
}
.tt-dropdown-menu {
width: 350px;
margin-top: 5px;
padding: 8px 12px;
background-color: #F1F1F1;
}
</style>
<script>
$(document).ready(function() {
$('input.buscar').typeahead({
name: 'buscar',
remote : 'buscar.php?query=%QUERY'
});
})
</script>
</head>
<body>
<?php include("header.php"); ?>
<div class="container">
<table class="table table-bordered" id="example">
<tr class="info">
<td>
<div class="row-fluid">
<div class="span2">
<h3 class="text-info"><img src="img/usuario.png" class="img-circle" width="60" height="60">
Control de Pacientes</h3>
</div>
</div>
</td>
<td>
<div class="row-fluid">
<div class="span4">
<h3 class="text-info"> <img src="img/busca.jpg" class="img-circle" width="50" height="50"> Buscar:</h3>
<form id="frm_filtro" method="POST" action="">
<input type="text" name="buscar" size="18" class="buscar" placeholder="introdusca sus apellidos" id="nombre" >
</form>
</div>
</div>
</td>
</tr>
</table>
<table class="table table-bordered table table-hover" id="data">
<thead>
<tr class="info">
<th><span title="nombre">Nombre</span> </th>
<th><span title="apellidos">Apellidos</span></th>
<th><span title="direccion">Direccion</span></th>
<th><span title="email">Email</span></th>
<th><span title="celular">Celular</span></th>
<th><span title="telefono">Telefono</span></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</body>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Include all compiled plugins (below), or include individual files as needed -->
</html>