/
home2
/
reumatologia
/
public_html
/
Upload File
HOME
<?php include('inc_library.php'); $query = trim(strval($_REQUEST['query'])); $oEventos = new Eventos(); $oNoticias = new Noticias(); $oEnfermedades = new Enfermedades(); $oAsociaciones = new Asociaciones(); $oFiliales = new Filiales(); $oCategorias = new Categorias(); $oProvincias = new Provincias(); $oLocalidades = new Localidades(); $oEducaciones = new Educaciones(); $oArchivos = new Archivos(); $oGuias = new Guias(); $oRegistros = new Registros(); $oSecciones = new Secciones(); $oSubsecciones = new Subsecciones(); $oContenidos = new Contenidos(); $arrEventos = $oEventos->GetAll(array('query' => $query), null, 'c.Nombre', 'ASC'); $arrNoticias = $oNoticias->GetAll(array('Libre' => $query, 'NotIdCategoria' => 220), null, true); $arrEnfermedades = $oEnfermedades->GetAll(array('query' => $query)); $arrAsociaciones = $oAsociaciones->GetAll(array('query' => $query)); $arrFiliales = $oFiliales->GetAll(array('query' => $query, 'IdEstado' => FilialesEstados::Activo)); $arrEducaciones = $oEducaciones->GetAll(array('query' => $query, 'Disponible' => 1)); $arrArchivos = $oArchivos->GetAll(array('query' => $query, 'IdEstado' => Estados::Activo)); $arrGuias = $oGuias->GetAll(array('query' => $query, 'Disponible' => 1)); $arrRegistros = $oRegistros->GetAll(array('query' => $query, 'Disponible' => 1)); $arrContenidos = $oContenidos->GetAll(array('query' => $query, 'Disponible' => 1)); ?> <!DOCTYPE html> <html lang="zxx"> <?php include('ssi_head.php'); ?> <body> <div class="body"> <?php include('ssi_header.php'); ?> <div role="main" class="main"> <section class="page-header parallax overlay overlay-color-dark overlay-show overlay-op-8 appear-animation" data-appear-animation="fadeIn" data-plugin-parallax data-plugin-options="{'speed': 1.5, 'parallaxHeight': '120%', 'offset': 60}" data-image-src="img/backgrounds/congresos_argentinos.jpg"> <div class="container py-5 my-4"> <div class="row"> <div class="col-md-12"> <ul class="breadcrumb"> <li><a href="home.php">Home</a></li> <li class="active">Buscar <i>"<?= trim($query) ?>"</i></li> </ul> </div> </div> <div class="row"> <div class="col-md-12"> <h1 class="font-weight-bold text-color-light">Buscar <i style="font-size: 1.6rem">"<?= trim($query) ?>"</i></h1> </div> </div> </div> </section> <section class="section"> <div class="container"> <?php if (!$arrEventos && !$arrNoticias && !$arrEnfermedades && !$arrAsociaciones && !$arrFiliales && !$arrEducaciones && !$arrArchivos && !$arrGuias && !$arrRegistros && !$arrContenidos) { ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;">No se han encontrado resultados</h3> </div> </div> </div> <?php } else { if ($arrEventos) { ?> <?php $IdCategoria = null; foreach ($arrEventos as $oEvento) { if ($IdCategoria != $oEvento->IdCategoria) { if ($IdCategoria != null) { ?> </div> </div> <?php } $oCategoria = $oCategorias->GetById($oEvento->IdCategoria); ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-calendar-full text-5"></i> <?= utf8_encode($oCategoria->Nombre) ?></h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php $IdCategoria = $oEvento->IdCategoria; } ?> <article class="row align-items-left mb-3"> <?php if ($oEvento->Imagen != '') { ?> <div class="col-2 pr-0"> <a href="eventos_detalle.php?IdEvento=<?= $oEvento->IdEvento ?>"> <img src="<?= Evento::PathImageBig . $oEvento->Imagen ?>" class="img-fluid hover-effect-2" alt=""> </a> </div> <?php } ?> <div class="<?= $oEvento->Imagen != '' ? 'col-10' : 'col-12' ?>"> <span class="text-color-primary"><?= str_replace('-', '/', CambiarFecha($oEvento->Fecha)) ?><?= $oEvento->FechaHasta ? ' - ' .str_replace('-', '/', CambiarFecha($oEvento->FechaHasta)) : '' ?></span> <h4 class="text-2 mb-0"> <a href="eventos_detalle.php?IdEvento=<?= $oEvento->IdEvento ?>" class="text-3 link-color-dark font-weight-bold"><?= $oEvento->Titulo ?></a> </h4> </div> </article> <hr> <?php } ?> </div> </div> <?php } ?> <?php if ($arrNoticias) { ?> <?php $IdCategoria = null; foreach ($arrNoticias as $oNoticia) { if ($IdCategoria != $oNoticia->IdCategoria) { if ($IdCategoria != null) { ?> </div> </div> <?php } $oCategoria = $oCategorias->GetById($oNoticia->IdCategoria); ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-indent-increase text-5"></i> <?= utf8_encode($oCategoria->Nombre) ?></h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php $IdCategoria = $oNoticia->IdCategoria; } ?> <article class="row align-items-left mb-3"> <?php if ($oNoticia->Imagen != '') { ?> <div class="col-2 pr-0"> <a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>"> <img src="<?= Noticia::PathImageBig . $oNoticia->Imagen ?>" class="img-fluid hover-effect-2" alt=""> </a> </div> <?php } ?> <div class="col-10"> <span class="text-color-primary"><?= str_replace('-', '/', CambiarFecha($oNoticia->Fecha)) ?></span> <h4 class="text-2 mb-0"> <a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>" class="text-3 link-color-dark font-weight-bold"><?= $oNoticia->Titulo ?></a> </h4> </div> </article> <hr> <?php } ?> </div> </div> <?php } ?> <?php if ($arrArchivos) { ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-file-empty text-5"></i> Descargas</h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php foreach ($arrArchivos as $oArchivo) { $oCategoria = $oCategorias->GetById($oArchivo->IdCategoria); ?> <article class="row align-items-left mb-3"> <div class="col-12"> <h4 class="text-2 mb-0"> <a href="<?= Archivo::PathFile . $oArchivo->Archivo ?>" target="_blank" class="text-3 link-color-dark font-weight-bold"><?= str_replace('-', '/', CambiarFecha($oArchivo->Fecha)) ?> | <?= $oCategoria->Nombre ?> - <?= $oArchivo->Nombre ?></a> </h4> </div> </article> <hr> <?php } ?> </div> </div> <?php } ?> <?php if ($arrGuias) { ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-magnifier text-5"></i> Guías</h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php foreach ($arrGuias as $oGuia) { $oEnfermedad = $oEnfermedades->GetById($oGuia->IdEnfermedad); ?> <article class="row align-items-left mb-3"> <div class="col-12"> <h4 class="text-2 mb-0"> <a href="<?= Guia::PathFile . $oGuia->Archivo ?>" target="_blank" class="text-3 link-color-dark"><?= str_replace('-', '/', CambiarFecha($oGuia->Fecha)) ?> | <span class=" font-weight-bold"><?= $oEnfermedad->Nombre ?> - <?= $oGuia->Nombre ?></span></a> </h4> </div> </article> <hr> <?php } ?> </div> </div> <?php } ?> <?php if ($arrRegistros) { ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-magnifier text-5"></i> Registros</h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php foreach ($arrRegistros as $oRegistro) { $oCategoria = $oCategorias->GetById($oRegistro->IdCategoria); $link = 'unisar/registros_detalle.php?IdRegistro=' . $oRegistro->IdRegistro; if (!$oRegistro->Cuerpo && $oRegistro->Archivo) { $link = Registro::PathFile . $oRegistro->Archivo . '" target="_blank'; } else { if ($oRegistro->Link) { $link = $oRegistro->Link . '" target="_blank'; } } ?> <article class="row align-items-left mb-3"> <div class="col-12"> <h4 class="text-2 mb-0"> <a href="<?= $link ?>"><?= str_replace('-', '/', CambiarFecha($oRegistro->Fecha)) ?> | <span><b><?= $oCategoria->Nombre ?> - <?= ($oRegistro->Titulo) ?></b></span></a> </h4> </div> </article> <hr> <?php } ?> </div> </div> <?php } ?> <?php if ($arrContenidos) { ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-magnifier text-5"></i> Contenidos</h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php foreach ($arrContenidos as $oContenido) { $oSeccion = $oSecciones->GetById($oContenido->IdSeccion); $link = '#'; if (!$oContenido->Cuerpo && $oContenido->Archivo) { $link = Conteido::PathFile . $oContenido->Archivo . '" target="_blank"'; } ?> <article class="row align-items-left mb-3"> <div class="col-12"> <h4 class="text-2 mb-0"> <a href="<?= $link ?>" <?= $link == '#'? 'onclick="return false;"' : '' ?>><?= $oSeccion->Nombre ?> | <span><b><?= ($oContenido->Titulo) ?></b></span></a> <?php if ($link == '#') { ?> <p><?= $oContenido->Cuerpo ?></p> <?php } ?> </h4> </div> </article> <hr> <?php } ?> </div> </div> <?php } ?> <?php if ($arrAsociaciones) { ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-users text-5"></i> Asociación y grupos de Pacientes</h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php foreach ($arrAsociaciones as $oAsociacion) { $oProvincia = $oProvincias->GetById($oAsociacion->IdProvincia); $oLocalidad = $oLocalidades->GetById($oAsociacion->IdLocalidad); ?> <article class="row align-items-left mb-3"> <?php if ($oAsociacion->Imagen != '') { ?> <div class="col-2 pr-0"> <a href="asociacion_y_grupos_de_pacientes.php"> <img src="<?= Evento::PathImageBig . $oAsociacion->Imagen ?>" class="img-fluid hover-effect-2" alt=""> </a> </div> <?php } ?> <div class="<?= $oAsociacion->Imagen != '' ? 'col-10' : 'col-12' ?>"> <h4 class="text-2 mb-0"> <a href="asociacion_y_grupos_de_pacientes.php" class="text-3 link-color-dark font-weight-bold"><?= $oAsociacion->Nombre ?></a> </h4> <dl class="list"> <?php if ($oAsociacion->Direccion) { ?> <dd><strong>Dirección:</strong> <?= $oAsociacion->Direccion ?></dd> <?php } if ($oProvincia) { ?> <dd><strong>Provincia:</strong> <?= utf8_encode($oProvincia->Nombre) ?></dd> <?php } if ($oLocalidad) { ?> <dd><strong>Localidad:</strong> <?= utf8_encode($oLocalidad->Nombre) ?></dd> <?php } if ($oAsociacion->Telefono) { ?> <dd><strong>Teléfono:</strong> <a href="tel:<?= ($oAsociacion->Telefono) ?>"><?= ($oAsociacion->Telefono) ?></a></dd> <?php } if ($oAsociacion->Email) { ?> <dd><strong>Email:</strong> <a href="mailto:<?= ($oAsociacion->Email) ?>"><?= ($oAsociacion->Email) ?></a></dd> <?php } if ($oAsociacion->Web) { ?> <dd><strong>Sitio Web:</strong> <a href="http://<?= ($oAsociacion->Web) ?>">http://<?= ($oAsociacion->Web) ?></a></dd> <?php } if ($oAsociacion->Facebook) { ?> <dd><strong>Facebook:</strong> <?= ($oAsociacion->Facebook) ?></dd> <?php } if ($oAsociacion->Contacto) { ?> <dd><strong>Contacto:</strong> <?= ($oAsociacion->Contacto) ?></dd> <?php } if ($oAsociacion->Descripcion) { ?> <dd><strong>Descripción:</strong> <?= ($oAsociacion->Descripcion) ?></dd> <?php } ?> </dl> </div> </article> <hr> <?php } ?> </div> </div> <?php } ?> <?php if ($arrEducaciones) { ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-magnifier text-5"></i> Educación a distancia</h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php foreach ($arrEducaciones as $oEducacion) { ?> <article class="row align-items-left mb-3"> <div class="col-3 pr-0"> <iframe width="100%" height="150" src="https://www.youtube.com/embed/<?= GetIdVideoYouTube($oEducacion->Video) ?>" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> <div class="col-9"> <h4 class="text-2 mb-0 text-3 link-color-dark font-weight-bold"><?= $oEducacion->Titulo ?></h4> <dl class="list"> <dd>Encuentro con: <?= $oEducacion->Encuentro ?></dd> <dd>Fecha y hora:</b> <?= FechaLetras($oEducacion->Fecha) ?>, <?= $oEducacion->Hora ?></dd> <dd>Organiza: <?= str_replace('</p>', '', str_replace('<p>', '', $oEducacion->Organizador)) ?></dd> </dl> </div> </article> <hr> <?php } ?> </div> </div> <?php } ?> <?php if ($arrEnfermedades) { ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-magnifier text-5"></i> Enfermedades Reumáticas</h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php foreach ($arrEnfermedades as $oEnfermedad) { ?> <article class="row align-items-left mb-3"> <div class="col-2 pr-0"> <a href="enfermedades_reumaticas_detalle.php?IdEnfermedad=<?= $oEnfermedad->IdEnfermedad ?>"> <img src="<?= Evento::PathImageBig . $oEnfermedad->Imagen ?>" class="img-fluid hover-effect-2" alt=""> </a> </div> <div class="col-10"> <h4 class="text-2 mb-0"> <a href="enfermedades_reumaticas_detalle.php?IdEnfermedad=<?= $oEnfermedad->IdEnfermedad ?>" class="text-3 link-color-dark font-weight-bold"><?= $oEnfermedad->Nombre ?></a> </h4> <dl class="list"> <dd><?= substr(strip_tags($oEnfermedad->Descripcion), 0, 500) ?>...</dd> <!-- <dd><a href="enfermedades_reumaticas_detalle.php?Page=<?= $Page ?>&IdEnfermedad=<?= $oEnfermedad->IdEnfermedad ?>" class="text-color-primary font-weight-bold learn-more">Leer más <i class="fas fa-angle-right text-3" aria-label="Leer más"></i></a></dd> --> </dl> </div> </article> <hr> <?php } ?> </div> </div> <?php } ?> <?php if ($arrFiliales) { ?> <div class="row text-left pb-2 mb-4 mt-5"> <div class="col"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation animated maskUp appear-animation-visible" data-appear-animation="maskUp" data-appear-animation-delay="200" style="animation-delay: 200ms;"><i class="lnr lnr-apartment text-5"></i> Filiales</h3> </div> </div> </div> <div class="row text-left"> <div class="col"> <?php foreach ($arrFiliales as $oFilial) { $oProvincia = $oProvincias->GetById($oFilial->IdProvincia); $oLocalidad = $oLocalidades->GetById($oFilial->IdLocalidad); ?> <article class="row align-items-left mb-3"> <div class="<?= $oAsociacion->Imagen != '' ? 'col-10' : 'col-12' ?>"> <h4 class="text-2 mb-0"> <a href="asociacion_y_grupos_de_pacientes.php" class="text-3 link-color-dark font-weight-bold"><?= $oFilial->Nombre ?></a> </h4> <dl class="list"> <?php if ($oProvincia) { ?> <dd><strong>Provincia:</strong> <?= utf8_encode($oProvincia->Nombre) ?></dd> <?php } if ($oLocalidad) { ?> <dd><strong>Localidad:</strong> <?= utf8_encode($oLocalidad->Nombre) ?></dd> <?php } if ($oFilial->Direccion) { ?> <dd><strong>Dirección:</strong> <?= $oFilial->Direccion ?></dd> <?php } if ($oFilial->Email) { ?> <dd><strong>Email:</strong> <a href="mailto:<?= ($oFilial->Email) ?>"><?= ($oFilial->Email) ?></a></dd> <?php } if ($oFilial->Email2) { ?> <dd><strong>Email:</strong> <a href="mailto:<?= ($oFilial->Email2) ?>"><?= ($oFilial->Email2) ?></a></dd> <?php } if ($oFilial->Email3) { ?> <dd><strong>Email:</strong> <a href="mailto:<?= ($oFilial->Email3) ?>"><?= ($oFilial->Email3) ?></a></dd> <?php } if ($oFilial->Email4) { ?> <dd><strong>Email:</strong> <a href="mailto:<?= ($oFilial->Email4) ?>"><?= ($oFilial->Email4) ?></a></dd> <?php } if ($oFilial->SitioWeb) { ?> <dd><strong>Sitio Web:</strong> <a href="http://<?= ($oFilial->SitioWeb) ?>">http://<?= ($oFilial->SitioWeb) ?></a></dd> <?php } if ($oFilial->Telefono) { ?> <dd><strong>Teléfono:</strong> <a href="tel:<?= ($oFilial->Telefono) ?>"><?= ($oFilial->Telefono) ?></a></dd> <?php } ?> </dl> </div> </article> <hr> <?php } ?> </div> </div> <?php } } ?> </div> </section> <?php include('ssi_sponsors.php'); ?> </div> <?php include('ssi_footer.php'); ?> </div> <?php include('ssi_script.php'); ?> <form name="frmData" id="frmData" method="post"> <input type="hidden" name="Page" id="Page" value="<?=$Page?>" /> </form> <script type="text/javascript"> function SetPage(Page) { var frmData = document.getElementById('frmData'); if (frmData == undefined) return false; frmData.Page.value = Page; frmData.submit(); } </script> </body> </html>