
             
                <div id="sidebar" class="col-12 col-sm-8 p-0 col-md-4 col-lg-4" role="complementary">
                    
                <div  >
                    
                    <?            
                                        $hay_des_2 = 'no';        
                           

                            $sql = "SELECT ID FROM notas WHERE destacado = '2' AND ver = 'si' AND home = 'si' ORDER BY ID desc LIMIT 1";

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

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

                            {

                            $ID_cac = $row["ID"];
                            $hay_des_2 = 'si';


                            }

                            $consulta->free_result();


                            ?>
                    
                   
            
            
            
                      
                           <?



                            $sql = "SELECT ID,titulo,texto,bajada,audio,youtube,d,m,a,carpetafoto,foto,cat,home,impresiones FROM notas WHERE destacado = '2' AND ver = 'si' AND home = 'si' ORDER BY ID desc LIMIT 4";

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

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

                            {

                            $ID = $row["ID"];

                            $i_publi = $i_publi + 1;

                            $titulo = $row["titulo"];

                            $bajada = $row["bajada"];

                            $texto = $row["texto"];

                            $audio = $row["audio"];

                            $youtube  = $row["youtube"];

                            $d = $row["d"];

                            $m = $row["m"];

                            $a = $row["a"];

                            $fecha = "$d - $m - $a";

                            $carpetafoto = $row["carpetafoto"];

                            $foto = $row["foto"];

                            $cat = $row["cat"];

                            $home = $row["home"];

                            $impresiones = $row["impresiones"];

                            $impresiones = $impresiones + 1;

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

                           $sql("$basedatos",$sSQL);
                           
                           $conn->query($sSQL);



                            $M = $m;



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







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

                            $sql2 = "SELECT * FROM categorias WHERE ID = '$cat'";

                            $consulta2 = $conn->query($sql2);

                            while ($row2 = $consulta2->fetch_assoc())

                            {

                            $cat = $row2["nombre"];

                            $color_cat = $row2["color"];

                            }

                           $consulta2->free_result();

                            }

                            ?>

                            <?

                            $n = 0;

                            $sql2 = "SELECT * FROM comentarios WHERE IDD = '$ID' and ver = 'si'";

                            $consulta2 = $conn->query($sql2);

                            while ($row2 = $consulta2->fetch_assoc())

                            {

                            $n = $n + 1;

                            }

                            $consulta2->free_result();

                            ?>





                           
                           
                     <?php       ////aca arranca el articulo?>
                           
                   
            
           
                         
                                                           
<?php 



$i= $i + 1;



}

mysql_free_result($consulta);

//aca termina article
?>
      
            
                      <?  include 'propagandas_div.php'; ?>    
                    
            </div>
</div>
                </div>

                
            </div>

                <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-instagram" 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><?php echo $lang_desarrolado_por ?></span>
                                                        <a href="https://www.radiosnet.com.ar/" target="_blank" class="surhive-link">
                                                        <img src="<?php echo $dom ?>/logoradiosnet.png" class="surhive" width="100%" height="auto" alt="RadiosNet">
                                                        </a>
                                                        </div>
                        
                                            </div>
                        
                                        </div>
                        
                                    </footer>
                        
                                </div>
                        
                        </div>
                
                    </div>
            
                </div>
        



<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" 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/flickity@2/dist/flickity.pkgd.min.js"></script>
<script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.js"></script>

<script async 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>
                           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' });
                            console.log(a);
                        </script>
<?php include 'google.php';?>
</body>
</html>
