<style>
.img-contenedor img {
    -webkit-transition:all .5s ease; /* Safari y Chrome */
    -moz-transition:all .5s ease; /* Firefox */
    -o-transition:all .5s ease; /* IE 9 */
    -ms-transition:all .5s ease; /* Opera */
    width:100%;
}

.img-contenedor:hover img {
    -webkit-transform:scale(1.05);
    -moz-transform:scale(1.05);
    -ms-transform:scale(1.05);
    -o-transform:scale(1.05);
    transform:scale(1.05);
} </style>
           

<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> 
           
                   
          
            <div class="row">
            
            

 <div id="posteos" class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
      
       <div style=" ">&nbsp;<span style=" padding: 1px 5px 1px 5px; background-color: <?php if ($color_cat == '' or $color_cat == '#FFFFFF') { echo "#666666"; } else { echo $color_cat; }; ?>;font-family:<?php echo $style_titulo ?>;font-size:25px; color:#FFFFFF;"><?php echo $cat1 ?></span></div>
        
        
        
        
        
        <div class="well" style=" padding:0; margin:0;"></div>
        
        
        
                   

        
        
                           
                     <div class="col-lg-12 col-xs-12 col-sm-12 col-md-12" > 
                     
                     
                     <?php mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");

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

$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);?>
        
                     
                                     
                    <?php if ($adsense == '') {} else { echo $adsense; };?>
</div>
                <div class="clearfix"></div>

                   <div class="grid">
                        
                         
                        
                           <?php $i = 0; ?> <? include 'marco1x_seccion.php'; ?>
                        
                        

                        </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>
 </div>
          <!-- End of columns --> 

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

