-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.php
338 lines (322 loc) · 18.9 KB
/
index.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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
<?
require_once "config.php";
// require_once("./modulos/permisos/permisos.class.php");
// Cargar el menu viejo
// $old_menu = BROWSER_OK ? false : true;
if (is_array($parametros) && array_key_exists('mode', $parametros)) {
if ($parametros['mode'] == "logout") {
$usuario->destroy();
// phpss_logout();
header("Location: ${html_root}/login.php");
die();
}
// if ($parametros['mode'] == "debug") {
// if (permisos_check("inicio","debug")) {
// $_ses_user["debug"] = $parametros["debug_status"];
// phpss_svars_set("_ses_user", $_ses_user);
// }
// }
}
$id_usuario = $usuario->id;
?><!DOCTYPE html>
<!--[if IE 8]> <html lang="es" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="es" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="es">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<title>Consulta de Codigos</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<link rel="shortcut icon" href="<?php echo $html_root; ?>/favicon.png">
<link href="<?php echo $html_root; ?>/assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/bootstrap-toastr/toastr.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/plugins/bootstrap-datepicker/css/bootstrap-datepicker.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/css/components-md.min.css" rel="stylesheet" id="style_components" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/css/plugins-md.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/css/layout.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/css/themes/blue.min.css" rel="stylesheet" type="text/css" id="style_color" />
<link href="<?php echo $html_root; ?>/assets/css/custom.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/css/fonts.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $html_root; ?>/assets/css/general.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $html_root; ?>/assets/plugins/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
var html_root = '<?php echo $html_root; ?>';
var url_menu_consultorios = '<?php echo encode_link($html_root."/configuracion/consultorios_datos", array("accion" => "cambiar_consultorio")); ?>';
</script>
</head>
<body class="page-header-fixed page-sidebar-closed-hide-logo page-container-bg-solid page-md">
<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
<!-- BEGIN HEADER INNER -->
<div class="page-header-inner ">
<!-- BEGIN LOGO -->
<div class="page-logo">
<img src="<?php echo $html_root; ?>/assets/img/logo_solo_trans.png" alt="logo" class="logo-default" />
<div class="menu-toggler sidebar-toggler">
<!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->
</div>
</div>
<!-- END LOGO -->
<!-- BEGIN RESPONSIVE MENU TOGGLER -->
<a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse"> </a>
<!-- END RESPONSIVE MENU TOGGLER -->
<!-- BEGIN PAGE ACTIONS -->
<!-- DOC: Remove "hide" class to enable the page header actions -->
<div class="page-actions">
<img src="<?php echo $html_root; ?>/assets/img/logo_cab_index.png" alt="logo" class="logo-default" />
</div>
<!-- END PAGE ACTIONS -->
<!-- BEGIN PAGE TOP -->
<div class="page-top">
<!-- BEGIN TOP NAVIGATION MENU -->
<div class="top-menu">
<ul class="nav navbar-nav pull-right">
<!-- BEGIN NOTIFICATION DROPDOWN -->
<!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->
<!-- END NOTIFICATION DROPDOWN -->
<!-- BEGIN USER LOGIN DROPDOWN -->
<!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->
<li class="dropdown dropdown-user">
<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
<img alt="" class="img-circle" src="<?php echo $html_root; ?>/assets/img/avatar.png" />
<span class="username username-hide-on-mobile"> <?php echo $usuario->apellido.', '.$usuario->nombre; ?> </span>
<i class="fa fa-angle-down"></i>
</a>
<ul class="dropdown-menu dropdown-menu-default">
<li>
<a href="<?php echo encode_link($html_root."/index.php",array("mode" => "logout")); ?>"><i class="icon-key"></i> Salir </a>
</li>
</ul>
</li>
<!-- END USER LOGIN DROPDOWN -->
</ul>
</div>
<!-- END TOP NAVIGATION MENU -->
</div>
<!-- END PAGE TOP -->
</div>
<!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
<!-- BEGIN HEADER & CONTENT DIVIDER -->
<div class="clearfix"> </div>
<!-- END HEADER & CONTENT DIVIDER -->
<!-- BEGIN CONTAINER -->
<div class="page-container">
<!-- BEGIN SIDEBAR -->
<div class="page-sidebar-wrapper">
<!-- END SIDEBAR -->
<!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
<!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->
<div class="page-sidebar navbar-collapse collapse">
<!-- BEGIN SIDEBAR MENU -->
<!-- DOC: Apply "page-sidebar-menu-light" class right after "page-sidebar-menu" to enable light sidebar menu style(without borders) -->
<!-- DOC: Apply "page-sidebar-menu-hover-submenu" class right after "page-sidebar-menu" to enable hoverable(hover vs accordion) sub menu mode -->
<!-- DOC: Apply "page-sidebar-menu-closed" class right after "page-sidebar-menu" to collapse("page-sidebar-closed" class must be applied to the body element) the sidebar sub menu mode -->
<!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
<!-- DOC: Set data-keep-expand="true" to keep the submenues expanded -->
<!-- DOC: Set data-auto-speed="200" to adjust the sub menu slide up/down speed -->
<ul class="page-sidebar-menu page-header-fixed" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="500">
<li class="nav-item start active open">
<a href="<?php echo $html_root; ?>/pss/firmas" class="nav-link nav-toggle ajaxify">
<i class="icon-tag"></i>
<span class="title">Listado Firmas</span>
</a>
</li>
<li class="nav-item start">
<a href="<?php echo $html_root; ?>/pss/firma_snomed" class="nav-link nav-toggle ajaxify">
<i class="icon-cloud-upload"></i>
<span class="title">Firma Digital</span>
</a>
</li>
<li class="nav-item">
<a href="javascript:;" class="nav-link nav-toggle">
<i class="icon-bulb"></i>
<span class="title">Mapeos</span>
<span class="arrow"></span>
</a>
<ul class="sub-menu">
<li class="nav-item start">
<a href="<?php echo $html_root; ?>/pss/listado" class="nav-link nav-toggle ajaxify">
<i class="icon-bulb"></i>
<span class="title">PSS PACES </span>
</a>
</li>
<li class="nav-item start">
<a href="<?php echo $html_root; ?>/pss/consulta_snomed" class="nav-link nav-toggle ajaxify">
<i class="icon-bulb"></i>
<span class="title">PSS PACES SNOMED Completo</span>
</a>
</li>
<li class="nav-item start">
<a href="<?php echo $html_root; ?>/recupero/consulta_snomed_recu" class="nav-link nav-toggle ajaxify">
<i class="icon-bulb"></i>
<span class="title">Nomenclador Nacional SNOMED Completo</span>
</a>
</li>
</ul>
</li>
<li class="nav-item">
<a href="javascript:;" class="nav-link nav-toggle">
<i class="icon-puzzle"></i>
<span class="title">Listados</span>
<span class="arrow"></span>
</a>
<ul class="sub-menu">
<li class="nav-item start">
<a href="<?php echo $html_root; ?>/pss/listado_pss" class="nav-link nav-toggle ajaxify">
<i class="icon-puzzle"></i>
<span class="title">PSS PACES</span>
</a>
</li>
<li class="nav-item start">
<a href="<?php echo $html_root; ?>/recupero/listado_recu" class="nav-link nav-toggle ajaxify">
<i class="icon-puzzle"></i>
<span class="title">Nomenclador Nacional</span>
</a>
</li>
</ul>
</li>
<li class="nav-item">
<a href="javascript:;" class="nav-link nav-toggle">
<i class="icon-wrench"></i>
<span class="title">Sistema</span>
<span class="arrow"></span>
</a>
<ul class="sub-menu">
<li class="nav-item start">
<a href="<?php echo $html_root; ?>/sistema/usuarios" class="nav-link ajax-load" data-titulo="<i class='icon-users'></i> <span>Usuarios</span>"><i class="icon-users"></i> <span class="title">Usuarios</span></a>
</li>
<li class="nav-item start">
<a href="<?php echo $html_root; ?>/sistema/mensajes" class="nav-link ajax-load" data-titulo="<i class='fa fa-commenting-o'></i> <span>Mensajes</span>"><i class="fa fa-commenting-o"></i> <span class="title">Mensajes</span></a>
</li>
</ul>
</li>
</ul>
<!-- END SIDEBAR MENU -->
</div>
<!-- END SIDEBAR -->
</div>
<!-- END SIDEBAR -->
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
<!-- BEGIN CONTENT BODY -->
<div class="page-content">
<!-- BEGIN PAGE HEADER-->
<div class="pull-right"><img src="<?php echo $html_root; ?>/assets/img/ajax-loading.gif" id="loading-indicator" style="display:none" /></div>
<div class="page-content-body">
<?php //include(MOD_DIR."/pss/listado.php"); // Seleccion de Menu raiz ?>
<?php include(MOD_DIR."/pss/firmas.php"); ?>
</div>
<!-- END PAGE HEADER-->
</div>
<!-- END CONTENT BODY -->
</div>
<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<div class="page-footer">
<div class="page-footer-inner">Copyright © <?php echo date("Y"); ?></div>
<div class="scroll-to-top"><i class="icon-arrow-up"></i></div>
</div>
<!-- END FOOTER -->
<div id="popup_modal" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Cerrar"><span aria-hidden="true">×</span></button>
<h4 class="modal-title"></h4>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button type="button" class="btn btn-success" id="popup_modal_aceptar">Aceptar</a>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="delete_modal" tabindex="-1" role="dialog" aria-labelledby="delete_modal_label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="delete_modal_label">Confirmar la eliminación</h4>
</div>
<div class="modal-body">
<p>¿Está seguro que desea eliminar el elemento seleccionado?</p>
</div>
<div class="modal-footer">
<button class="btn btn-success btn-borrar">Aceptar</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button>
</div>
</div>
</div>
</div>
<!--[if lt IE 9]>
<script src="<?php echo $html_root; ?>/assets/plugins/respond.min.js"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/excanvas.min.js"></script>
<![endif]-->
<!-- BEGIN CORE PLUGINS -->
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/js.cookie.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-confirmation/bootstrap-confirmation.min.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-toastr/toastr.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-typeahead/bootstrap3-typeahead.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/datatables/datatables.min.js" type="text/javascript"></script>
script>
<script src="<?php echo $html_root; ?>/assets/plugins/moment.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-daterangepicker/daterangepicker.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/ion.rangeslider/js/ion.rangeSlider.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/select2/js/select2.full.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/select2/js/i18n/es.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/fullcalendar/lang/es.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/autosize/autosize.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/icheck/icheck.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.es.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-timepicker/js/bootstrap-timepicker.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootstrap-datepaginator/bootstrap-datepaginator.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/jquery-inputmask/jquery.inputmask.bundle.min.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/fancybox/source/jquery.fancybox.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/fine-uploader/jquery.fine-uploader.js" type="text/javascript"></script>
<script src="<?php echo $html_root; ?>/assets/plugins/bootbox/bootbox.min.js" type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN THEME GLOBAL SCRIPTS -->
<script src="<?php echo $html_root; ?>/assets/js/app.js" type="text/javascript"></script>
<!-- END THEME GLOBAL SCRIPTS -->
<!-- BEGIN THEME LAYOUT SCRIPTS -->
<script src="<?php echo $html_root; ?>/assets/js/layout.js" type="text/javascript"></script>
<!-- END THEME LAYOUT SCRIPTS -->
<script src="<?php echo $html_root; ?>/assets/js/general.js" type="text/javascript"></script>
<script type="text/javascript">
var url_mensajes = '<?php echo encode_link($html_root."/sistema/mensajes_datos", array("accion" => "mensajes_nuevos")); ?>';
$(window).load(function() {
if (typeof initCalendar == 'function') {
initCalendar();
}
});
</script>
<?php // var_dump($usuario); ?>
</body>
</html>