-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadministrador.php
191 lines (172 loc) · 4.66 KB
/
administrador.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<?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']);
$objUsuario=new ConsultarUsuario($usuario);
$nombre=$objUsuario->consultar('nombre');
$palabra=explode(" ", $nombre);
$nomb=$palabra[0];
if($_SESSION['tipo_usuario']=='a'){
$titulo='Administrador';
}
else{
$titulo='Enfermera';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include("head.php"); ?>
<link rel="stylesheet" type="text/css" href="font-awesome/css/font-awesome.min.css" />
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<link href="css/css/bootstrap.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<?php include("header.php"); ?>
<div class="container">
<table class="table table-bordered">
<tr class="success">
<td>
<h3 class="text-info"><img src="img/usuario.png" class="img-circle" width="60" height="60">
Bienvenid@ <?php echo $titulo ." ". $nomb; ?></h3>
</td>
</tr>
</table>
<!-- Icon Panels - START -->
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-lg-4">
<div class="box">
<div class="icon">
<div class="image"><span class="glyphicon glyphicon-list-alt btn-lg white"></span></div>
<div class="info">
<h3 class="title">Recalendarización!</h3>
<p>
<h3>5 </h3>Ultimos pacientes con recalendarizacion.
</p>
<div class="more">
<a href="#" title="Title Link"><i class="fa fa-plus"></i> Mas Información
</a>
</div>
</div>
</div>
<div class="space"></div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-lg-4">
<div class="box">
<div class="icon">
<div class="image"><span class="glyphicon glyphicon-envelope btn-lg white"></span></div>
<div class="info">
<h3 class="title">Avizo!</h3>
<p>
<h3>5 </h3> Pacientes proximos a un cambio de filtro
</p>
<div class="more">
<a href="#" title="Title Link"><i class="fa fa-plus"></i> Mas Información
</a>
</div>
</div>
</div>
<div class="space"></div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-lg-4">
<div class="box">
<div class="icon">
<div class="image"><span class="glyphicon glyphicon-volume-up btn-lg white"></span></div>
<div class="info">
<h3 class="title">Filtro Nuevo!</h3>
<p>
<h3>0 </h3> Pacientes con cambio de filtro el dia de hoy.
</p>
<div class="more">
<a href="#" title="Title Link"><i class="fa fa-plus"></i> Mas Información
</a>
</div>
</div>
</div>
<div class="space"></div>
</div>
</div>
</div>
</div>
<style>
.white {
color: white;
}
.btn-lg {
font-size: 38px;
line-height: 1.33;
border-radius: 6px;
}
.box > .icon {
text-align: center;
position: relative;
}
.box > .icon > .image {
position: relative;
z-index: 2;
margin: auto;
width: 88px;
height: 88px;
border: 7px solid white;
line-height: 88px;
border-radius: 50%;
background: #63B76C;
vertical-align: middle;
}
.box > .icon:hover > .image {
border: 4px solid black;
}
.box > .icon > .image > i {
font-size: 40px !important;
color: #fff !important;
}
.box > .icon:hover > .image > i {
color: white !important;
}
.box > .icon > .info {
margin-top: -24px;
background: rgba(0, 0, 0, 0.04);
border: 1px solid #e0e0e0;
padding: 15px 0 10px 0;
}
.box > .icon > .info > h3.title {
color: #222;
font-weight: 500;
}
.box > .icon > .info > p {
color: #666;
line-height: 1.5em;
margin: 20px;
}
.box > .icon:hover > .info > h3.title, .box > .icon:hover > .info > p, .box > .icon:hover > .info > .more > a {
color: #222;
}
.box > .icon > .info > .more a {
color: #222;
line-height: 12px;
text-transform: uppercase;
text-decoration: none;
}
.box > .icon:hover > .info > .more > a {
color: #000;
padding: 6px 8px;
border-bottom: 4px solid black;
}
.box .space {
height: 30px;
}
</style>
<!-- Icon Panels - END -->
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>