
        
        
        
          <div id="bannergrande" class="row">

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

                     <div id="myCarousel6" 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"]; $ext_img = $row["ext_img"];
$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">
                                           <div align="left"  style="font-size:19px;  font-family:<?php echo $style_titulo ?>; "><?php echo $titulo ?></div>
<div align="left" style=" font-size:15px; <?php echo $style_bajada ?> "><?php echo $texto ?></div>
                                    </div><?php };?>
                                   <?php if($nota == 0) {} else {?> </a>
                                  
                                  
                                  
                                   <?php };?> 
                                </div>


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

</div>

                              <!-- Left and right controls -->
                              <a class="left carousel-control" href="#myCarousel6" 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="#myCarousel6" role="button" data-slide="next">
                                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                                <span class="sr-only">Next</span>
                              </a>
                            </div>

                    </div>
              
          </div>  
