<?php include 'url_amigable.php';?><?php include 'concha.php';?>
   <?php     
        
$hay_des_2 = 'no';

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

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

$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$ID_notaiiiii = $row["ID"];
$hay_des_2 = 'si';

}
mysql_free_result($consulta);?>
                        
<!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;

?>

<title>ESTILO4</title>
<link rel="shortcut icon" href="icono.ico" type="image/x-icon" />
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> 

<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 href="https://fonts.googleapis.com/css?family=Libre+Baskerville|Playfair+Display" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Raleway:100,200,400,600,900" rel="stylesheet">      
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<!-- 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]-->
<style>
    
    /*estilo4 versión 1.2*/
   
    .fb-page{width:100%;text-align: center;}
    
*{
                
                border-radius: 0!important;
            }
            
body{
                background-color: #fff;
                overflow-x: hidden;
    
    margin: 0 auto;
            }
            
            
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 10px;
    line-height: 1.2em;
    margin-top: 0;
    color: #000;
    font-family: 'Raleway', 'Lato', sans-serif;
    letter-spacing: 0.2px;
    font-weight: 600;
}
            

            
 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
                display: block;
				 color:#000;
     
            }
            
    
    
a:hover, a:link, a:visited, a:active, a:focus, a:before, a:after {
    outline: 0 none;
	color: #000;
    text-decoration-color: #d67e2a;
    
    }
            
    p {
        font-family: 'Raleway', 'Lato', sans-serif;
        letter-spacing: 0.1px;
        padding:10px 0;
        line-height: 1.3em;
    }
   
 /* Navbar
=================================================================== */
    
    
.navbar-default {
    box-shadow: 0 2px 8px rgba(0,0,0,.175);
    margin-bottom: 0 !important;
}

.nav-collapse.collapse {
    height: auto \9 !important;
    overflow: visible \9 !important;
	position: relative;
	z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,.175);
}

.navigation {
	margin: 0 auto;
	width: 100%;
	text-align: center;
    display:inline-block;
}

.navbar-collapse {
    margin: 0 auto !important;
    overflow: visible !important;
    padding: 0!important;
    width: 100%;
}

.navbar-toggle {
    
    padding: 6px 10px !important;
}

.nav-collapse .collapse > li {
    
    float: right!important;
}

.navbar-header {
    
    max-height: 40px !important;
}

.nav .navbar-nav {
    margin: 0px auto!important;
    
}

.navbar {
    
    min-height: 40px !important;
    
}

.navbar .nav,
.navbar .nav > ul {
    margin: 0 auto !important;

}

.navbar .nav,
.navbar .nav > li {
	float:none;
	display:inline-block;
	*display:inline;/*  ie7 fix*/
	*zoom:1; /* hasLayout ie7 trigger */
	
	margin: 0px;
}

.navbar .nav > li > a {
	color: #414141;
	border-top: 0px solid transparent;
	text-shadow: none;
	font-size: 14px;
	

}

.navbar .nav > li > a:focus,
.navbar .nav > li > a:hover {
  			
  	color: #fff;
}

.navbar .nav > .active > a,
.navbar .nav > .active > a:focus {
  	color: #080808 !important;	
  	text-decoration: none;
  	background-color: transparent !important;	

}

.navbar .nav > .active > a:hover {
  			
  	color: #d67e2a !important;

}

.navbar .nav .active a:hover > .caret {
  	border-top-color: #d67e2a !important;	
  	border-bottom-color: #d67e2a !important;
    
}

    .navbar-nav .dropdown-menu{
        position: absolute;
        
    }
    
    
.dropdown:hover>ul {
    
    display: block !important;
   
}
    
.dropdown ul li a {
    
    color: <?php echo $d_color_titulo?>;
   
}

/*.collapse.in.dropdown-menu:hover:active {
    display: block !important;
     position: static!important;
    float: none !important;
    width: auto !important;
   margin-top: 0 !important;
    box-shadow: none !important;
    padding: 5px 0 !important;
    margin: 2px 0 0 !important;
    font-size: 14px !important;
    overflow: hidden !important;
}*/

.navbar-toggle{
    border-radius: 3px!important;
    border: 2px solid #888 !important;
}

.navbar-toggle:active{
    background-color: transparent!important;
    
}
.navbar-toggle:visited{
    background-color: transparent!important;
    
}
    
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: <?php echo $d_color_menu ?>;
        
}
            
.news-summary {
    padding:20px 0;

}
            
.news-summary2 {
    padding:20px 0;
}
            
.news-summarych {
    padding:20px 0;
}
            
.mom-post-meta {
    font-size: 12px;
    color: #c6c6c6;
    line-height: 1.4;
    margin-bottom: 10px;
    overflow: hidden;
}
            
.bajada {
    font: normal 15px/18px 'Arial';
    color: #545454;
    line-height: 20px;
}
    
             
.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;
}
            
.news-image {
    margin: 0;
   
    width: auto;
    float: none;
}
            
.sidebar .widget {
    
}

.base-box2, .sidebar .widget, .comment-form, div.bbp-template-notice, div.indicator-hint, #bbpress-forums fieldset.bbp-form legend {
  
    position: relative;
}
            
.base-box, .sidebar .widget, .comment-form, div.bbp-template-notice, div.indicator-hint, #bbpress-forums fieldset.bbp-form legend {
    
    position: relative;
                padding: 0px;
        margin-bottom: 20px;
}

.widget-head {
    padding:28px 0 24px;
    border-top: 1px solid #e4e4e4;
    border-bottom:  1px solid #e4e4e4;
}
    
.sidebar .widget .widget-title {
    font-size: 15px;
    
}
    
    <? $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-title {
    font-size: 25px;
    font-weight: 200;
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 0;
    color:#000;
    font-family: 'Libre Baskerville', serif;
    text-align: center;
}
    /* ---- 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;

}
    
    
            
/* header */
#header-wrapper{
                
                padding: 3px,
            }
            
.topbar {
    font-size: 15px;
    border-bottom:1px solid <?php echo $d_color_fondo_menu ?>; 
     max-height: 30px!important;
    line-height: 1em!important;
    background-color: <?php echo $d_color_fondo_menu ?>!important;
    color: #fff!important;
            }
            
.inner{
                width: 100%;
                margin: 0 auto;
    transition: all .15s ease-in-out;
            }
            
    .top-right-content {
    float: right;
                margin-right: 20px;
}
    
   
            
.topbar ul {
    margin-right: 20px;
    padding: 0;
    list-style: none;
}
            
.mom-social-icons li a.vector_icon {
    width: 1em;
    display: block;
    text-align: center;
     color:#fff!important;
}      
            
.facebook2 {

    display: block;
    float: right;
    font-size: 10px!important;
    margin: 3px;
            }
            
.twitter2 {

    display: block;
    float: right;
    font-size: 10px!important;
    margin: 3px;
            } 
    
.today_date {
    float: left;
    margin: 8px 20px;
    font-weight: 400;
    }
 
.topbar .top-left-content {
    float: left;
}
            
.topbar .top-right-content {
    float: right;
}

.topbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mom-social-icons {
    margin: 0;
    padding: 0;
    list-style: none;}
            
.header {
    background: #fff;
    clear: both;
    padding: 0;
}
            
.header > .inner, .header .logo {
    line-height: 80px;
    
}
            
.header-right {
    float: right;
}
    
    .localidad{
        display: none;
        
    } 
    .localidad1{
        display: none;
    }
    
.logo{
                max-width: 80%;
                
            }
            
.bg-light {
    
    background-color: #fff!important;
}
            
article {
                background: #fff;
                border-radius: 3px;
               /* box-shadow: 2px 2px 11px rgba(0,0,0,0.2);*/
            }
            /* blqes */
.album {
   /* min-height: 50rem; padding-top: 3rem; Can be removed; just added for demo purposes */
  
  padding-bottom: 3rem;
  background-color: transparent;
}

.card {
  
  padding: .75rem;
  margin-bottom: 2rem;
  border: 0;
}

.card > img {
  margin-bottom: .75rem;
}

.card-text {
  font-size: 85%;
}

    
    
    /* 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 #e4e4e4;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 $d_color_fondo_menu ?>!important;
    margin-right: 37px!important;
            }
            
.twitter {

    display: block;
    float: right;
    background-color: <?php echo $d_color_fondo_menu ?>!important;
            }
    p.displaytitulo{
        height: 0;
        margin: 0;
    }
    
    .carousel-cell4:hover p.displaytitulo{
        height: auto;
        -webkit-transition: height 2s; /* Safari */
    transition: height 2s;
    }
    
    .flickity-prev-next-button {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
    
    
.carousel-cell {
  width: 100%;
  height: ;
  margin-right: 0px;
  background: transparent;
}

.carousel-cell-image {
  display: block;
  max-height: 100%;
  margin: 0 auto;
  max-width: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
          transition: opacity 0.4s;
}

/* fade in lazy loaded image */
.carousel-cell-image.flickity-lazyloaded,
.carousel-cell-image.flickity-lazyerror {
  opacity: 1;
}
          
            
.carousel2 {
  
}
.carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    z-index: 10;
    padding: 4px 20px;
    /* padding-bottom: 20px; */
    color: #fff;
    background-color: <?php echo $d_color_fondo_menu ?>;
    opacity: 0.7;
}
    
.carousel-cell2 {
  width: 28%;
  height: 200px;
  margin-right: 10px;
  background: #8C8;
  border-radius: 5px;
  counter-increment: carousel-cell;
}

.carousel-cell2.is-selected {
  background: #ED2;
}

/* cell number */
.carousel-cell2:before {
  display: block;
  text-align: center;
  content: counter(carousel-cell2);
  line-height: 200px;
  font-size: 80px;
  color: white;
}

    .carousel-cell-image2{
     display: block;
  height: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
          transition: opacity 0.4s;   
        
    }
    
    /* fade in lazy loaded image */
.carousel-cell-image2.flickity-lazyloaded,
.carousel-cell-image2.flickity-lazyerror {
  opacity: 1;
} 
    
  .carousel-cell-image {
  display: block;
  max-height: 100%;
  margin: 0 auto;
  max-width: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
          transition: opacity 0.4s;
}

/* fade in lazy loaded image */
.carousel-cell-image.flickity-lazyloaded,
.carousel-cell-image.flickity-lazyerror {
  opacity: 1;
} 
    
    .carousel3{
       
        
    }
    
    .carousel-cell3{
    width: 100%;
  height: ;
  margin-right: 0px;
  background: transparent;
        
    }
    
    .carousel-cell-image3 {
  display: block;
  max-height: 100%;
  margin: 0 auto;
  max-width: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
          transition: opacity 0.4s;
}
    
    .carousel-cell3:hover .titulo{
        
        display:block;
        
    }
    
    
.carousel-cell4 {
  width: 100%;
  height: ;
  margin-right: 0px;
  background: transparent;
}

.carousel-cell-image4 {
  display: block;
  max-height: 100%;
  margin: 0 auto;
  max-width: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
          transition: opacity 0.4s;
}

/* fade in lazy loaded image */
.carousel-cell-image4.flickity-lazyloaded,
.carousel-cell-image4.flickity-lazyerror {
  opacity: 1;
}

                    
            
.btn-outline-primary.active, .btn-outline-primary:active, .show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: <?php echo $d_color_fondo_menu ?>;
    border-color: <?php echo $d_color_fondo_menu ?>;
}
    
.btn-outline-primary:hover {
    color: #fff;
    background-color: #d67e2a;
    border-color: #d67e2a;
}
.btn-outline-primary {
    color: <?php echo $d_color_fondo_menu ?>;
    background-color: transparent;
    background-image: none;
    border-color: #d67e2a;
}
    
    /* destacadas slider */
    
.titulo{
    display: none;
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%;
    padding: 20px 15px;
    background-color: #d67e2a;
    opacity: 0.7; 
    }
.titulotext{
         
      position: absolute;
        bottom:0;
        color: #fff;
        line-height: 1em;
    z-index: 900;
    text-transform: uppercase;

    
    }
    
    .titulotext h4,.titulotext p {
    max-width: 85%;
       color: #fff; 
        
    }
    
    .carouselimg{
        margin-right:10px;
        height: 262px;
        
    }
    
    .carouselimg:hover .titulo{
        display: block;
        
    }
    
    .pocho-div-clima{
        height: 70px!important;
        
        
    }
    
    #tritop{   
    margin: 0 auto;
}

#tritop1, #tritop2, #tritop3 {

    margin-bottom: 10px;
    padding: 7.5px;
      

}


#mobiltritop {
    display: block;
    max-width: 100% !important;
    margin: 10px !important;
    padding: 10px !important;
}
        </style>

      
<style>
          
          .destacadas{
              
              margin-bottom: 15px;
              
          }
          
          .topbar-header-social {
    width: 35px;
    padding: 4px;
    text-align: center;
    margin-right: 10px;
    font-size: 25px;
    
     }
    
    .topbar-header-social:hover i{
   //* width: 35px;
    color: #FFF;
    padding: 4px;
    border-radius: 50%;
    background-color: #d67e2a;
    text-align: center;
    margin-right: 10px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
      *//
     }
     
     

     .envivo{
        border-top:1px solid #e4e4e4;
        border-bottom:1px solid #e4e4e4;
        margin-bottom: 20px; 
     }
     
     .img{
         display: block;
    padding: 3px  10px;
         
     }
    
    .artX4{
        
    margin-bottom:15px;    
        
        
    }
    
    .titulogr {
            position: absolute;
    bottom: 10px;
    left: 32px;
     color:#fff;   
    }
    
    .small {
       max-height: 70px;
        
    }
    
    .credits{
        
        font-weight: 600;
        
    }
    
    .flickity-prev-next-button .arrow {
    fill: #d67e2a;
}
    
    .tito{
        font-size:25px;
        color:#000;
        font-family:'Raleway',serif;
        font-weight:600;
        
        
    }
    
    .foto{
    position: absolute;
    bottom: 0;
    right: 20px;
    color: #fff;
        
    }
    
    .fotoup{
      position: absolute;
    top: 0;
    right: 20px;
    color: #fff;  
        
    }
    
    .fotouno {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #fff;
}
    
    .radio{
        background-image: url(http://lv12.com.ar/binding_dark_@2X.png);
        background-repeat:repeat;
        
    }
      </style>       
	
    </head>
	   
    
    <body>
           
        <div id="header-wrapper" class="sticky-top" style="background-color:#fff;">
            
            <header class="container header" style="margin:0 auto;background-color:#fff;">
                
                <div class="row inner">
                    
                    <div  class="d-none  d-lg-block col-md-3 col-lg-4">
                    
                    <div class="col-xs-12 col-md-12 col-lg-12">
                                               
                        <ul class="btn-group" role="group" style="padding:0px;">
                             <a  href="<?php echo $facebook ?>" class="topbar-header-social " target="_blank">
                                <i class="fab fa-facebook-square"></i>
                            </a> 
                             <a  href="<?php echo $twitter_btn ?>" class="topbar-header-social " target="_blank">
                                <i class="fab fa-twitter-square"></i>
                            </a> 
                             <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-instagram"></i>
                            </a> 
                             <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-youtube"></i>
                            </a> 
                             <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-google-plus-g"></i>
                            </a> 
                            <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-apple"></i>
                            </a> 
                            <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-android"></i>
                            </a> 
                        </ul>
                        
                    </div>
                                     
                </div>
                    
                <div class="d-none d-xs-block col-xs-12 d-lg-block col-md-6 col-lg-4"  style="text-align: center;">
                    
                    <a href="principal.php" style="text-align:center;"><img src="http://lv12.com.ar/02-2018/bb4c40c8ed0ccd10ffbfa5b41c69d972.png" class="img-fluid" style="max-height:70px;"  alt="Logo"></a>
                        
                </div> 
          
                <div  class="d-none d-lg-block col-md-3 col-lg-4">
                        
                    <div class="col-xs-12 col-md-12 col-lg-12">
                       
                        <?php  include 'weather_18.php'; ?>                        
                        
                    </div>
                 
                    
                </div>
                    
                </div>
                 <?php    include 'menuestilo99.php';?>
                
            </header>
            
            
        </div>

<?php



$D = date(d);

$A = date(Y);

$M = date(m);

$date = "$A$M$D";

$A = substr($date, 0, 4); 

$M = substr($date, 4, 2); 

$D = substr($date, 6, 2); 

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 function dame_el_dia2 ($fecha)



{



$array_dias['Sunday'] = "domingo";



$array_dias['Monday'] = "lunes";



$array_dias['Tuesday'] = "martes";



$array_dias['Wednesday'] = "miercoles";



$array_dias['Thursday'] = "jueves";



$array_dias['Friday'] = "viernes";



$array_dias['Saturday'] = "sabado";



return $array_dias[date('l', strtotime($fecha))];



}?>

           

           

           

           

           

           <?php $dia = dame_el_dia2($date); ?>

     
           

           <?




$hora = date(H);

$min = date(i);

$hora = "$hora.$min";

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

mysql_select_db ("$basedatos");

$sql = "SELECT * FROM programacion WHERE dia = '$dia'";

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{

$programa= $row["programa"];

$ini = $row["ini"];

$fin = $row["fin"];

$ini = str_replace(".","",$ini);

$fin = str_replace(".","",$fin);

$hora = str_replace(".","",$hora);

$ini =  (int) $ini;

$fin = (int) $fin;

$hora = (int) $hora;

if ($hora > $ini) { 

if ($hora < $fin) { $ID_P = $programa; $ini2 = $row["ini"];

$fin2 = $row["fin"];};

} else {};

$sql2 = "SELECT * FROM programas WHERE ID = '$ID_P'";

$consulta2 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$nombre_pro = $row2["nombre"];

$imagen = $row2["imagen"];

$url = $row2["url"];

?>
         

<?


}

mysql_free_result($consulta2);

}

mysql_free_result($consulta);

?>
  
          
          
                
        <div class="container">
            
             <!-- radio en vivo banner --> 
            
            <div class="row envivo" style="">
            
                <div class="container radio" >
                    
                    <div class="grid">
                                    
                    <div class="grid-item col-xs-12 col-sm-12 col-md-6 col-lg-6"> 
                        
                        
                        
                        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-12" style="padding:10px;">
                            
                            <div class="row">



                            
                            <div class="col-lg-6 col-xs-12">
                            
                            <img src="<? echo $dom;?>/upload_pic/resize_<?php echo $imagen ?>.jpg"  class="img-fluid" style="max-width:40%;">
                            </div>
                            
                          <div  class="col-lg-6 col-xs-12">        
                        <h6 style="color:#fff;">En vivo por LV12</h6>
                                 
                        <h6 style="text-transform:uppercase;color:#fff;" class=""><?php echo $nombre_pro ?></h6>
                       
                        <p style="margin-bottom:0;padding-bottom:0;color:#fff;"><?php echo  $ini2 ?> a <?php echo $fin2 ?></p>
                            
                          </div> 
                            
                          </div>  
                            
                        
                        </div>
                                              
                      
                        
                                                        
                    </div>
                    
                                  
                                    
                    <div class="grid-item col-xs-12 col-sm-12 col-md-6 col-lg-6 " >
                        
                        <div style="text-align:center;padding-top: 31px;">
                                                                                
                                    <a class="btn btn-outline-primary" style="width: 50%;" href="#" target="_blank">
                                                                
                                        <i class="fas fa-volume-up"></i>
                                                                
                                        <span style="line-height: 30px;">Escuchá LV12</span>
                                                            
                                    </a>
                                                            
                                   <!-- <a class="btn btn-outline-primary" href="https://radiomitre.cienradios.com/hd/" target="_blank">
                                                                
                                        <i class="fas fa-video"></i>
                                                                
                                        <span style="line-height: 30px;">Video Del Día</span>
                                                            
                                    </a>-->
                            
                            </div>
                                                        
                                </div>
                        
                      
                     </div>          
                                  
                </div>
                             
            </div>

            <!-- video destacado botón en "en vivo banner" --> 
                <?


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

mysql_select_db ("$basedatos");

$sql = "SELECT * FROM `videos_home`";

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{
$ID = $row["ID"];
$cat = $row["cat"];
$titulo = $row["titulo"];
$bajada = $row["bajada"];
$video = $row["video"];


}

mysql_free_result($consulta);

?>
             
             
            <div class="row" style="display:none;">
                
                <div class="container" style="background-color:#e4e4e4;">
                                
                <div class="grid">
                                    
                        <div class="grid-item col-xs-12 col-sm-12 col-md-6 col-lg-6" style="padding:15px;"> 
                        
                        <iframe width="100%" height="304" src="https://www.youtube.com/embed/<?php echo $video ?>" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
                        
                                                        
                    </div>
                                                                          
                        <div class="grid-item col-xs-12 col-sm-12 col-md-6 col-lg-6 " style="padding:15px;">
                        
                        <div class="no-skin flex-item flex-stack text-align-left equalize-height-target">
                                
                                <a class="Link__link___3dWao Rubric__rubric___3hrQE River__rubric___2dq2z " href="#" title="The Art World" data-reactid="195"><!-- react-text: 196 --><?php echo $cat ?><!-- /react-text --></a>
                                
                                <h2 class="">
                                    <a href="#" data-pb-field="headlines.basic" data-pb-url-field="canonical_url" data-pb-placeholder="Write headline here"><?php echo $titulo ?></a>
                                </h2>
                            
                                <p class=""><?php echo $bajada ?></p>
                                
                               
                        </div>
                        </div>
                    
                    </div>           
                                   
            </div>
             
            </div>
                  
             <!-- 1 gr y 2 ch -->
              
                           <?


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

mysql_select_db ("$basedatos");

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

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{

$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"]; $ext_img = $row["ext_img"];

$cat = $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);


}

mysql_free_result($consulta);

?>





                   
            
            <div class="row" style="margin-top:15px;margin-bottom:15px;border-bottom:1px solid #e4e4e4;">
              
                       <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"  style="margin-bottom:15px;">
                   
                           <div class="artX4">
                                    <div id="flex_6314" class="lazy-wrapper photo-wrapper">
                                       <a href="<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" data-pb-field="headlines.basic" data-pb-url-field="canonical_url" data-pb-placeholder="Write headline here">
                                           
                                           <h2 class="titulogr"><?php echo $titulo ?></h2>
                                            <img class="img-fluid" src="<?php echo $dom ?>/<?php echo $carpetafoto ?>/resize_<?php echo $foto ?>.jpg" style="display: block;">
                                          
                                        
                                             <!--  <p class=""><?php echo $bajada ?></p>-->
                                           </a>
                                    
                                    </div>
                                </div>
                        
                       <!-- <div class="border-bottom-hairline-tight">
                            <div class="no-skin flex-item flex-stack text-align-left equalize-height-target">
                                
                                
                                
                            </div>
                        </div>-->
                   
                </div>
                         
                          <?


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

mysql_select_db ("$basedatos");

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

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{

$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"]; $ext_img = $row["ext_img"];

$cat = $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);


}

mysql_free_result($consulta);

?> 
                                                           
                <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4"  style="margin-bottom:15px;">
                    
                     <div class="grid" data-isotope='{ "itemSelector": ".grid-item" }'>
                                        
                       
                       <div class="grid-item col-xs-12 col-sm-12 col-md-12 col-lg-12">        
                                
                        <div class="artX4">
                            
                            <a href="<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" data-pb-field="headlines.basic" data-pb-url-field="canonical_url" data-pb-placeholder="Write headline here">
                                
                                <h4 class="titulogr"><?php echo $titulo ?></h4>
                                
                                <img class="img-fluid" src="<?php echo $dom ?>/<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>" style="display: block;">
                            
                            </a>
                         
                         </div>
                                
                        </div>
                                 
                                 
                                     <?


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

mysql_select_db ("$basedatos");

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

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{

$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"]; $ext_img = $row["ext_img"];

$cat = $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);


}

mysql_free_result($consulta);

?> 
                                                
                        <div class="grid-item col-xs-6 col-sm-6 col-md-12 col-lg-12" style="margin-bottom:15px;">
                                
                                                  
                                
                                <div class="artX4">
                                    
                                    <a href="<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" data-pb-field="headlines.basic" data-pb-url-field="canonical_url" data-pb-placeholder="Write headline here">
                                        
                                        <h4 class="titulogr"><?php echo $titulo ?> </h4>
                                        
                                         <img class="img-fluid" src="<?php echo $dom ?>/<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>" style="display: block;">
                                        
                                        
                                        </a>
                               
                                        
                                           
                                     
                                        
                                </div>
                            
                        </div>
                
                        
                    </div>  
                
                </div>
                       
            </div>
            
             <!-- slider grande -->
             
            <div class="row" style="margin-bottom:15px;">
                
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" style="padding:0px 15px;">
                
                
                  
<?php     $tam_ancho = 960;


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

$sql = "SELECT * FROM publicidades_swf WHERE lugar = '910'";

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


$swf = $row["swf"];
$carpetafoto = $row["carpetafoto"];
$ancho = $row["ancho"];

$alto = $row["alto"];

$lugar = $row["lugar"];


 
	
	$tam_alto = $alto * $tam_ancho / $ancho;
	
	
	
    
    ?>
   <?php if ($hostdom == NULL) {$hostdom = "http://www.radiosnet.com.ar";};  
   ?>
      <object  width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>">
          <param name="src" value="<?php echo $dom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" />
          <embed src="<?php echo $dom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" pluginspage="http://www.adobe.com/shockwave/download/" width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>"></embed>
      <object>
      <br>

      <?
	  }
mysql_free_result($consulta);

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

$sql = "SELECT * 
FROM  `publicidades_slide` WHERE lugar = '910'";

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

 $width_slide = "100%";  include 'publicidad_slider_virgen_div.php';

	  }
mysql_free_result($consulta);?>



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

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

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


          
                
                
                
                </div>

            </div>
            
            <!-- X4 fotos arriba -->
            
            
            
      <?php                                      
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql = "SELECT * FROM `categorias` WHERE `home` != '' AND `home` != 'si'  ORDER BY orden LIMIT 20" ;
$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{


$ID_cat_slide = $row["ID"];
$nombre_cat_slide = $row["nombre"];
$color_cat_slide = $row["color"];
$home = $row["home"];
?>
            <div class="row" style="margin-bottom:15px;">
                
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" >
                    
                    
                    <div class="widget-head col-xs-12 col-sm-12 col-md-12 col-lg-12" style="margin-bottom:15px;">
                    
                    <h3 class="widget-title" style="">
                        
                        <span><?php echo $nombre_cat_slide ?></span>
                    
                    </h3>
                
                    </div>  
		
                    <div class="grid" style="border-bottom:1px solid #e4e4e4;" data-isotope='{ "itemSelector": ".grid-item" }'>
<?

if ($home == 1) {$limit = "4";};
if ($home == 2) {$limit = "3";};
if ($home == 3) {$limit = "2";};
if ($home == 4) {$limit = "4";};
             
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql22 = "SELECT ID,titulo,texto,bajada,d,m,a,carpetafoto,foto FROM notas WHERE ver = 'si' AND foto != '' AND cat = '$ID_cat_slide' AND des_cat = '1' ORDER BY ID desc LIMIT $limit";

$consulta22 = mysql_query ($sql22);
while ($row22 = mysql_fetch_array($consulta22))
{

$ID = $row22["ID"];

$titulo = $row22["titulo"];

$texto = $row22["texto"];

$bajada = $row22["bajada"];

$d = $row22["d"];

$m = $row22["m"];

$a = $row22["a"];

$carpetafoto = $row22["carpetafoto"];

$foto = $row22["foto"];

if ($home == 1) {include 'estilo1_cat.php';};
if ($home == 2) {include 'estilo2_cat.php';};
if ($home == 3) {include 'estilo3_cat.php';};
if ($home == 4) {include 'estilo4_cat.php';};
          
}
mysql_free_result($consulta22);


?> </div>  
                
                </div>
            
            </div>
          <?php   
             }
mysql_free_result($consulta);?>
            <!-- X3 -->
            
            
             <!-- grid -->
                        
            <div class="row" style="margin-bottom:15px;">
                
                <div style="height:auto;" class="col-xs-12 col-sm-12 col-md-12  <? if ($hay_des_2 == 'no') { ?>col-lg-9<?
                    } else { ?> col-lg-9 <? } ;?> " role="main"  >
                    
                    
          
          
         
            
                    <div id="grid"  style="" >
                        
                       <?php     
        
$haycuber = 0;

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

$sql = "SELECT * FROM notas_tapa WHERE cu3er = '1' ORDER BY ID desc";

$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$haycuber = 1;
}
mysql_free_result($consulta2);
if ($haycuber == 1) {
?> 
                         <div id="tritop" class="row" style="margin-bottom:15px;">
          
            <div id="tritop1" class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<?php include 'cu3er12_estilo4.php';?>
                    </div>
              
            <div id="tritop2" class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<?php include 'cu3er22_estilo4.php';?>

            </div>
              
            <div id="tritop3" class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
 
<?php include 'cu3er32_estilo4.php';?>
                    </div>
          
          </div> 
		  
		  <?php  } else {};?>
                        
                    <?php     
        

$hay_cuber_0 = 'no';
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");

$sql = "SELECT * FROM notas_tapa WHERE cu3er = '0' ORDER BY ID desc";

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


$hay_cuber_0 = 'si';



}
mysql_free_result($consulta);?>
                    
                  <?php if ($hay_cuber_0 == 'si') {?>
                    
                        <div class="flickity-carousel" data-flickity='{ "lazyLoad": 9, "initialIndex": 1, "freeScroll": false, "adaptiveHeight":true, "pageDots": false }' > <?php } else {};?>
                    
                      <?php     
        


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

$sql = "SELECT * FROM notas_tapa WHERE cu3er = '0' ORDER BY ID desc";

$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$ID_nota = $row["ID"];
$foto = $row["foto"]; $ext_img = $row["ext_img"];
$titulo = $row["titulo"];
$texto = $row["texto"];
$nota = $row["nota"];
$can = $can + 1

?>

 <div class="carousel-cell4">
 
  <img class="carousel-cell-image4"
      data-flickity-lazyload="upload_pic/thumbnail_<?php echo $foto ?>.jpg" src="upload_pic/resize_<?php echo $foto ?>.jpg" alt="<?php echo $titulo ?>" width="100%" />
     
      <?php if ($titulo == '') {} else {?>
     
                        <div class="container" >
                            <div class="carousel-caption d-md-block text-left" style="margin-bottom:0;">
                            <h1><?php if($nota == 0) {} else {?> <a target="_parent" style="color: #fff;" href="<? echo $dom;?>/nota/<?php echo $ID_nota ?>/<?php echo urls_amigables($titulo) ?>"><?php };?>
							<?php echo $titulo ?><?php if($nota == 0) {} else {?> </a> <?php };?></h1>
                            <p class="displaytitulo"><?php echo $texto ?></p>
                           </div>
                        </div>
     
     <?php };?>
     
                        </div>
                        
                        <?
}
mysql_free_result($consulta);?>
                        <?php   if ($hay_cuber_0 == 'si') {?>
                        </div> <?php } else {};?>

                    
                    
                    
                        <div class="grid"  <?php   if ($hay_cuber_0 == 'si') {?> style="margin-top:50px;" <?php } else {};?>>
                
                           
                           
                        <?php    // arranca destacados ?>
                        
                                   
                           
                           <?


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

mysql_select_db ("$basedatos");

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

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{

$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"]; $ext_img = $row["ext_img"];

$cat = $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);



$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 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$cat = $row2["nombre"];

$color_cat = $row2["color"];

}

mysql_free_result($consulta2);

}

?>

<?

$n = 0;

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

$consulta2 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$n = $n + 1;

}

mysql_free_result($consulta2);

?>





                           
                           
                     <?php       ////aca arranca el articulo?>
                           
                           
                            
                            <div class="grid-item base-box col-xs-12 col-sm-6 col-md-6 col-lg-6" style="">
                               
                              
                                
                                <article class="post-137356 post type-post status-publish format-standard has-post-thumbnail category-archivo category-comunicados category-cultura tag-camerata-bariloche tag-septiembre-musical" itemscope="" itemtype="http://schema.org/Article">
                                    
                                    <div class="widget-head"> <h4 class="widget-title"><span>DESTACADA</span></h4></div>
                                    
                                    <div class="news-image" style="">
                                   
                                        
                                        <a class="tshare facebook" href="javascript:ventanaSecundaria56('http://www.facebook.com/sharer.php?p[title]=<?php echo $titulo1 ?>&p[url]=<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>')"><i class="fab fa-facebook" aria-hidden="true"></i></a>
                                        
                                        <a class="tshare twitter" href="javascript:ventanaSecundaria56('http://twitter.com/share?original_referer=<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>&amp;source=tweetbutton&amp;text=<?php echo $titulo; ?> - Leer: &amp;url=<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>')"><i class="fab fa-twitter" aria-hidden="true"></i></a>
                                        
                               
                                        <a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" style="text-align:center;">
                                            <img class="img-fluid" src="<?php echo $dom ?>/<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>" data-hidpi="<?php echo $dom ?>/<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>" alt="<?php echo $titulo ?>">
                                        </a>
                                        
                                    </div> 
                                    <div class="news-summary">
                                        <h2><a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>"><?php echo $titulo ?></a></h2>
                                        <div class="mom-post-meta nb-item-meta">
                                            <span class="entry-date"><?php echo $d ?> de <?php echo $m ?>, <?php echo $a ?></span>
                                        </div>
                                            <span class="bajada">
                                                <p class="selectionShareable" style="margin-bottom:0;"><?php echo $bajada ?></p></span>
                                    </div>
                                
                                
                                </article>

                            </div>
                            
                       
                       
               
               


<?php

////////////GIF

$sql2 = "SELECT * FROM publicidades_gif WHERE lugar = '$i_publi'";

$consulta2 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$img = $row2["img"];

$url = $row2["url"];



$carpetafoto = $row2["carpetafoto"];



?>

                           <div class="grid-item base-box col-xs-12 col-sm-6 col-md-6 col-lg-6" style="text-align:center; ">
                               
                            <?php   if ($url == NULL) {} else { ?>

    <a href="<?php echo $url ?>"  target="_blank" class="Estilo1"><?php };?><img class="img-fluid" src="<?php echo $dom ?>/<?php echo $carpetafoto?>/<?php echo $img ?>" > <?php   if ($url == NULL) {} else { ?> </a><?php };?>
                                        
                            </div>
<?

}

mysql_free_result($consulta2);

//////////////////// FIN GIF

?>

            
            
            



<?php     $tam_ancho = 300;

$sql44 = "SELECT * FROM publicidades_swf WHERE lugar = $i_publi";

$consulta44 = mysql_query ($sql44);

while ($row44 = mysql_fetch_array($consulta44))

{

$ID = $row44["ID"];

$swf = $row44["swf"];

$carpetafoto = $row44["carpetafoto"];

$ancho = $row44["ancho"];

$alto = $row44["alto"];

$lugar = $row44["lugar"];

$tam_alto = $alto * $tam_ancho / $ancho;

?>



                            <div class="grid-item base-box col-xs-12 col-sm-6 col-md-6 col-lg-6" style=" margin-bottom:10px;">

                                <object  width="100%" height="100%">

<param name="src" value="<? echo $dom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" />

<embed src="<? echo $dom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" pluginspage="http://www.adobe.com/shockwave/download/" width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>"><embed>

</object>

  </div>


<?

}

mysql_free_result($consulta44);

?>
   
                       
                       
<?php  

//arranca publis jpg

$sql2 = "SELECT * FROM publicidades WHERE lugar = '$i_publi'";

$consulta2 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$img = $row2["img"];

$url = $row2["url"];



$carpetafoto = $row2["carpetafoto"];



?>



          
                           <div class="grid-item base-box col-xs-12 col-sm-6 col-md-6 col-lg-6" style="text-align:center;">
                               
                            <?php   if ($url == NULL) {} else { ?>

    <a href="<?php echo $url ?>"  target="_blank" class="Estilo1"><?php };?><img class="img-fluid" src="<?php echo $carpetafoto?>/resize_<?php echo $img ?>.jpg"  > <?php   if ($url == NULL) {} else { ?> </a><?php };?>
                                        

                            </div>


<?

}

mysql_free_result($consulta2);
///termina publi jpg
?>

                           

<?php 



$i= $i + 1;



}

mysql_free_result($consulta);

//aca termina article
?>


                           
                         <?php   //termina destacado ?> 
                           
                           
                           <?


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

mysql_select_db ("$basedatos");

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

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{

$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"]; $ext_img = $row["ext_img"];

$cat = $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);



$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 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$cat = $row2["nombre"];

$color_cat = $row2["color"];

}

mysql_free_result($consulta2);

}

?>

<?

$n = 0;

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

$consulta2 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$n = $n + 1;

}

mysql_free_result($consulta2);

?>





                           
                           
                     <?php       ////aca arranca el articulo?>
                           
                            
                            
                            <div class="grid-item base-box col-xs-12 col-sm-6 col-md-6 col-lg-6" style="">
                               
                               
                                
                                <article class="post-137356 post type-post status-publish format-standard has-post-thumbnail category-archivo category-comunicados category-cultura tag-camerata-bariloche tag-septiembre-musical" itemscope="" itemtype="http://schema.org/Article">
                                    <?    if ($foto == '') {} else { ?>
                                    <div class="news-image" style="">
                                        <? $hexa2 = substr($color_cat,1); 
        
        $decimal2 = hexdec($hexa2);
        
        
        if ($decimal2 <= '10066329') {$color_titulo_barra2 = "250,250,250,0.9";} else {$color_titulo_barra2 = "0,0,0,0.9";};        
        
?>  
                                     <?php if ($cat == '0') {} else {?><a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" class="cat-title larger cat-6" style="background-color:<?php echo $color_cat ?>;color:rgba(<? echo $color_titulo_barra2 ?>);">
                                            <?php echo $cat ?>
                                        </a> <? }; ?>                
                                        <a class="tshare facebook"   href="javascript:ventanaSecundaria56('http://www.facebook.com/sharer.php?p[title]=<?php echo $titulo1 ?>&p[url]=<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>')"><i class="fab fa-facebook" aria-hidden="true"></i></a>
                                        
                                       
                                        <a class="tshare twitter" href="javascript:ventanaSecundaria56('http://twitter.com/share?original_referer=<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>&amp;source=tweetbutton&amp;text=<?php echo $titulo; ?> - Leer: &amp;url=<?php echo $dom ?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>')"><i class="fab fa-twitter" aria-hidden="true"></i></a>
                                        
                                     
                                        <a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" style="text-align:center;">
                                            <img class="img-fluid" src="<?php echo $dom ?>/<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>" data-hidpi="<?php echo $dom ?>/<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>" alt="<?php echo $titulo ?>">
                                        </a>
                                    </div><? }; ?>
                                    <div class="news-summary">
                                        <h2><a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>"><?php echo $titulo ?></a></h2><div class="mom-post-meta nb-item-meta"> <span datetime="2017-09-07T11:41:24+00:00" class="entry-date"><?php echo $d ?> de <?php echo $m ?>, <?php echo $a ?></span></div> <span class="bajada"><p class="selectionShareable" style="margin-bottom:0;"><?php echo $bajada ?></p></span></div>
                                
                                
                                </article>

                            </div>
                            
                       
                       
               
               


<?php

////////////GIF

$sql2 = "SELECT * FROM publicidades_gif WHERE lugar = '$i_publi'";

$consulta2 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$img = $row2["img"];

$url = $row2["url"];



$carpetafoto = $row2["carpetafoto"];



?>

                           <div class="grid-item base-box col-xs-12 col-sm-6 col-md-6 col-lg-6" style="text-align:center; ">
                               
                            <?php   if ($url == NULL) {} else { ?>

    <a href="<?php echo $url ?>"  target="_blank" class="Estilo1"><?php };?><img class="img-fluid" src="<?php echo $dom ?>/<?php echo $carpetafoto?>/<?php echo $img ?>" > <?php   if ($url == NULL) {} else { ?> </a><?php };?>
                                        
                            </div>
<?

}

mysql_free_result($consulta2);

//////////////////// FIN GIF

?>

            
            
            



<?php     $tam_ancho = 300;

$sql44 = "SELECT * FROM publicidades_swf WHERE lugar = $i_publi";

$consulta44 = mysql_query ($sql44);

while ($row44 = mysql_fetch_array($consulta44))

{

$ID = $row44["ID"];

$swf = $row44["swf"];

$carpetafoto = $row44["carpetafoto"];

$ancho = $row44["ancho"];

$alto = $row44["alto"];

$lugar = $row44["lugar"];

$tam_alto = $alto * $tam_ancho / $ancho;

?>



<div class="grid-item base-box col-xs-12 col-sm-6 col-md-6 col-lg-6" style=" margin-bottom:10px;">

<object  width="100%" height="100%">

<param name="src" value="<? echo $dom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" />

<embed src="<? echo $dom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" pluginspage="http://www.adobe.com/shockwave/download/" width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>"><embed>

</object>

  </div>


<?

}

mysql_free_result($consulta44);

?>
   
                       
                       
<?php  

//arranca publis jpg

$sql2 = "SELECT * FROM publicidades WHERE lugar = '$i_publi'";

$consulta2 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$img = $row2["img"];

$url = $row2["url"];



$carpetafoto = $row2["carpetafoto"];



?>



          
                           <div class="grid-item base-box col-xs-12 col-sm-6 col-md-6 col-lg-6" style="text-align:center;">
                               
                            <?php   if ($url == NULL) {} else { ?>

    <a href="<?php echo $url ?>"  target="_blank" class="Estilo1"><?php };?><img class="img-fluid" src="<?php echo $carpetafoto?>/resize_<?php echo $img ?>.jpg" > <?php   if ($url == NULL) {} else { ?> </a><?php };?>
                                        
                            </div>


<?

}

mysql_free_result($consulta2);
///termina publi jpg
?>

                           

<?php 



$i= $i + 1;



}

mysql_free_result($consulta);

//aca termina article
?>


                           
</div>
                        
                    </div>
                    
                    </div>  
                
        
                
                <sidebar class=" col-xs-12 <? if ($des == 2 ){echo "col-sm-8 col-md-8";} else {echo "col-sm-12 col-md-12";} ?>  col-lg-3" role="complementary" >
                    
                    <div class="grid2">
                    
                    
                    
        <?            
            $hay_des_2 = 'no';        
mysql_connect ("$host", "$usuario", "$contra");

mysql_select_db ("$basedatos");

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

$consulta = mysql_query ($sql);

while ($row = mysql_fetch_array($consulta))

{

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


}

mysql_free_result($consulta);


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

                </sidebar>
                
                </div>
            
            <!-- slider foto y titulo -->
            
            <div class="destacadas">
                
                <div class="container-fluid" style="">

                        <div class="row" style="margin:0 auto;background-color:#fff;">
            
                            <div class="widget-head col-xs-12 col-sm-12 col-md-12 col-lg-12" style="">
                                <h3 class="widget-title" style="">
                                    <span>Locales</span>
                                </h3>
                            </div>  
                            
                            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" style="background:#ffffff;margin:15px 0;">
                                <!-- Flickity HTML init -->
                                <div class="carousel2 js-flickity" data-flickity='{ "lazyLoad": 3, "initialIndex": 1, "freeScroll": false, "wrapAround": true, "pageDots": false  }'>
                 <?               
                                
                                
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql = "SELECT ID,titulo,texto,bajada,d,m,a,carpetafoto,foto FROM notas WHERE ver = 'si' AND foto != '' ORDER BY ID desc LIMIT 12" ;
$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{


$ID = $row["ID"];





$titulo = $row["titulo"];





$texto = $row["texto"];



$bajada = $row["bajada"];




$d = $row["d"];



$m = $row["m"];



$a = $row["a"];



$carpetafoto = $row["carpetafoto"];

$foto = $row["foto"]; 

$ext_img = $row["ext_img"];

if ($ext_img == NULL) {$ext_img = ".jpg";} else {};




 ?><a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" class="carouselimg">
                                      <img class="carousel-cell-image2" data-flickity-lazyload="<?php echo $dom ?>/<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>"  src="<?php echo $dom ?>/<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>" alt="<?php echo $titulo ?>" />
                                        <div class="titulo" >
                                            <h4 class="titulotext"><?php echo $titulo ?></h4>
                                        </div>
                                    </a >
                                    
                                    
                                         <?php
 }
mysql_free_result($consulta);

?>
                                    
                                    
                                    
                                    
                                </div>
                                
                            </div>
            
                        </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: <?php echo $d_color_fondo_menu ?>;text-align:right;">Seguinos</h2> 
                            
                            <ul class="btn-group" role="group" style="padding:0px;">
                             <a  href="<?php echo $facebook ?>" class="topbar-header-social " target="_blank">
                                <i class="fab fa-facebook-square"></i>
                            </a> 
                             <a  href="<?php echo $twitter_btn ?>" class="topbar-header-social " target="_blank">
                                <i class="fab fa-twitter-square"></i>
                            </a> 
                             <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-instagram"></i>
                            </a> 
                             <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-youtube"></i>
                            </a> 
                             <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-google-plus-g"></i>
                            </a> 
                            <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-apple"></i>
                            </a> 
                            <a  href="#" class="topbar-header-social " target="_blank"><i class="fab fa-android"></i>
                            </a> 
                        </ul>
                            
            </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="<?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="http://lv12.com.ar/logoradiosnet.png" class="surhive" width="100%" height="auto" alt="RadiosNet">
            </a>
            </div>
            
                                </div>
            
                            </div>
            
                        </footer>
            
                    </div>
            
                </div>
            
                </div>
            
            </div>
            
            
        </div>
        
<script src="http://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>
$(document).on("scroll", function() {

	if($(document).scrollTop()==0) {
		$("#inner").addClass("inner");
	} else {
		$("#inner").removeClass("inner");
	}
	
});                   
</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 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>
           
</body>
</html>

         
