Merge branch 'master' of kleper/milfskleper into master

This commit is contained in:
Fredy Rivera 2018-10-03 09:37:49 -05:00 committed by Gitea
commit 25380632d0

View File

@ -6141,7 +6141,7 @@ if (mysqli_num_rows($sql)!='0'){
$url_pin =urlencode("$_SESSION[site]milfs/images/iconos/pin.png");
$miniatura = "
<img alt='$row[nombre]' class=' lazy imagen_presentacion img-responsive img-rounded' style='width:100%' data-src='http://staticmap.openstreetmap.de/staticmap.php?center=$lon,$lat&zoom=$zoom&size=250x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
<img alt='$row[nombre]' class=' lazy imagen_presentacion img-responsive img-rounded' style='width:100%' data-src='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=250x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
<br>";
/* $miniatura = "
@ -12656,7 +12656,7 @@ if (mysqli_num_rows($sql)!='0'){
$url_pin = urlencode("$_SESSION[site]milfs/images/iconos/pin.png");
$contenido = "
<img class='lazy img img-round img-responsive' style='width:100%' src ='http://staticmap.openstreetmap.de/staticmap.php?center=$lon,$lat&zoom=$zoom&size=250x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
<img class='lazy img img-round img-responsive' style='width:100%' src ='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=250x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
"; }else{ $contenido ="<div class='alert alert-danger'>No se ha definido un token de mapbox</div>";}
}
}
@ -13344,10 +13344,10 @@ if(!isset($_REQUEST['print'])) { $src ="data-src";}else{ $src =" print src"; }
$zoom = $campos[2];
//@require("includes/datos.php");
//$url_pin =urlencode("$_SESSION[site]milfs/images/iconos/pin.png");
//http://staticmap.openstreetmap.de/staticmap.php?center=40.714728,-73.998672&zoom=14&size=865x512&maptype=mapnik
//https://staticmap.openstreetmap.co/staticmap.php?center=40.714728,-73.998672&zoom=14&size=865x512&maptype=mapnik
$contenido = "
<img class='$lazy img-round img img-responsive' style='max-height: 100px !important;' src ='http://staticmap.openstreetmap.de/staticmap.php?center=$lon,$lat&zoom=$zoom&size=250x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
<img class='$lazy img-round img img-responsive' style='max-height: 100px !important;' src ='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=250x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
";
} else { $contenido ='';}
@ -13411,7 +13411,7 @@ if(!isset($_REQUEST['print'])) { $src ="data-src";}else{ $src =" print src"; }
$zoom = $campos[2];
// @require("includes/datos.php");
$contenido = "
<img style='height:100px;' class='lazy img-rounded img ' data-src ='http://staticmap.openstreetmap.de/staticmap.php?center=$lon,$lat&zoom=$zoom&size=350x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' src ='http://staticmap.openstreetmap.de/staticmap.php?center=$lon,$lat&zoom=$zoom&size=350x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >";
<img style='height:100px;' class='lazy img-rounded img ' data-src ='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=350x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' src ='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=350x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >";
} else { $contenido ='';}
}
elseif($campo_tipo=='4'){ $contenido = "<a href='$contenido' target='_blank'>$contenido</a>";}