<?php 
include 'url_amigable.php';




$usuario11 = "almanoti_usuarios_rn";
$contra11 = "T96QG821J7ao";
$host11 = "localhost";
$basedatos11 = "almanoti_base";



$conn = new mysqli($host11, $usuario11, $contra11, $basedatos11);




if ($lang_actual == 'es' or $lang_actual == '')
{
include 'lang_es_no_panel.php';
};

 if ($lang_actual == 'pt')
{
include 'langes_pt_no_panel.php';
};

$ID = (int)$_GET['ID'];

$ID_NOTA = "$ID";

if ($ID == '') {exit;};


$link2 = $sql = "SELECT * FROM `noticias` WHERE `ID` = '$ID' LIMIT 1 ";

$consulta = $conn->query($sql);

while ($row = $consulta->fetch_assoc())
{

$ID = $row["ID"];
$ID_NOTA = $row["ID"];
$carpetafoto = $row["carpetafoto"];
$foto = $row["img"];
$ext_img = $row["ext_img"];
$cat_no = $row["cat"];
$titulo = $row["titulo"];
$texto = $row["texto"];
$texto = str_replace('<div','<span',$texto);
$texto = str_replace('</div>','</span>',$texto);
$texto = str_replace('<i class="fab fa-pinterest-p"></i>','',$texto);
$texto = str_replace('<i class="fas fa-music"></i>','',$texto);
$texto = str_replace('<i class="fas fa-share-alt"></i>','',$texto);
$texto = str_replace('<i class="fas fa-eye"></i>','',$texto);
$texto = str_replace('<i class="fas fa-lightbulb"></i>','',$texto);
$texto = str_replace('<i class="fab fa-facebook-f"></i>','',$texto);
$texto = str_replace('<i class="fab fa-twitter"></i>','',$texto);
$texto = str_replace('<i class="fab fa-whatsapp"></i>','',$texto);
$texto = str_replace('<i class="fas fa-expand-arrows-alt"></i>','',$texto);

$bajada = $row["bajada"];
$audio = $row["audio"];
$fecha = $row["fecha"];
$m = $row["m"];
$m2 = $row["m"];
$a = $row["a"];
$tag1 = $row["tag1"];
$tag2 = $row["tag2"];
$tag3 = $row["tag3"];
$tag4 = $row["tag4"];
$tag5 = $row["tag5"];
$youtube = $row["youtube"];
$visitas = $row["visitas"];
$html = $row["html"];
$ext_img = $row["ext_img"];
$ID_editor = $row["editor"];
$pie_foto = $row["pie_foto"];
$fuente_site = $row["site"];

$ejemplo_marca_de_agua = $row["ejemplo_marca_de_agua"];
}

$consulta->free_result();
include 'concha.php';

?>
<!DOCTYPE html>

<html lang="<?php echo $lang_actual ?>">

<head>
    <meta charset="utf-8">


<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

      <? $link_titulo = str_replace('http://', 'https://', $link_titulo); echo $link_titulo;?>
      <? $link_bajada = str_replace('http://', 'https://', $link_bajada); echo $link_bajada;?>
      <? $link_menu = str_replace('http://', 'https://', $link_menu); echo $link_menu;?>

<title><?php echo $titulo ?></title>
<?php $bajada1 = str_replace('"','',$bajada);  ?>
<meta name="description" content="<?php echo $bajada1 ?>" />
<meta name="keywords" content="<?php echo $tag1 ?>, <?php echo $tag2 ?>, <?php echo $tag3 ?>, <?php echo $tag4 ?>, <?php echo $tag5 ?>">
<meta name="language" content="<?php echo $lang_actual ?>" />

<link rel="canonical" href="<? echo "$dom/a-nota/$ID/".urls_amigables($titulo).""; ?>" />
<link rel="amphtml" href="<? echo "$dom/nota-amp/$ID/".urls_amigables($titulo).""; ?>"/>

<meta property="og:type" content="article" />
<meta property="og:title" content='<?php echo str_replace ('"','&#x22;',$titulo); ?>' />
<meta property="og:description" content="<?php echo $bajada1 ?>" />
<meta property="og:url" content="<?php echo $dom ?>/a-nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" />
<?php if ($foto == '') {?>
<meta property="og:image" content="https://x7.com.ar/gero/nofoto.png"  /> <? } else {?>
<meta property="og:image" content="<?php echo $foto ?>" /> <?php };?>

<meta name="date" content="<? echo  $a ?>-<? echo str_pad($m, 2, '0', STR_PAD_LEFT); ?>-<? echo str_pad($d, 2, '0', STR_PAD_LEFT); ?>" scheme="YYYY-MM-DD">



<?php

$catba = $_GET['cat'];

$i_publi = 10000000;

?>

<link rel="shortcut icon" href="<?php echo $dom ?>/icono.ico" type="image/x-icon" />
		<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="https://radioshosting.com/css/delalora<? echo $estiloweb ?>new.css" rel="stylesheet">

<link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css"/>

<link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">
<link rel="stylesheet" href="https://radioshosting.com/css/css/lightbox.min.css">
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
			  integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
			  crossorigin="anonymous"></script>
		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn t work if you view the page via file:// -->
		<!--[if lt IE 9]>
			<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
			<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->
<script>
                                                        (function(d, s, id) {
                                                        var js, fjs = d.getElementsByTagName(s)[0];
                                                        if (d.getElementById(id)) return;
                                                        js = d.createElement(s); js.id = id;
                                                        js.src = "//connect.facebook.net/es_LA/all.js#xfbml=1&appId=427523193949843";
                                                        fjs.parentNode.insertBefore(js, fjs);
                                                        }(document, 'script', 'facebook-jssdk'));
                                                    </script>

<!-- ADSENSE HEAD -->
<? echo $adsense_head ?>


        <style>
        body {
            <?php
                $e = substr("$d_color_fondo",0,1);
                $e1 = substr("$d_color_fondo",0,4);

                if ($e == '#') { ?>
                    background-color:<? echo $d_color_fondo ?>;
                    <?

                } else {
                    if ($e1 == 'http') { ?>

                        background-image:url(<? echo $d_color_fondo ?>);
                        background-repeat:repeat;


                        <? } else { ?>

                        background-image: url("https://recursos.radiosnethosting.com/fondos/<? echo $d_color_fondo ?>");
                        background-attachment: fixed;
                        -webkit-background-size: cover;
                        -moz-background-size: cover;
                        -o-background-size: cover;
                        background-size: cover;

                        <? } ?>
                <? } ?>

                overflow-x: hidden;
                margin: 0 auto;

        }


        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            margin-bottom: 10px;
            line-height: 1.1em;
            font-weight: 600;
            margin-top: 0;
            color: <?php echo $d_color_titulo?>;
            font-family: <?php echo $style_titulo ?>;
        }

        p {
            font-family: <?php echo $style_bajada ?>;
        }

        .h3,
        h3 {
            font-size: 1rem;
        }

        h1 a,
        h2 a,
        h3 a,
        h4 a,
        h5 a,
        h6 a {
            display: block;
            color: <?php echo $d_color_menu?>;
        }

        a:hover {

            color: <?php echo $d_color_menu_sobre?>;

        }

        a:link,
        a:visited,
        a:active,
        a:focus,
        a:before,
        a:after {
            outline: 0 none;
            text-decoration: none;
            color: <?php echo $d_color_menu?>;
        }





        .navbar-nav .dropdown-menu {
            position: absolute;
            background-color: <? echo $d_color_fondo_menu?>;
        }


        .dropdown:hover>ul {

            display: block !important;

        }

        .dropdown ul li a {

            color: <?php echo $d_color_menu?>;

        }


        .navbar-light .navbar-nav .nav-link:focus,
        .navbar-light .navbar-nav {
            color: <?php echo $d_color_menu ?>;

        }

        .nav-link:hover {
            color: <?php echo $d_color_menu_sobre ?>;

        }

        #logo {
            max-width: 3.2rem;
        }

        #logo:hover path {
            fill: <?php echo $d_color_menu ?>;

        }

        #logo:hover {

            color: <?php echo $d_color_menu_sobre ?>;

        }

        #logo2 {
            fill: <?php echo $d_color_weather2 ?>;
            max-width: 48px;
        }


        #logo3 {
            fill: <?php echo $d_color_weather2 ?>;
            max-width: 18px;
        }

        .color {
            color: <? echo $d_color_menu?>;
        }

        .btn-outline-primary.active,
        .btn-outline-primary:active,
        .show>.btn-outline-primary.dropdown-toggle {
            color: <?php echo $d_color_fondo_menu ?>;
            background-color: <?php echo $d_color_menu ?>;
            border: 3px solid <?php echo $d_color_fondo_menu ?>;
        }

        .btn-outline-primary:hover {
            color: <?php echo $d_color_fondo_menu ?>;
            background-color: <?php echo $d_color_menu ?>;
            border: 3px solid <?php echo $d_color_fondo_menu ?>;

        }

        .btn-outline-primary {
            color: <?php echo $d_color_menu ?>;
            background-color: <?php echo $d_color_fondo_menu ?>;
            border: 3px solid transparent;
        }

        footer p {
            margin-bottom: .25rem;
            color: <?php echo $d_color_menu ?>;
            font-weight: 300;
        }

        .facebook {
            display: block;
            float: right;
            background: <?php echo $d_color_menu ?>;
            margin-right: 37px !important;
        }

        .twitter {
            display: block;
            float: right;
            background: <?php echo $d_color_menu ?>;
        }

        .flickity-page-dots .dot {
            background: <?php echo $d_color_menu ?>;

        }

        .sidebar {
            will-change: min-height;
        }

        .sidebar__inner {
            transform: translate(0, 0);
            /* For browsers don't support translate3d. */
            transform: translate3d(0, 0, 0);
            will-change: position, transform;
        }

        .sidebar .widget .widget-title {
            font-size: 20px;
        }

        <? $hexa=substr($d_color_fondo_menu, 1);

        $decimal=hexdec($hexa);


        if ($decimal <='10066329') {
            $color_titulo_barra="250,250,250,0.9";
        }

        else {
            $color_titulo_barra="0,0,0,0.9";
        }

        ;

        ?>.widget-head {
            background-color: <? echo $d_color_fondo_menu?> !important;
        }

        .widget-title {
            font-size: 25px;
            font-weight: 900;
            line-height: 1;
            text-transform: uppercase;
            margin-bottom: 0;
            color: <?php echo $d_color_menu ?>;
            font-family: <?php echo $style_titulo ?>;
        }

        /* ---- grid ---- */



        .topbar {

            border-bottom: 0;

            background-color: <? echo $d_color_fondo_menu ?>;
            color: <? echo $d_color_menu ?>;
        }


        .header {
            min-height: 130px;
            display: flex;
            align-items: center;

            <?php if ($textura==NULL && $logo_g==NULL) {
                ?>background-color: <?php echo $d_color_fondo_cabecera ?>;

                <?
            }

            elseif($textura !=NULL) {
                ?>background-position: center center;
                background-size: cover;
                background-repeat: no-repeat;
                background-image: url(<?php $textura = str_replace("www.radiosnet.com.ar","recursos.radiosnethosting.com",$textura);
                echo $textura ?>);
                -moz-background-size: cover;
                -webkit-background-size: cover;

                <?php
            }

            else {
                ?>background-position: center center;
                background-size: cover;
                background-repeat: no-repeat;
                background-image: url(<?php echo $logo_g ?>);
                -moz-background-size: cover;
                -webkit-background-size: cover;

                <?
            }

            ?>clear: both;


        }


        .header-right {
            float: right;
        }

        .logo {
            max-width: 80%;

        }

        .bg-light {

            background-color: #fff !important;
        }

        article {
            background: transparent;
            /*border-radius: 3px;
                                        border: 1px solid #e4e4e4;*/
        }

        .colorTitulo {
            color: <?php echo $d_color_titulo ?>;
            font-weight: 800;
            letter-spacing: 1px;

        }



        .facebook {

            display: block;
            float: right;
            background-color: <?php echo $color_cat ?> !important;
            margin-right: 37px !important;
        }

        .twitter {

            display: block;
            float: right;
            background-color: <?php echo $color_cat ?> !important;
        }

        p.displaytitulo {
            height: 0;
            margin: 0;
            font-family: 'Montserrat', sans-serif !important;
            letter-spacing: 1px;
        }




        .carousel-caption {

            z-index: 10;
            padding: 4px 20px;
            /* padding-bottom: 20px;
                                position: absolute;
                            right: 0;
                            bottom: 0px;
                            left: 0;
                             */

            background-color: <? echo $d_color_fondo_menu ?>99;

        }

        .carousel-caption h2 {
            color: <? echo $d_color_menu ?> !important;
            font-weight: 700;
            margin: 0;

            font-size: 2.5vw;
        }



        .localidad {
            font-family: <?php echo $style_titulo ?>;
            color: <?php echo $d_color_weather2?>;
            line-height: 1;

        }





        /* destacadas slider */

        .titulo {
            display: none;
            position: absolute;
            bottom: 0;
            height: 100%;
            width: 100%;
            padding: 20px 15px;
            background-color: <?php echo $d_color_fondo_menu ?>;
            opacity: 0.7;
        }


        .cub3r-caption {
            /*display:none;*/
            position: absolute;
            bottom: 0;
            left: 0;
            background-color: <? echo $d_color_fondo_menu?>99;
            width: 100%;
            padding: 0.5rem 0.75rem;
        }

        .cub3r-caption-text {
            color: <? echo $d_color_menu?> !important;
        }

        .html-marquee {
            font-weight: 200;
            height: 40px !important;
            width: 100%;
            background-color: transparent !important;
            font-family: 'Montserrat', sans-serif !important;
            font-size: inherit !important;
            color: <? echo $d_color_menu ?> !important;
            letter-spacing: 0.5px;
        }

        marquee p {
            color: <? echo $d_color_menu ?> !important;
        }

        .texto-fecha {

            color: <? echo $d_color_menu?>;
        }

        .navbar-toggler-icon {
            color: <? echo $d_color_menu?>;
        }

        // Extra small devices (portrait phones, less than 576px)
        // No media query for `xs` since this is the default in Bootstrap

        // Small devices (landscape phones, 576px and up)
        @media (min-width: 576px) {

            .grido {
                column-count: 1;
            }
        }

        // Medium devices (tablets, 768px and up)
        @media (min-width: 768px) {

            .grido {
                column-count: 1;
            }
        }

        // Large devices (desktops, 992px and up)
        @media (min-width: 992px) {

            .grido {
                column-count: 1;
            }
        }

        // Extra large devices (large desktops, 1200px and up)
        @media (min-width: 1200px) {

            .grido {
                column-count: 1;
            }
        }

    </style>
	</head>


<body>


<!-- ESTO ES LA CABECERA EL HEAD -->

<?php if ($estiloweb == 72) { include 'menu_magazine.php'; }; ?>
<?php if ($estiloweb == 82) { include 'menu_magazine.php'; }; ?>


        <!-- ESTO ES EL CUERPO DE LA PAGINA, PEUDE ESTAR CONTENIDO O NO -->


            <div class="<?if ($opcion101 == 1) { echo 'container-fluid';} if ($opcion101 == 0) {echo 'container';}?> bg-light pt-3">

                <div id="main-content" class="row main">

                            <div id="content" class="col-12 col-sm-8 p-0 col-md-8 col-lg-8 content" >

                                <!-- ACA empieza -->



                                    <div class="col-lg-12 col-12 base-box2" style="display: flex; justify-content: space-between;">
                                        <?
                                        $Y = $a;
                                        $M = $m2;
                                        $D = $d;
                                        $date = "$Y$M$D";
                                        if ($M == '01') {$m = "enero";};
                                        if ($M == '02') {$m = "febrero";};
                                        if ($M == '03') {$m = "marzo";};
                                        if ($M == '04') {$m = "abril";};
                                        if ($M == '05') {$m = "mayo";};
                                        if ($M == '06') {$m = "junio";};
                                        if ($M == '07') {$m = "julio";};
                                        if ($M == '08') {$m = "agosto";};
                                        if ($M == '09') {$m = "septiembre";};
                                        if ($M == '10') {$m = "octubre";};
                                        if ($M == '11') {$m = "noviembre";};
                                        if ($M == '12') {$m = "diciembre";};
                                        ?>

                                        <?php if ($cat_no == 0) {} else {
                                        $sql2 = "SELECT * FROM categorias WHERE ID = '$cat_no'";
                                        $consulta2 = $conn->query($sql2);
                                        while ($row2 = $consulta2->fetch_assoc())
                                        {
                                        $cat_nom = $row2["nombre"];
                                        $color_cat = $row2["color"];
                                        }
                                        $consulta2->free_result();
                                        ?>

                                        <?
                                        if ($cat_nom != '' || $cat_nom != NULL){
                                        ?>
                                            <div style="background-color: <? if ($color_cat == '' or $color_cat == '#FFFFFF') { echo "#666666"; } else { echo $color_cat; }; ?>">
                                                <p class="m-0 py-1 px-2" style="font-family:<?php echo $style_titulo ?>;color:#FFFFFF;">
                                                <?php echo strtoupper($cat_nom); ?>
                                                </p>
                                            </div>
                                        <?
                                        } else {?>

                                            <div>
                                                <p class="m-0 py-1 px-2">
                                                <?php echo strtoupper($cat_nom); ?>
                                                </p>
                                            </div>

                                        <?}
                                        ?>



                                        <? };?>
                                        <div>
                                            <p class="m-0 py-1 px-2" style=";font-family:<?php echo $style_titulo ?>;font-size:14px;color:<?php echo $d_color_titulo?>;">
                                                <?php echo $fecha ?>
                                            </p>

                                        </div>

                                    </div>

                                    <div class="col-lg-12 col-12 base-box2 p-0 px-md-3">

                                        <div class="mb-3">

                                            <h2 class="col-12" style="font-family:<?php echo $style_titulo ?>;color:<?php echo $d_color_titulo?>;"><?php echo $titulo ?></h2>

                                        </div>

                                            <?php if ($foto == NULL) {} else {

                                                $file = "$dom/$carpetafoto/resize_$foto$ext_img";  // Dirección de la imagen
                                                $imagen = getimagesize($file);    //Sacamos la información
                                                $ancho = $imagen[0];              //Ancho
                                                $alto = $imagen[1];               //Alto
                                                ?>

                                                <div class="col-lg-12 col-12 p-0">


                                                                <div align="left">
                                                                    <img class="img-fluid" src="<?php echo $foto ?>"/>
                                                                </div>


                                                    <?php if ($pie_foto == '') { ?>

                                                    <p style="padding:0;
                                                    font-size: 13px;
                                                    line-height: 18px;
                                                    color: rgb(175, 174, 174);
                                                    font-family: Roboto, sans-serif;
                                                    font-weight: 700;
                                                    margin-left: 0px !important;
                                                    letter-spacing: 1px;
                                                    ">Fuente: <?php echo $fuente_site ?></p>

                                                        <?php }  else {?>

                                                    <p style="padding:0;
                                                    font-size: 13px;
                                                    line-height: 18px;
                                                    color: rgb(175, 174, 174);
                                                    font-family: Roboto, sans-serif;
                                                    font-weight: 700;
                                                    margin-left: 0px !important;
                                                    letter-spacing: 1px;
                                                    "><?php echo $pie_foto ?></p>

                                                        <?php };?>

                                                </div>

                                            <?php };?>







                                        <div class="col-lg-12 col-12 mb-3">

                                            <p style="font-family:<?php echo $style_bajada  ?>;"><i><?php echo $bajada ?></i></p>

                                        </div>




                                            <?php if ($youtube == NULL) {} else { ?>

                                            <div class="col-lg-12 col-12 mb-3">

                                                <div  style="position: relative; padding-bottom: 56.25%;">

                                                    <iframe style="position: absolute;width: 100%; height: 100%;" src="https://www.youtube.com/embed/<?php echo $youtube ?>" frameborder="0" allowfullscreen></iframe>

                                                </div>


                                            </div>

                                            <?php  }?>


                                            <div class="col-lg-12 col-12 mb-3">

                                                <!-- -->

                                                <div id="fb-root"></div>



                                                <!-- -->

                                                <div class="col-lg-12 col-12 p-0 mb-3 text-center d-flex justify-content-center">

                                                    <?php include 'rotativas_random_arriba.php';?>

                                                </div>

                                                <!-- -->

                                                <div class="col-lg-12 col-12 p-0">

                                                        <?php $texto = str_replace('<img', '<img class="img-fluid"',$texto); ?>

                                                        <?php /* convierte imagen de galeria de medios*/  $texto = str_replace('[img]', '<img class="img-fluid" src="../../timthumb.php?src=',$texto); ?>
                                                        <?php $texto = str_replace('[/img]', '&w=1000&q=80">',$texto); ?>

                                                        <?php /* convierte youtube de galeria de medios*/ $texto = str_replace('[youtube]', '<div  style="position: relative; padding-bottom: 56.25%;">  <iframe style="position: absolute;width: 100%; height: 100%;" src="https://www.youtube.com/embed/',$texto); ?>
                                                        <?php $texto = str_replace('[/youtube]', '" frameborder="0" allowfullscreen></iframe></div>',$texto); ?>


                                                        <?php /* convierte instagram de galeria de medios*/ $texto = str_replace('[ig]', '<div style="text-align:center"><iframe width="450" height="640" src="https://www.instagram.com/p/',$texto); ?>
                                                        <?php $texto = str_replace('[/ig]', '/embed/" frameborder="0"></iframe></div>',$texto); ?>




                                                        <?php if ($adsense == ' ') {} else { echo $banner_adsense; };?>

                                                        <p style="<?php echo $style_bajada ?>"><?php echo $texto ?></p >
                                                        <p>Fuente: <?php echo $fuente_site ?></p>

                                                        <?php if ($adsense == ' ') {} else { echo $banner_adsense; };?>

                                                </div>

                                                <!-- -->
                                                <?php if ($html == NULL) {} else { ?>
                                                <div style="position:relative;padding-bottom:56.25%;">

                                                    <?php echo $html?>

                                                </div>
                                                <?php  }?>


                                                <!-- -->



                                                <!-- -->



                                                <!-- -->

                                                <div class="col-lg-12 col-12 my-3 p-0">

                                                    <h4 style="font-family:<?php echo $style_titulo ?>;color:<?php echo $d_color_titulo?>;">Compartir</h4>

                                                    <ul class="navbar-nav flex-row ml-md-auto d-md-flex">

                                                        <li class="nav-item">
                                                            <a style="margin-left:10px;" target="_blank" href="https://www.facebook.com/sharer.php?u=<?php echo $dom ?>/a-nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>&t=<?php echo $titulo ?>">
                                                                <i class="fab fa-facebook" style="font-size:30px;color:#111111; " aria-hidden="true"></i>
                                                            </a>
                                                        </li>

                                                        <li class="nav-item">
                                                            <a style="margin-left:10px;" target="_blank" href="https://twitter.com/share?original_referer=<?php echo $dom ?>/a-nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo_xx) ?>&amp;source=tweetbutton&amp;text=<?php echo $titulo_xx; ?>&amp;url=<?php echo $dom ?>/a-nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo_xx) ?>">
                                                                <i class="fab fa-twitter" style="font-size:30px;color:#111111; " aria-hidden="true"></i>
                                                            </a>
                                                        </li>

                                                        <li class="nav-item">
                                                            <a style="margin-left:10px;" target="_blank" href="https://api.whatsapp.com/send?text=*<?php echo $titulo_xx ?>.*  <?php echo $dom ?>/a-nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo_xx);?>">
                                                                <i class="fab fa-whatsapp" style="font-size:30px;color:#111111; " aria-hidden="true"></i>
                                                            </a>
                                                        </li>
                                                    </ul>

                                                                                                    <!-- -->

                                                <div class="col-lg-12 col-12 p-0">
                                                    <style></style>
                                                    <div class="fb-like"
                                                    data-href="<?php echo $dom ?>/a-nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>"
                                                    data-layout="button_count"
                                                    data-action="like" data-size="large" data-show-faces="true" data-share="true"></div>

                                                </div>

                                                <!-- -->


                                                </div>

                                                <!-- -->


                                                <!-- -->

                                                <? if ($adsense == '') {} else {?>

                                                <div  class="col-12 col-lg-12">
                                                    <div style="padding-left:9px;height:90px;">
                                                        <!-- banner adsense -->
                                                        <? echo $banner_adsense ?>
                                                    </div>
                                                </div>

                                                <?};?>

                                                <!-- -->


                                            </div>

                                    </div>

                                <!-- ACA termina-->

                            </div>

                            <div id="sidebar" class="col-12 col-sm-4 col-md-4 p-0 col-lg-4 sidebar">

                                    <div class="sidebar__inner">

                                        <?  include 'propagandas_div.php'; ?>

                                    </div>
                            </div>

                </div>

            </div>

            <!-- esto es el footer -->
            <?php if ($estiloweb == 72) { include 'footer.magazine.php'; }; ?>
            <?php if ($estiloweb == 82) { include 'footer.magazine.php'; }; ?>

            <? include 'clix_footer.php';?>
		    <!-- termina el footer -->
		    <script>
    // Set the options to make LazyLoad self-initialize
    window.lazyLoadOptions = {
        elements_selector: ".lazy",
        // ... more custom settings?
    };
    // Listen to the initialization event and get the instance of LazyLoad
   // window.addEventListener('LazyLoad::Initialized', function (event) {
   //     window.lazyLoadInstance = event.detail.instance;
   // }, false);
</script>

            <!--script type="text/javascript" src="./js/rAF.js"></script>
            <script type="text/javascript" src="./js/ResizeSensor.js"></script>
            <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/sticky-sidebar@3.3.1/dist/sticky-sidebar.js"></script>

<script type="text/javascript">

    var sidebar = new StickySidebar('#sidebar', {
        containerSelector: '#main-content',
        innerWrapperSelector: '.sidebar__inner',
        topSpacing: 60,
        bottomSpacing: 20,
        minWidth: 768
    });
</script-->


            <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
            <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
            <script src="https://radioshosting.com/css/js/lightbox-plus-jquery.min.js"></script>
            <script src="../../js/jquery.fittext.js"></script>

            <script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.js"></script>
            <script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>

            <script type="text/javascript">
            window.setInterval(function(){
            /*$('.grid').isotope({
            itemSelector: '.grid-item'
            });
            }, 2000);*/});
            </script>
            <script type="text/javascript">
            window.setInterval(function(){
            $('.grid2').isotope({
            itemSelector: '.grid-item2'
            });
            }, 2000);

            </script>
            <script language=javascript>
            function ventanaSecundaria56 (URL){
            window.open(URL,"ventana1","width=960,height=630,scrollbars=NO")
            }
            </script>



            <script>



$(function(){

    let buttonsOnParraph = document.querySelectorAll('p a');
    // console.log(buttonsOnParraph);
    buttonsOnParraph.forEach((element) => {
        element.classList.add('btn-link');
    });

    var a = $(".carousel-captionh1").fitText(1.2, { minFontSize: '14px', maxFontSize: '18px' });
        $(".colorTitulo").fitText(1.2, { minFontSize: '14px', maxFontSize: '24px' });
        $(".carousel-caption h2").fitText(1.2, { minFontSize: '14px', maxFontSize: '30px' });
        $(".tituloVideo").fitText(1.2, { minFontSize: '14px', maxFontSize: '30px' });
        $(".tarso").fitText(1.2, { minFontSize: '20px', maxFontSize: '50px' });
        $(".tarso2").fitText(1.2, { minFontSize: '5px', maxFontSize: '11px' });




jQuery('img.svg').each(function(){
   var $img = jQuery(this);
   var imgID = $img.attr('id');
   var imgClass = $img.attr('class');
   var imgURL = $img.attr('src');
   //console.log('lalasl', imgURL);
   jQuery.get(imgURL, function(data) {

       // Get the SVG tag, ignore the rest
       var $svg = jQuery(data).find('svg');

       // Add replaced image's ID to the new SVG
       if(typeof imgID !== 'undefined') {
           $svg = $svg.attr('id', imgID);
       }
       // Add replaced image's classes to the new SVG
       if(typeof imgClass !== 'undefined') {
           $svg = $svg.attr('class', imgClass+' replaced-svg');
       }

       // Remove any invalid XML tags as per http://validator.w3.org
       $svg = $svg.removeAttr('xmlns:a');

       // Check if the viewport is set, else we gonna set it if we can.
       /*if(!$svg.attr('viewBox') && $svg.attr('height') && $svg.attr('width')) {
           $svg.attr('viewBox', '0 0 ' + $svg.attr('height') + ' ' + $svg.attr('width'))
       }*/

       // Replace image with new SVG
       $img.replaceWith($svg);

   }, 'xml');

});
});
            </script>

</body>
</html>
