$sesion = new Sesion(); $modulo = new Tickets(); if ($sesion->sesion_iniciada() == false) { header('location:../login.php'); } $maximo_transferencia = $configuracion->maximo_transferencia; $pertenece = $sesion->getEstacion_pertenece(); if (!$pertenece) { die("<script>alert('Éste usuario no posee estación asociada!');</script>"); } $estacionInfo = $modulo->getEstacion($pertenece); $transferir = $estacionInfo[0]["transferir_id"]; $padre = $estacionInfo[0]["id_padre"]; $prioridad = $estacionInfo[0]["prioridad"]; $transf_estacion = ""; $estaciones = $modulo->getEstaciones($pertenece); foreach ($estaciones as $k => $v) { if ($transferir == $v["id"]) { $transf_estacion = $v["nombre"]; } } $estacionPertenece = $modulo->getEstacionPertenece($pertenece); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Llamar Paciente</title> <script src="../js/jquery.min.js"></script> <!-- Bootstrap --> <link rel="stylesheet" href="../css/bootstrap.min.css">
<?php include_once '../modelos/tickets.php'; include_once '../clases/Sesion.php'; $sesion = new Sesion(); if ($sesion->sesion_iniciada() == false) { header('location:../login.php'); } $tipo = $sesion->getTipo_usuario(); $vip = $sesion->getVip(); $ticket = new Tickets(); $estaciones = $ticket->getEstaciones(0); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Generar Tickets</title> <script src="../js/jquery.min.js"></script> <!-- Bootstrap --> <link rel="stylesheet" href="../css/bootstrap.min.css"> <link rel="stylesheet" href="../css/bootstrap-theme.min.css"> <link rel="stylesheet" href="../css/vistas.css"> <link rel="stylesheet" href="../css/bootstrap.switch.css"> <script src="../js/bootstrap.min.js"></script> <script src="../js/bootstrap.switch.js"></script> <script src="../js/generar_ticket.js?r=<?php echo date('d-m-Y H:i:s'); ?> "></script> <style>