<?php include 'url_amigable.php'; include 'concha.php';


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

$ID_NOTA = "$ID";

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


mysql_connect ("$host", "$usuario", "$contra");

mysql_select_db ("$basedatos");

$sql = "SELECT * FROM notas WHERE ID = '$ID' ";

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{

$ID = $row["ID"];
$ID_NOTA = $row["ID"];
$carpetafoto = $row["carpetafoto"];
$foto = $row["foto"]; $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);
$bajada = $row["bajada"];
$audio = $row["audio"];
$d = $row["d"];
$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"];

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

mysql_free_result($consulta);

$visitas = $visitas + 1;
mysql_connect("$host","$usuario","$contra");


$sSQL="UPDATE  `$basedatos`.`notas` SET  `visitas` =  '$visitas' WHERE ID = '$ID_NOTA'";


mysql_db_query("$basedatos",$sSQL);





?><!DOCTYPE html>

<html lang="es">

 <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title><?php echo $nombresitio ?></title>
<meta name="description" content="<?php echo $descripcion_web ?>" />
<meta name="keywords" content="<?php echo $nombresitio ?>, radio, en vivo, escuchar, portal" />
<meta name="language" content="es" />
<meta property="og:title" content="<?php echo $nombresitio ?>" />
<meta property="og:description" content="<?php echo $descripcion_web ?>" />
<meta property="og:site_name" content="<?php echo $nombresitio ?>" />
<meta name="language" content="es" />
<meta property="og:type" content="article" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:url" content="<?php echo $dom ?>" />
<meta property="og:image" content="<?php echo $logo_C; ?>"  />


	<?php echo $link_titulo; ?>

    	<?php echo $link_menu; ?>

    	<?php echo $link_bajada; ?>
<?
$catba = $_GET['cat'];

$i_publi = 10000000;

?>
<link rel="stylesheet" href="https://radioshosting.com/css/css/lightbox.min.css">
<link href="https://radioshosting.com/css/delalora.css" rel="stylesheet">
<link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">

<style type="text/css">
	.zoom{
		transition: 0.5s ease;
 		-moz-transition: 0.5s ease; /* Firefox */
 		-webkit-transition: 0.5s ease; /* Chrome - Safari */
 		-o-transition: 0.5s ease; /* Opera */
	}
	.zoom:hover{
		transform : scale(1.05);
		-moz-transform : scale(1.05); /* Firefox */
		-webkit-transform : scale(1.05); /* Chrome - Safari */
		-o-transform : scale(1.05); /* Opera */
		-ms-transform : scale(1.05); /* IE9 */
	}
</style>



<?php
if ($streaming == 'mp3') {?>
  <meta property="og:title" content="<?php echo $nombresitio ?>" />
  <meta property="og:description" content="Escuchá la Radio En Vivo" />
  <meta property="og:site_name" content="<?php echo $nombresitio ?>" />
  <meta property="og:type" content="movie" />
  <meta property="og:image" content="<?php echo $logo_C ; ?>" />
  <meta property="og:url" content="<?php echo $dom ?>" />
  <meta property="og:video"
   content="https://www.argentinastream.com/fb/6510/WHMSonic.swf?source=<?php echo $ip_stream ?>/*stream.mp3&autoplay=true" />
  <meta property="og:video:secure_url"
   content="https://www.argentinastream.com/fb/6510/WHMSonic.swf?source=<?php echo $ip_stream ?>/*stream.mp3&autoplay=true" />
  <meta property="og:video:type" content="application/x-shockwave-flash" />
  <meta property="og:video:width" content="320" />
  <meta property="og:video:height" content="70" />

<?php

};

?>
<?php

if ($streaming == 'aac') {?>
<meta property="og:title" content="<?php echo $nombresitio ?>" />

  <meta property="og:description" content="Escuchá la Radio En Vivoa" />

  <meta property="og:site_name" content="<?php echo $nombresitio ?>" />

  <meta property="og:type" content="movie" />

  <meta property="og:image" content="<?php echo $logo_C ?>" />

  <meta property="og:url" content="<?php echo $dom ?>" />

  <meta property="og:video"

   content="https://www.argentinastream.com/fb/6510/WHMSonic.swf?source=<?php echo $ip_stream ?>&autoplay=true" />

  <meta property="og:video:secure_url"

   content="https://www.argentinastream.com/fb/6510/WHMSonic.swf?source=<?php echo $ip_stream ?>&autoplay=true" />

  <meta property="og:video:type" content="application/x-shockwave-flash" />

  <meta property="og:video:width" content="320" />

  <meta property="og:video:height" content="70" />
<?php
};
?>


<?php if ($refresh == 0) {} else {?>

<meta http-equiv="refresh" content="<?php echo $refresh ?>" url="<?php echo $dom ?>"/>

<?php }; ?>

<link rel="shortcut icon" href="<?php echo $dom  ?>/icono.ico" type="image/x-icon">

<style>

	body {
	    overflow-x:hidden;
<?


$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;

<? } ?>
<? }; ?>




	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;

}



.navbar-nav > li > .dropdown-menu {
background-color: <?php echo $d_color_fondo_menu ?> !important;
}

.dropdown-menu > li > a {
font-family: <?php echo $style_menu ?> !important;
color: <?php echo $d_color_menu ?> !important;

}

.dropdown-menu > li > a:hover {
color:<?php echo $d_color_menu_sobre ?> !important;
 background-color: <?php echo $d_color_fondo_menu ?> !important; }

 ul, ol{

     list-style:none;

 }

 h1,  h2,  h3,  h4,  h5,  h6 {

    font-family:<?php echo $style_titulo ?>!important;
    color:<?php echo $d_color_titulo ?>!important;
}

 h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {


    color:<?php echo $d_color_titulo ?>!important;
}

p {

    font-family:<?php echo $style_titulo ?>!important;
}



  /* footer nuevo comienzo  */

   #wrapper-footer{background-color:rgba(0,0,0,0.05);color:#8A8A8A;font-size:80%;}@media (max-width: 767px) {#wrapper-footer{text-align:center;}}#wrapper-footer a{color:#8A8A8A;}#wrapper-footer a:hover{color:inherit;}#wrapper-footer .footer-widget:first-child{padding-left:0;}#wrapper-footer .footer-widget:last-child{padding-right:0;}.footer-widget .widget-title{font-weight:700;}.footer-widget ul{list-style:none;padding-left:0;}.site-footer{border-top:1px solid #d1d1d1;padding-top:20px;margin-top:20px;font-size:0.75em;}#wrapper-footer .custom-logo{max-width:150px;height:auto;margin-right:10px;-webkit-filter:grayscale(1);-webkit-filter:grayscale(100%);filter:gray;filter:grayscale(100%);}#wrapper-footer .site-info [class^='col']{margin-top:10px;margin-bottom:10px;}@media (min-width: 768px) {.footer-widget.widget_sociallinks_widget{text-align:right;}#wrapper-footer .site-info [class^='col']:last-child{text-align:right;}}#wrapper-footer .surhive-link{opacity:0.3;transition:0.3s;margin-left:5px;}#wrapper-footer .surhive-link:focus,#wrapper-footer .surhive-link:hover{opacity:1;}#wrapper-footer .surhive{max-width:80px;height:auto;-webkit-filter:grayscale(1);-webkit-filter:grayscale(100%);filter:gray;filter:grayscale(100%);}


    .social {
        display:inline-flex;


    }

    .social a {
        margin-left: 5px;
    }

    .wrapper {
  padding: 30px 0;margin-top: 50px; }

/* footer nuevo final  */
.tshare {
    line-height: 30px;
    margin-right: 10px;
    position: absolute;

    right: 0px;
    color: #FFF;
    z-index: 1;
    width: 1.5em;
    text-align: center;
                display: inline-block;
}

.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;
            }



            .cat-title {
    position: absolute;
    top: 0;
    line-height: 30px;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    padding: 0 5px;
    margin-left: 5px;
    display: block;
    z-index: 1;
}

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

.grid {
  background: ;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}


/* 5 columns, percentage width */
.grid-item,
.grid-sizer {

}

.grid-item {
    float: left;
    height: auto;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 7px !important;
    padding-right: 7px !important;
    margin-bottom:15px;
}


</style>

  </head>

   <body data-spy="scroll" data-target=".scrollspy" data-offset="<?php echo $alto_logo_nuevo ?>">

      <div class="container-fluid dsd" style="background-color:#fff;">

          <header class="page-header" id="">

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



 <div class="row">



                <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">



                    <a href="<?php  echo $dom  ?>/principal.php">
                        <img src="<?
$logo_C = str_replace('http://', 'https://', $logo_C);
?><?php  echo $logo_C ?>" class="img-responsive" style="padding-top:10px; padding-bottom:10px;max-height:200px;" alt="Logo"></a></div>



                <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">




                   <?php    if ($weather2 == 'no') {} else {?>





		<?php  include 'weather_18.php';?> <?php  };?>







   <?php       if ($opcion2 == 'si')

        {?>



          <form id="form1" name="form1" method="GET" action="<?php  echo $dom ?>/buscar.php">



            <div align="right">



            <style>

<!--

.transparente  {

  background-color: transparent;

  background-image:url(<?php  echo $dom ?>/fondo_opaco-orig.png);

  font-size:15px;

   border: 0px;

   -moz-border-radius: 10px 0px 0px 10px;

   -webkit-border-radius: 10px 0px 0px 10px;

   color:#FFFFFF;

   font-family:<?php  echo $style_titulo ?>;



}



.tools {

border: 1px solid #8698af;

background: #acbcd1 repeat-x;

color: #375d84;

padding: 3px;

margin:0;

font-size:13px;

}

.tools:hover {

padding: 3px;

background: #eff2f5 url(images/tools-hover.png) repeat-x;

border: 1px solid #acbcd1;

}



</style>





              <input name="busqueda" type="text"  id="busqueda" size="20" class="transparente" />



              <input name="button" type="submit" class="tools" id="button" value="Buscar &raquo;" />


</div>
          </form>

          <?php

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

          <div align="right"><a  target="_blank" href="<?php  echo $facebook ?>"><img src="https://www.radiosnet.com.ar/iconos/1/facebook.png" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $twitter_btn ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/twitter.png" width="40" height="40" /></a>

              <?php  };?>





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

              <a  target="_blank" href="<?php  echo $social_aim ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/aim.png" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $social_ask ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/ask.png" alt="" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $social_blogger ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/blogger.png" alt="" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $social_flickr ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/flickr.png" alt="" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $social_google ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/google.png" alt="" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $social_myspace ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/myspace.png" alt="" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $social_tumblr ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/tumblr.png" alt="" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $social_vimeo ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/vimeo.png" alt="" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $social_yahoo ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/yahoo.png" alt="" width="40" height="40" /></a>

              <?php  };?>

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

              <a  target="_blank" href="<?php  echo $social_youtube ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/youtube.png" alt="" width="40" height="40" /></a>

              <?php  };?>


<?php  if ($funcion1 == 'si') {  ?>
<br>
<a target="_blank" href="<?php  echo $dom ?>/envivo"><img src="<?php  echo $dom ?>/Fondo_Boton_Rojo.png" width="100" height="30" ></a>
<?php  }; ?>




                  </div>



                </div>



              </div>


          </header>

        </div>




      <div id="" class="container-fluid" style="padding:0;">

        <div>
          <style>
          .navbar .nav > .active > a:focus {
  	color:<?php echo $d_color_menu_sobre ?> !important;
          </style>

          <style>
          .navbar-default {

    background: url(<?php echo $dom ?>/menu.png) !important;

} </style>


         </div>

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

        <div>
          <?php include 'marquesina.php'; ?>
          </div>

        <div class="container" style="max-width:960px;background-color: #fff;">

            <div class="row" >

                <div style="height:auto;" class="col-xs-12 col-sm-12 col-md-12 col-lg-9" role="main" >

                        <div  style="background-color:#ffffff;margin-bottom:15px;padding-bottom:20px;" >

                            <!-- ACA empieza -->



                            <div id="grid" class="col-xs-12 col-sm-12 col-md-12 col-lg-12" style="">
                                <div class="col-lg-12 col-xs-12">
            <?
$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";};


?> <br>
<?php if ($cat_no == 0) {} else {
$sql2 = "SELECT * FROM categorias WHERE ID = '$cat_no'";
$consulta2 = mysql_query ($sql2);
while ($row2 = mysql_fetch_array($consulta2))
{
$cat_nom = $row2["nombre"];
$color_cat = $row2["color"];
}
mysql_free_result($consulta2);

?> <span style=" background-color: <? if ($color_cat == '' or $color_cat == '#FFFFFF') { echo "#666666"; } else { echo $color_cat; }; ?>">&nbsp;
<? };?> <span style=";font-family:<?php echo $style_titulo ?>;font-size:14px; color:#FFFFFF;"><?php echo strtoupper($cat_nom); ?>&nbsp;</span></span>&nbsp;<span style=";font-family:<?php echo $style_titulo ?>;font-size:14px;color:<?php echo $d_color_titulo?>;"><?php echo $D ?> de <?php echo $m ?> de <?php echo $a ;?></span>


</div>



                                <div class="col-lg-12 col-xs-12">

    <div style="margin-bottom:3px;"><h2 style=";font-family:<?php echo $style_titulo ?>;color:<?php echo $d_color_titulo?>;"><?php echo $titulo ?></h2></div>

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

<?php
  $file = "$dom/$carpetafoto/resize_$foto.jpg";  // 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-xs-12">

<?php     if ($ejemplo_marca_de_agua == NULL) {  ?>
            <div align="left"><img class="<? if ($estiloweb <= 3){echo "img-responsive";} else {echo "img-fluid";} ?>"   src="<?php echo $dom ?>/<?php echo $carpetafoto ?>/resize_<?php echo $foto ?>.jpg" /></div>
<?php   } else {?>
           <div align="left"><img class="<? if ($estiloweb <= 3){echo "img-responsive";} else {echo "img-fluid";} ?>"  src="<? echo $dom ?>/<?php echo $ejemplo_marca_de_agua ?>?i=<?php echo $carpetafoto ?>/resize_<?php echo $foto ?>.jpg" /></div>
<?php      };?>

 <?php if ($pie_foto == '') { } 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 };?>






                <?php

if ($ID_editor == 0) {} else {


$sql65 = "SELECT * FROM editores WHERE ID = '$ID_editor' LIMIT 1";
$consulta65 = mysql_query ($sql65);
while ($row65 = mysql_fetch_array($consulta65))
{


$nombre_editor = $row65["nombre"];
$telefono_editor = $row65["telefono"];
$email_editor = $row65["email"];
$instagram_editor = $row65["instagram"];
$facebook_editor = $row65["facebook"];
$twitter_editor = $row65["twitter"];
$foto_editor = $row65["foto"];
$ID_editor = $row65["ID"];



 }
mysql_free_result($consulta65);

?>

                        <div class="row">

                            <div class="col-xs-2 col-2 col-sm-2 col-md-2 col-lg-2" style="padding:10px;">



                                    <img class="img-fluid img-responsive" src="<?php echo $foto_editor ?>" data-hidpi="#" style="max-height:60px;margin:0 auto;border-radius:50%!important;">



                            </div>

                            <div class="col-xs-10 col-10 col-sm-10 col-md-10 col-lg-10" style="padding:10px;">

                                <h4 style="margin: 0;">Por:

                                  <span style=" color:#003366">  <?php echo $nombre_editor ?></span>

                                </h4>

                                 <ul class="navbar-nav ml-auto" style="display:inline-block;">

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

                                     <li class="nav-item2" style="display:inline-flex;margin-right:10px;">

                                        <a href="<?php echo $facebook_editor ?>" style="padding:0;" target="_blank">

                                            <h4 style="margin:0; padding:0.5em;" ><i class="fab fa-facebook-square" style="font-size:1.5em;"></i></h4>

                                        </a>

                                     </li> <?php };?>
                                       <?php  if ($twitter_editor == '') {} else {?>

                                     <li class="nav-item2" style="display:inline-flex;margin-right:10px;">

                                         <a href="<?php echo $twitter_editor ?>" style="padding:0;" target="_blank">

                                             <h4 style="margin:0; padding:0.5em;" ><i class="fab fa-twitter-square" style="font-size:1.5em;"></i></h4>

                                         </a>

                                     </li>
                                      <?php };?><?php  if ($instagram_editor == '') {} else {?>
                                     <li class="nav-item2" style="display:inline-flex;margin-right:10px;">

                                        <a href="<?php echo $instagram_editor ?>" style="padding:0;" target="_blank">

                                            <h4 style="margin:0; padding:0.5em;" ><i class="fab fa-instagram" style="font-size:1.5em;"></i></h4>

                                        </a>

                                    </li> <?php };?><?php  if ($email_editor == '') {} else {?>

                                     <li class="nav-item2" style="display:inline-flex;margin-right:10px;">

                                        <a href="mailto:<?php echo $email_editor ?>" style="padding:0;" target="_blank">

                                            <h4 style="margin:0; padding:0.5em;" ><i class="fas fa-envelope" style="font-size:1.5em;"></i></h4>

                                        </a>

                                    </li><?php };?>

                                </ul>

                            </div>

                        </div>




<?php }; //finaliza if de editores?>



    <div class="grid" style="margin-top:30px;">



<?php
$sql65 = "SELECT * FROM fotos_notas WHERE noticia = '$ID'";
$consulta65 = mysql_query ($sql65);
while ($row65 = mysql_fetch_array($consulta65))
{


$carpetafoto1 = $row65["carpetafoto"];
$ID_foto = $row65["ID"];


$foto = $row65["foto"];
?>
        <div class="grid-item col-lg-2 col-md-3 col-sm-12 col-12" style="margin-bottom:15px;" >
            <a data-lightbox="example-set"   href="<?php echo $dom ?>/<?php echo $carpetafoto1 ?>/resize_<?php echo $foto ?>.jpg"  title="<?php echo $titulo; ?>">
                <img src="<?php echo $dom ?>/<?php echo $carpetafoto1 ?>/thumbnail_<?php echo $foto ?>.jpg" class="img-fluid" />
            </a>
        </div>
<?


 }
mysql_free_result($consulta65);

?>

<?php
$sql65 = "SELECT * FROM `fotosnotasfull` WHERE `ID_nota` = '$ID'";
$consulta65 = mysql_query ($sql65);
while ($row65 = mysql_fetch_array($consulta65))
{
$ID_foto = $row65["ID"];
$img = $row65["img"];

?>


<div class="grid-item col-lg-2 col-md-3 col-sm-12 col-xs-12" style="margin-bottom:15px;"  >
<a href="<?php echo $img ?>" rel="lightbox[<?php echo $ID ?>]" title="<?php echo $titulo; ?>"><img src="<?php echo $dom ?>/timthumb.php?src=<?php echo $img;?>&w=500&q=80" class="img-fluid" /></a>
        </div>

<?


 }
mysql_free_result($consulta65);

?>
  </div>


    <div class="col-lg-12 col-xs-12">

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


           <?php mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");

$sql = "SELECT *
FROM  `publicidades_gif` WHERE lugar = '$cat_no'";

$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$ID_p = $row["ID"];

$img = $row["img"];

$carpetafoto = $row["carpetafoto"];

$url  = $row["url"];
?>
<a href="<?php echo $url ?>" target="_blank"><img class="img-responsive publi-index" src="<?php echo $dom ?>/<?php echo $carpetafoto ?>/<?php echo $img ?>" width="100%"  /></a>
<?


	  }
mysql_free_result($consulta);?>


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

     </div>



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

    <div class="col-lg-12 col-xs-12">

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



      </div>

      <?php  }; ?>






      <div class="col-lg-12 col-xs-12">

          <div id="fb-root"></div>
<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>


          <div class="col-lg-12 col-xs-12">

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


          </div>

<div class="col-lg-12 col-xs-12 col-12">

<?php $texto = str_replace('<img', '<img class="img-fluid img-fluid"',$texto); ?>
<?php $texto = str_replace('[img]', '<img class="img-fluid" src="../../timthumb.php?src=',$texto); ?>
<?php $texto = str_replace('[/img]', '&w=800&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 $adsense; };?>

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

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

          <?php echo $html?>

          <div class="col-lg-12 col-xs-12">

              <div class="fb-like" data-href="<?php echo $dom ?>/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 class="col-lg-12 col-xs-12">

    <?php

mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");

      $sql65 = "SELECT * FROM archivos WHERE ID_nota = '$ID_NOTA'";
$consulta65 = mysql_query ($sql65);
while ($row65 = mysql_fetch_array($consulta65))
{


$ruta = $row65["ruta"];
$tipo = $row65["tipo"];

if ($tipo == 'pdf') { echo "<iframe src='$ruta' width='100%' height='500px'></iframe>" ; };?>

<a class="btn" target="_blank" href="<?php echo $ruta ?>"><img src="<?


if ($tipo == 'xls' or $tipo == 'xlsx') { echo "https://radiosnet.com.ar/xls.png"; };

if ($tipo == 'doc' or $tipo == 'docx') { echo "https://radiosnet.com.ar/doc.png"; };


?>" /></a>
<?


 }
mysql_free_result($consulta65);
?>
</div>

          <div class="col-lg-12 col-xs-12">
          <?php include 'rotativas_random_abajo.php';?>
          </div>

          <div class="col-lg-12 col-xs-12">

                <div style="float:right;display:inline-flex;">
            <h4>COMPARTIR:</h4><br>
<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 ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>&t=<?php echo $titulo ?>">
    <i class="fab fa-facebook" style="font-size:30px;color:<?php echo $d_color_fondo_menu ?>; " 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 ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo_xx) ?>&amp;source=tweetbutton&amp;text=<?php echo $titulo_xx; ?>&amp;url=<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo_xx) ?>">
    <i class="fab fa-twitter" style="font-size:30px;color:<?php echo $d_color_fondo_menu ?>; " 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 ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo_xx);?>">
                    <i class="fab fa-whatsapp" style="font-size:30px;color:<?php echo $d_color_fondo_menu ?>; " aria-hidden="true"></i>

                </a> </li>
                </ul>


</div>
            </div>

          <div  class="row" style="width: 100%;">

                <div class="col-xs-12 col-lg-12">

             <div style="border-bottom:1px solid rgba(0,0,0,0.15);margin:15px 0;"><h3 style=";font-family:<?php echo $style_titulo ?>;color:<?php echo $d_color_titulo?>;">Notas Relacionadas</h3></div>


             </div>

             <?


mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");



if ($cat_no == 0)  { $sql = "SELECT ID,titulo,texto,bajada,audio,youtube,d,m,a,carpetafoto,foto,cat,home,impresiones, ext_img FROM notas WHERE ver = 'si' AND foto != '' AND ID != '$ID_NOTA' ORDER BY ID desc LIMIT 3"; } else {$sql = "SELECT ID,titulo,texto,bajada,audio,youtube,d,m,a,carpetafoto,foto,cat,home,impresiones, ext_img FROM notas WHERE cat = '$cat_no' AND ver = 'si' AND foto != '' AND ID != '$ID_NOTA' AND m = '$m2' ORDER BY rand() LIMIT 3"; }


$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$ID2 = $row["ID"];
$i_publi = $i_publi + 1;
$titulo2 = $row["titulo"];
$bajad2a = $row["bajada"];
$texto2 = $row["texto"];
$audio = $row["audio"];
$youtube  = $row["youtube"];
$d = $row["d"];
$m = $row["m"];
$a = $row["a"];
$fecha2 = "$d - $m - $a";
$carpetafoto2 = $row["carpetafoto"];
$foto2 = $row["foto"];
$cat11 = $row["cat"];
$home = $row["home"];
$impresiones = $row["impresiones"];
$impresiones = $impresiones + 1;
$sSQL="UPDATE  `$basedatos`.`notas` SET  `impresiones` =  '$impresiones' WHERE ID = '$ID'";
mysql_db_query("$basedatos",$sSQL);



if ($cat_no == 0) {} else {
$sql2 = "SELECT * FROM categorias WHERE ID = '$cat_no'";
$consulta2 = mysql_query ($sql2);
while ($row2 = mysql_fetch_array($consulta2))
{
$cat_name = $row2["nombre"];
$color_cat = $row2["color"];
}
mysql_free_result($consulta2);
}
?>


<style>


.img-contenedor {/*Ancho y altura son modificables al requerimiento de cada uno*/
    width:<?php echo $marco1px ?>;
    height:<?php echo $alto_new ?>px;
    overflow:hidden;
}
 </style>




   <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
    <div class="">
      <div class="img-contenedor" style="height:140px;  width:100%;">

       <?php if ($cat_no == 0) {} else   {?>
 <div id="etiqueta_ch" style="background-color:<?php echo $color_cat ?>";>
    <span style=";font-family:<?php echo $style_titulo ?>;font-size:10px; color:#FFFFFF;"><?php echo $cat_name ?></span>
</div><?php };?>

      <a href="<? echo $dom;?>/nota/<?php echo $ID2 ?>/<?php echo urls_amigables($titulo2) ?>"> <img class="<? if ($estiloweb <= 3){echo "img-responsive";} else {echo "img-fluid";} ?>" src="<?php echo $dom ?>/<?php echo $carpetafoto2 ?>/thumbnail_<?php echo $foto2 ?>.jpg" alt="<?php echo $titulo2 ?>" width="100%"  border="0" /></a></div>

      <div class="caption">
        <a href="<? echo $dom;?>/nota/<?php echo $ID2 ?>/<?php echo urls_amigables($titulo2) ?>"><span style=";font-family:<?php echo $style_titulo ?>;font-size:15px;color:<?php echo $d_color_titulo?>;"><?php echo $titulo2 ?></span></a>
      </div>
    </div>

  </div>


<?


 }
mysql_free_result($consulta);

?>
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                    <div  style="border-bottom:1px solid rgba(0,0,0,0.15);margin:15px 0;"></div>
</div>

</div>

  </div>


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

?>
        <div  class="col-xs-12 col-lg-12">
        <div style="padding-left:9px;height:90px;">
<?php echo $adsense12;?></div>
        </div>
<?
};?>


    <div class="col-lg-12 col-xs-12"  style="">

<?php if ($opcion3 == 'si') {?>
<h3 style=""> Comentarios </h3>
                <?php if ($comentarios == 'facebook') {?>


  <div class="fb-comments" reverse="false" data-href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" data-num-posts="100" data-width="100%"  data-order-by="reverse_time";></div><?php
} else {

?>
        <span style="font-family: 'Roboto', sans-serif"> <?
$c = 0;

mysql_connect ("$host", "$usuario", "$contra");

mysql_select_db ("$basedatos");

$sql = "SELECT * FROM comentarios WHERE IDD = '$ID_NOTA' AND ver = 'si' ";

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{

$c = $c + 1;
$ID_comentario = $row["ID"];

$nombre = $row["nombre"];

$texto = $row["texto"];


?>        </span>

        <p class="Estilo9" style="">
            <?php echo $nombre ?>
          </p>

        <p class="Estilo9"  style="<?php echo $style_bajada  ?>"><?php echo $texto ?></p>


            <a href="<?php echo $dom ?>/responder_comentario.php?ID_comentario=<?php echo $ID_comentario ?>" class="btn btn-outline-primary my-2">Responder a este comentario</a>


             <?

$sql33 = "SELECT * FROM comentarios WHERE sub_comentario = '$ID_comentario' AND ver = 'si' ";

$consulta33 = mysql_query ($sql33);

while ($row33 = mysql_fetch_array($consulta33))

{


$nombre33 = $row33["nombre"];

$mensaje33 = $row33["texto"];





?>

 <p class="" style="">
     <strong> <em>Respuesta para '<?php echo $nombre ?>' de '<?php echo $nombre33 ?>'</em></strong></p>

        <p class="" style=""><?php echo $mensaje33 ?> </p>



                    <?php }

mysql_free_result($consulta33);

?>


            <?php }

mysql_free_result($consulta);

if ($c == 0) {?>

<p>Aun no hay comentarios, sé el primero en escribir uno!</p>


<? } ?>

<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<form id="form1" name="form1" method="post" action="<? echo $dom;?>/formcomentario.php?IDD=<?php echo $ID_NOTA ?>">

Escribir un comentario &raquo;<br>

<div class="form-group">

 <input name="nombre" type="text" class="form-control" id="nombre" value="nombre" size="12" onFocus="if (this.value == 'nombre') {this.value = '';}" placeholder="Nombre"/>
<textarea name="texto" rows="4" class="form-control"  onFocus="if (this.value == 'comentario') {this.value = '';}" placeholder="Comentario"></textarea>
</div>
<div  class="form-group">

    <?php  ///inicio codigo capthca

		   if ($comentarios == 'captcha') {
            ?>
   <div class="g-recaptcha" data-sitekey="6Ldxfz4UAAAAAND_j8U9naUe24YXika0N_DMRvY3"></div>

<?php } else {}
/////fin comentarios con captha
?>
    <div style="text-align:center;margin-bottom:20px;">
    <input name="button" type="submit" class="btn btn-outline-primary my-2 my-sm-0" id="button" value="Enviar" />
    </div>
    </div>
           </form>
</div>



    <?php }; } else {};?>




          </div>


                            </div>

                        <!-- ACA termina-->

                    </div>

                    </div>

                <sidebar style="height:auto;" class="col-xs-12 col-sm-12 col-md-12 col-lg-3" role="complementary" >




             <div class="grid2">
                      <?  include 'propagandas7.php'; ?>
                      </div>

</sidebar>


                 <div class="wrapper" id="wrapper-footer">

            <div class="container">

                    <div class="row">

                    <div class="col-md-6">

                        <div id="text-15" class="widget footer-widget widget_text">


                            <div class="textwidget">


                                <?php echo $contacto ?>


                            </div>

                        </div>

                        </div>


                    <div class="col-md-6">




                        <div id="sociallinks_widget-3" class="widget footer-widget widget_sociallinks_widget">
                            <h2 class="widget-title" style="color: #8a8a8a;text-align:right;">Seguinos</h2>
                            <p class="widget-title" style="color: #8a8a8a;text-align:right;font-size:16px;"><i class="fab fa-whatsapp"></i> <?php echo $whatsapp ?></p>

                            <div class="social">
<ul class="navbar-nav" style="display:inline-block;">


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

            <li class="nav-item" style="display:inline-flex;">

                <a  class="nav-link" target="_blank" href="<?php echo $facebook ?>"><i class="fab fa-facebook" aria-hidden="true" style="font-size:1.5em;font-weight:200;color:#8a8a8a;"></i></a>

            </li>
              <?php };?>

                <?php  if ($twitter_btn == NULL) {} else {?>
                <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $twitter_btn ?>"><i class="fab fa-twitter" style="font-size:1.5em;font-weight:200;color:#8a8a8a;"></i></a>
</li>
              <?php };?>

              <?php  if ($social_aim == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_aim ?>"><i class="fab fa-instagram" style="font-size:1.5em;font-weight:200;color:#8a8a8a;"></i></a>
</li>
              <?php };?>

              <?php  if ($social_ask == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_ask ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/ask.png" alt="" width="40" height="40" /></a>
</li>
              <?php };?>

              <?php  if ($social_blogger == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_blogger ?>"><i class="fab fa-blogger" style="font-size:1.5em;font-weight:200;color:#8a8a8a;"></i></a>
</li>
              <?php };?>

              <?php  if ($social_flickr == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_flickr ?>"><i class="fab fa-flickr" style="font-size:1.5em;font-weight:200;color:#8a8a8a;"></i></a>
</li>
              <?php };?>

              <?php  if ($social_google == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_google ?>"><i class="fab fa-google" style="font-size:1.5em;font-weight:200;color:#8a8a8a;"></i></a>
</li>
              <?php };?>

              <?php  if ($social_myspace == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_myspace ?>"> <img src="https://www.radiosnet.com.ar/iconos/1/myspace.png" alt="" width="40" height="40" /></a>
</li>
              <?php };?>

              <?php  if ($social_tumblr == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_tumblr ?>"><i class="fab fa-tumblr" style="font-size:1.5em;font-weight:200;color: #8a8a8a;"></i></a>
</li>
              <?php };?>

              <?php  if ($social_vimeo == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_vimeo ?>"><i class="fab fa-vimeo-v" style="font-size:1.5em;font-weight:200;color: #8a8a8a;"></i></a>
</li>
              <?php };?>

              <?php  if ($social_yahoo == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_yahoo ?>"><i class="fab fa-yahoo" style="font-size:1.5em;font-weight:200;color: #8a8a8a;"></i></a>
</li>
              <?php };?>

              <?php  if ($social_youtube == NULL) {} else {?>
              <li class="nav-item" style="display:inline-flex;">

              <a  class="nav-link" target="_blank" href="<?php echo $social_youtube ?>"><i class="fab fa-youtube" style="font-size:1.5em;font-weight:200;font-weight:200;color: #8a8a8a;"></i></a>
</li>
              <?php };?>


                <?php if ($funcion1 == 'si') {  ?>
                <li class="nav-item" style="display:inline-flex;line-height:2em;">

                <a  class="nav-link" target="_blank" href="<?php echo $dom ?>/envivo"><img src="<?php echo $dom ?>/Fondo_Boton_Rojo.png" class="img-fluid" style="padding: 0;"></a>
                </li>
                <?php }; ?>



                        </ul>
            </div>
            </div> </div>

                    <div class="col-md-12">

                        <footer class="site-footer" id="colophon">

                            <div class="site-info">

                                <div class="row">

                                    <div class="col-md-8">
            <h1 class="navbar-brand mb-0"><a rel="home" href="principal.php" title=""><img class="img-fluid custom-logo" width="201" height="31" src="<?
$logo_C = str_replace('http://', 'https://', $logo_C);
?><?php echo  $logo_C;?>"></a></h1>
            <span class="copyright"> <?php echo $nombresitio ?> - Todos los derechos reservados © <?php echo date(Y); ?></span>
            </div>

                                    <div class="col-md-4">
            <span>Desarrollado por</span>
            <a href="https://www.radiosnet.com.ar.com/" target="_blank" class="surhive-link">
            <img src="https://lv12.com.ar/logoradiosnet.png" class="surhive" width="100%" height="auto" alt="RadiosNet">
            </a>
            </div>

                                </div>

                            </div>

                        </footer>

                    </div>

                </div>

                </div>

            </div>


            </div>



            </div>







         </div>
 <?php include 'clix_footer.php';  ?>

<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></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="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'
});
}, 0);


</script>
 <script language=javascript>
function ventanaSecundaria56 (URL){
   window.open(URL,"ventana1","width=960,height=630,scrollbars=NO")
}
  </script>
<script src="https://cdn.rawgit.com/leafo/sticky-kit/v1.1.2/jquery.sticky-kit.min.js"></script>
<script src="https://leafo.net/sticky-kit/example.js"></script>
<?php include 'google.php';?>
</body>
</html>
