
                                         
    <?php     
        
$haycuber = 0;
include('concha.php');


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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$haycuber = 1;
}
$consulta2->free_result();
if ($haycuber == 1) {
?>
          
          
          <div id="tritop" class="row">
          
            <div id="tritop1" class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<?php include 'cu3er12.php';?>
                    </div>
              
            <div id="tritop2" class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<?php include 'cu3er22.php';?>

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

<?php     $tam_ancho = 960;

include('concha.php');


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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$ID = $row["ID"];


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

$alto = $row["alto"];

$lugar = $row["lugar"];


 
	
	$tam_alto = $alto * $tam_ancho / $ancho;
	
	
	
    
    ?>
      <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>

      <?
	  }
$consulta->free_result();

?>    
		



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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$ID_p = $row["ID"];

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

	  }
$consulta->free_result();?>



<?php 

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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$ID_p = $row["ID"];

$img = $row["img"];

$carpetafoto = $row["carpetafoto"];

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


	  }
$consulta->free_result();?>


                  
  <?php       if ($cu3er == 2 or $cu3er == 3) {   include 'cu3erg_new.php'; };?>
          
          
<?php     $tam_ancho = 960;

include('concha.php');


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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$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>

      <?
	  }
$consulta->free_result();

?>    
		
        
        
        <?php 

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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$ID_p = $row["ID"];

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

	  }
$consulta->free_result();?>



<?php 

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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$ID_p = $row["ID"];

$img = $row["img"];

$carpetafoto = $row["carpetafoto"];

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


	  }
$consulta->free_result();?>


          
          
            <div class="row">

              <div id="posteos" class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
                  
 <?php 
          if ($cu3er == 1) {
          
              
       
        $haycuber = 0;

include('concha.php');


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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{$haycuber = 1;
}
$consulta->free_result();

$haycuber = 1;

         ?>
         
        <?php  if ($haycuber == 1) { ?>
    <!-- Example row of columns -->

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

                     <div id="myCarousel" class="carousel slide" data-ride="carousel">
                          
                        

                              <!-- Wrapper for slides -->
                              <div class="carousel-inner" role="listbox">
                              
                              
                              
                               <?php     
        $can = 0;

include('concha.php');


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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$ID_nota = $row["ID"];
$foto = $row["foto"];
$titulo = $row["titulo"];
$texto = $row["texto"];
$nota = $row["nota"];
$can = $can + 1

?>

    <div class="<? if ($can == 1) {?>item active<? } else {?>item<? };?>">
                                  <?php if($nota == 0) {} else {?> <a target="_parent" href="<? echo $dom;?>/nota/<?php echo $nota ?>/<?php echo urls_amigables($titulo11) ?>"> <?php };?><img alt="PUBLICIDAD" src="<? echo $dom;?>/upload_pic/thumbnail_<?php echo $foto ?>.jpg" title="<?php echo $titulo ?>" width="100%" class="img-responsive" >
                                  <?php if ($titulo == '') {} else {?>
                                    <div id="carousel-caption" class="carousel-caption">
                                      <h3 align="left"  style="font-size:19px;"><?php echo $titulo ?></h3>
                                      
                                    </div><?php };?>
                                   <?php if($nota == 0) {} else {?> </a>
                                  
                                  
                                  
                                   <?php };?> 
                                </div>

<?
}
$consulta->free_result();
                              
                              ?>
                                
								
                              </div>

                              <!-- Left and right controls -->
                              <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
                                <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                                <span class="sr-only">Previous</span>
                              </a>
                              <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
                                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                                <span class="sr-only">Next</span>
                              </a>
                              
                              
                              
                              
                              
                              
                            </div>
                            
                            
                         <?php  }  else {}?>
                            
                           <?php  } else { echo "<div>"; };?>
                            
                            
                            
        <?php 

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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$ID_p = $row["ID"];

$img = $row["img"];

$carpetafoto = $row["carpetafoto"];

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


	  }
$consulta->free_result();?>


        
        <?php 

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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$ID_p = $row["ID"];

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

	  }
$consulta->free_result();?>
        
        
<?php     $tam_ancho = 669;

include('concha.php');


$sql = "SELECT * FROM publicidades_swf WHERE lugar = 911";

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$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 $tdom ?>/<? 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>

      <?
	  }
$consulta->free_result();

?>

                    </div>
                     <div class="col-lg-12 col-xs-12 col-sm-12 col-md-12" >                 
                    <?php if ($adsense == '') {} else { echo $adsense; };?>
</div>
                
                   <div class="grid">



    <div id="" class="grid-item col-xs-12 col-sm-6 col-md-6 col-lg-6">

                       
                        <div id="" class="post">
                        
                           <?php $i = 0; ?> <? include 'marco1x.php'; if ($rss == 'no') {} else {include 'marco1_rssx.php';}; ?>
                        
                        </div>

                        </div>
                  
                 <div id="" class="grid-item col-xs-12 col-sm-6 col-md-6 col-lg-6">
                        
                
                        <div id="" class="post">
                        
                            <?php $i = 1; ?> <? include 'marco2x.php'; if ($rss == 'no') {} else {include 'marco2_rssx.php';}; ?>
                        
                        </div>
                             
                   </div>

            </div>

                </div>
        
        <!-- End of columns -->  

                <sidebar id="sidebar" class="col-sx-6 col-sm-6 col-md-3 col-lg-3" data-spy="" data-offset-top="">

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

                </sidebar>

          <!-- End of columns --> 

        </div>
                    
      <!-- /container -->
      <div class="clearfix"></div>

      <!-- Site footer -->
      
              <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>

        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js" integrity="sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7" crossorigin="anonymous"></script>

        <script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>

        <script src="http://multimediosmaldoni.net/bootstrap/bootstrap/js/iniciar.js"></script>

      