/
home2
/
reumatologia
/
public_html
/
Upload File
HOME
<?php include('inc_library.php'); $IdCategoria = intval($_REQUEST['IdCategoria']); $NotIdCategoria = intval($_REQUEST['NotIdCategoria']); $Page = intval($_REQUEST['Page']); $PageSize = 12; $oNoticias = new Noticias(); $oCategorias = new Categorias(); $oCategoria = $oCategorias->GetById($IdCategoria); if (!$oCategoria) $oCategoria = $oCategorias->GetById(217); $oPage = new Page($Page, $PageSize); $filter = array('IdCategoria' => $IdCategoria, 'NotIdCategoria' => $NotIdCategoria, 'NotIdCategoria2' => 220); $Paginado = Pageable::PrintPaginatorFront($oPage, $oNoticias->GetCountRows($filter), true); $arrData = $oNoticias->GetAll($filter, $oPage); ?> <!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"><?= $oCategoria->Nombre ?></li> </ul> </div> </div> <div class="row"> <div class="col-md-12"> <h1 class="font-weight-bold text-color-light"><?= $oCategoria->Nombre ?></h1> </div> </div> </div> </section> <section class="section"> <div class="container"> <?php if ($arrData) { ?> <div class="row masonry-loader masonry-loader-showing portfolio-list portfolio-list-style-2" data-plugin-masonry data-plugin-options="{'itemSelector': '.isotope-item'}"> <?php foreach ($arrData as $oNoticia) { ?> <div class="col-sm-4 isotope-item mb-5 p-0" style="<?= $oNoticia->Imagen ? 'height:340px' : 'height: 180px' ?>"> <div class="portfolio-item"> <article class="blog-post"> <span class="top-sub-title text-color-primary"><!-- <?= str_replace('-', '/', CambiarFecha($oNoticia->Fecha)) ?><?= $oNoticia->FechaHasta ? ' - ' .str_replace('-', '/', CambiarFecha($oNoticia->FechaHasta)) : '' ?> --><?= $oNoticia->Ubicacion ? ' - ' . $oNoticia->Ubicacion : '' ?></span> <?php if ($oNoticia->Imagen) { ?> <div class="image-frame hover-effect-2 mb-3"> <div class="image-frame-wrapper"> <a href="noticias_detalle.php?Page=<?= $Page ?>&IdNoticia=<?= $oNoticia->IdNoticia ?>"><img src="<?= Noticia::PathImageBig . $oNoticia->Imagen ?>" class="img-fluid" alt="<?= $oNoticia->Titulo ?>" /></a> </div> </div> <?php } ?> <h2 class="font-weight-bold text-4 mb-3" style="min-height: 42px"> <a href="noticias_detalle.php?Page=<?= $Page ?>&IdNoticia=<?= $oNoticia->IdNoticia ?>" class="link-color-dark"><?= $oNoticia->Titulo ?></a> </h2> <a href="noticias_detalle.php?Page=<?= $Page ?>&IdNoticia=<?= $oNoticia->IdNoticia ?>" 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> </article> </div> </div> <?php } ?> </div> <?php } ?> <hr class="mt-5 mb-4"> <div class="row align-items-center justify-content-between"> <div class="col-auto mb-3 mb-sm-0"> <!-- <span>Página 1-6 of 12 resultados</span> --> </div> <div class="col-auto"> <nav aria-label="Page navigation example"> <ul class="pagination mb-0"> <?= $Paginado ?> </ul> </nav> </div> </div> </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>