<?php include 'concha.php';?>
<?php include 'lang_es_no_panel.php';?>

<?php $titulo = "$nombresitio / $lang_programacion";
include 'arriba_full.php'
?> 

 <div  id="grid" class="news-summary col-lg-8 col-md-8 col-sm-12 col-12 p-0" >





    <div class="widget-head">
                    <h3 <? if ($estiloweb <= 3){echo 'style="padding: 1px 5px 1px 5px; background-color:'; echo $d_color_fondo_menu; echo ';font-family:'; echo $style_titulo; echo ';font-size:25px;color:#ffffff;"'; } else {echo 'class="widget-title"';} ?>>
                        <span><? echo $lang_100107 ?></span>
                    </h3>
        </div>

         <div class="grid mt-3">
        <?


include 'concha.php';
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql = "SELECT * FROM fotosoyentes WHERE ver = 'si' ORDER BY rand() LIMIT 50";
$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$ID = $row["ID"];
$foto = $row["img"];
$texto = $row["texto"];

?>

    <div class="grid-item col-12 col-sm-6 col-md-4 mb-3">
        <a data-lightbox="12" 
            href="upload_pic/resize_<?php echo $foto ?>.jpg"  
            title="<?php if ($texto == NULL) { echo ".";} else { echo $texto;} ?>">
            
            <img  class="img-fluid" src="upload_pic/thumbnail_<?php echo $foto ?>.jpg" />
            
        </a>
        
    </div>
         
  
       <?  }


mysql_free_result($consulta);?>

</div>




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