/
home2
/
reumatologia
/
public_html
/
Upload File
HOME
<?php require_once('inc_library.php'); $oEventos = new Eventos(); $oNoticias = new Noticias(); $arrEventosHome = $oEventos->GetAllHome(); $arrNoticiasSAR = $oNoticias->GetAll(array('IdCategoria' => 218), new Page(0, 4)); $arrNoticias = $oNoticias->GetAll(array('NotIdCategoria' => 218, 'NotIdCategoria2' => 220), new Page(0, 4)); $arrDestacados = $oNoticias->GetAll(array('NotIdCategoria' => 218, 'Destacado' => '1', 'NotIdCategoria2' => 220), new Page(0, 1)); if ($arrDestacados) $oLastNoticia = $arrDestacados[0]; else $oLastNoticia = $arrNoticias[0]; ?> <!DOCTYPE html> <html lang="zxx" class="shop"> <?php include('ssi_head.php'); ?> <body> <div class="body"> <?php include('ssi_header.php'); ?> <div role="main" class="main"> <?php include('ssi_slider.php'); ?> <!-- NOTICIA DESTACADA --> <section class="section"> <div class="container"> <div class="overflow-hidden"> <h3 class="font-weight-bold appear-animation" data-appear-animation="maskUp" data-appear-animation-delay="200"><i class="lnr lnr-calendar-full text-5"></i> Noticia destacada</h3> </div> <hr class="mb-4"> <div class="row justify-content-center"> <div class="col-sm-6 order-5 p-sm-0"> <a href="noticias_detalle.php?IdNoticia=<?= $oLastNoticia->IdNoticia ?>"> <div class="image-frame hover-effect-2 h-100"> <div class="image-frame-wrapper min-height-285 h-100"> <div class="image-frame-background" data-plugin-image-background data-plugin-options="{'imageUrl': '<?= Noticia::PathImageBig . $oLastNoticia->Imagen ?>'}"></div> </div> </div> </a> </div> <div class="col-sm-6 order-6 p-sm-0"> <div class="card bg-light-5 border-0 justify-content-center h-100"> <div class="card-body card-body-flex-0 p-5"> <!-- <span class="d-block top-sub-title text-color-primary mb-2"><?= str_replace('-', '/', CambiarFecha($oLastNoticia->Fecha)) ?></span> --> <h2 class="text-color-dark font-weight-semibold line-height-3 text-6 mb-1"> <a href="noticias_detalle.php?IdNoticia=<?= $oLastNoticia->IdNoticia ?>" class="link-color-dark d-block"><?= $oLastNoticia->Titulo ?></a> </h2> <p class="mb-2"><?= $oLastNoticia->Copete ?></p> <button type="button" class="btn btn-rounded btn-primary mb-2" onclick="window.location.href='noticias_detalle.php?IdNoticia=<?= $oLastNoticia->IdNoticia ?>'">ver más</button> </div> </div> </div> </div> </div> </section> <?php include('ssi_home.php'); ?> <?php include('ssi_publicaciones2.php'); ?> <?php include('ssi_banners_home.php'); ?> <section class="section pt-4 pb-5 mt-2"> <div class="container"> <div id="eventbrite-widget-container-152995737369"></div> </div> </div> <!-- <?php if ($arrEventosHome) { ?> <section class="section"> <div class="container"> <div class="row text-center pb-2 mb-4"> <div class="col"> <div class="overflow-hidden"> <span class="top-sub-title text-color-primary d-block appear-animation" data-appear-animation="maskUp">PRÓXIMOS</span> </div> <div class="overflow-hidden"> <h2 class="font-weight-bold appear-animation" data-appear-animation="maskUp" data-appear-animation-delay="200">Eventos</h2> </div> </div> </div> <div class="row"> <div class="col"> <div class="owl-carousel owl-theme dots-style-1 nav-style-3 appear-animation" data-plugin-options="{'responsive': {'0': {'items': 1}, '576': {'items': 1}, '768': {'items': 3}, '979': {'items': 4}, '1199': {'items': 4}}, 'dots': true, 'nav': false, 'loop': false, 'navtext': [], 'margin': 30}" data-appear-animation="fadeInUpShorter" data-appear-animation-delay="300"> <?php foreach ($arrEventosHome as $oEvento) { ?> <div> <div class=" mb-4"> <div class="image-frame image-frame-style-1 image-frame-effect-1 mb-4"> <span class="image-frame-wrapper"> <img src="<?= Evento::PathImageBig . $oEvento->Imagen ?>" class="img-fluid" alt="<?= $oEvento->Titulo ?>"> <span class="image-frame-inner-border"></span> <span class="image-frame-action image-frame-action-effect-1 image-frame-action-sm"> <a href="eventos_detalle.php?IdEvento=<?= $oEvento->IdEvento ?>"> <span class="image-frame-action-icon"> <i class="lnr lnr-link text-color-light"></i> </span> </a> </span> </span> </div><span class="top-sub-title text-color-primary"><?= str_replace('-', '/', CambiarFecha($oEvento->Fecha)) ?><?= $oEvento->FechaHasta ? ' - ' .str_replace('-', '/', CambiarFecha($oEvento->FechaHasta)) : '' ?></span> <a href="eventos_detalle.php?IdEvento=<?= $oEvento->IdEvento ?>"><h3 class="font-weight-bold text-4 mb-0"><?= $oEvento->Titulo ?></h3></a> <span class="text-1"><?= $oEvento->Ubicacion ?></span> </div> </div> <?php } ?> </div> </div> </div> </div> </section> <?php } if ($arrNoticiasSAR) { ?> <section class="section bg-light-5" style="background: #deebff !important"> <div class="container"> <div class="row text-center pb-2 mb-4"> <div class="col"> <div class="overflow-hidden"> <h2 class="font-weight-bold appear-animation" data-appear-animation="maskUp" data-appear-animation-delay="200">NotiSAR</h2> </div> </div> </div> <div class="row"> <div class="col"> <div class="owl-carousel owl-theme dots-style-1 nav-style-3 appear-animation" data-plugin-options="{'responsive': {'0': {'items': 1}, '576': {'items': 1}, '768': {'items': 3}, '979': {'items': 4}, '1199': {'items': 4}}, 'dots': true, 'nav': false, 'loop': false, 'navtext': [], 'margin': 30}" data-appear-animation="fadeInUpShorter" data-appear-animation-delay="300"> <?php foreach ($arrNoticiasSAR as $oNoticiaSAR) { ?> <div> <div class=" mb-4"> <div class="image-frame image-frame-style-1 image-frame-effect-1 mb-4"> <span class="image-frame-wrapper"> <img src="<?= Noticia::PathImageBig . $oNoticiaSAR->Imagen ?>" class="img-fluid" alt="<?= $oNoticiaSAR->Titulo ?>"> <span class="image-frame-inner-border"></span> <span class="image-frame-action image-frame-action-effect-1 image-frame-action-sm"> <a href="noticias_detalle.php?IdNoticia=<?= $oNoticiaSAR->IdNoticia ?>"> <span class="image-frame-action-icon"> <i class="lnr lnr-link text-color-light"></i> </span> </a> </span> </span> </div><span class="top-sub-title text-color-primary"><?= str_replace('-', '/', CambiarFecha($oNoticiaSAR->Fecha)) ?></span> <a href="noticias_detalle.php?IdNoticia=<?= $oNoticiaSAR->IdNoticia ?>"><h3 class="font-weight-bold text-4 mb-0"><?= $oNoticiaSAR->Titulo ?></h3></a> </div> </div> <?php } ?> </div> </div> </div> </div> </section> --> <?php } ?> <?php include('ssi_beca_unter.php'); ?> <?php include('ssi_para_profesionales.php'); ?> <?php include('ssi_banner_pacientes.php'); ?> <?php include('ssi_sponsors.php'); ?> </div> <?php include('ssi_footer.php'); ?> </div> <?php include('ssi_script.php'); ?> <script src="https://www.eventbrite.com.ar/static/widgets/eb_widgets.js"></script> <script type="text/javascript"> var exampleCallback = function() { console.log('Order complete!'); }; window.EBWidgets.createWidget({ // Required widgetType: 'checkout', eventId: '152995737369', iframeContainerId: 'eventbrite-widget-container-152995737369', // Optional iframeContainerHeight: 425, // Widget height in pixels. Defaults to a minimum of 425px if not provided onOrderComplete: exampleCallback // Method called when an order has successfully completed }); </script> <!-- <script type="text/javascript"> $(document).ready(function() { $.magnificPopup.open({ items: { src: $('<a style="margin: 0 auto;display: block; max-width: 500px; width: 100%" href="https://www.reumatologia.org.ar/noticias_detalle.php?Page=0&IdNoticia=1539" target="_blank"><img style="max-width: 500px; width: 100%" src="img/popup/comunicado.jpg" /></a>'), }, type: 'inline' // You may add options here, they're exactly the same as for $.fn.magnificPopup call // Note that some settings that rely on click event (like disableOn or midClick) will not work here }, 0); }) </script> <script type="text/javascript"> $(document).ready(function() { $.magnificPopup.open({ items: { src: $('<a style="margin: 0 auto;display: block; max-width: 500px; width: 100%" href="https://sar2020.com.ar/inscripciones/" target="_blank"></a>'), }, type: 'inline' // You may add options here, they're exactly the same as for $.fn.magnificPopup call // Note that some settings that rely on click event (like disableOn or midClick) will not work here }, 0); }) </script> <script type="text/javascript"> $(document).ready(function() { $.magnificPopup.open({ items: { src: 'https://www.youtube.com/watch?v=8Vgz9ibEvZI' }, type: 'iframe', iframe: { markup: '<div class="mfp-iframe-scaler">'+ '<div class="mfp-close"></div>'+ '<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>'+ '</div>', patterns: { youtube: { index: 'youtube.com/', id: 'v=', src: '//www.youtube.com/embed/%id%?autoplay=1' } }, srcAction: 'iframe_src', } }, 0); }) </script> --!> </body> </html>