mejoras en infinity scroll

This commit is contained in:
humano 2018-11-26 12:06:37 -05:00
parent b4c3397c8d
commit ae3965fb13

View File

@ -297,7 +297,7 @@ function vista_voyeur($form){
<div class='container-fluid'>
<div style='overflow-y: scroll; overflow-x: hidden; max-height: calc(100vh - 50px); min-height: calc(100vh - 50px); '>
<br>
<div class='table-responsive'>
<div class='container'>
<table class='table table-bordered table-striped exportable'>
<thead></thead>
<tbody style=' ' id='scroll-galeria' >
@ -13690,8 +13690,8 @@ if (mysqli_num_rows($sql)!='0'){
$url_pin = urlencode("$_SESSION[site]milfs/images/iconos/pin.png");
$contenido = "
<img class=' mapa_estatico lazy img img-rounded img-responsive' style='' src ='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=600x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
<a href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa'>Ampliar mapa</a>
<img class='xx mapa_estatico lazy img img-rounded img-responsive' style='' src ='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=1000x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
<a href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa'>Ampliar mapa xx</a>
"; }else{ $contenido ="<div class='alert alert-danger'>No se ha definido un token de mapbox</div>";}
}
}
@ -13855,7 +13855,7 @@ if($contenido_original !="") {
$metadatos = " ".date('Y-m-d H:i:s',$contenido_array[1])." id $contenido_array[0] proceso $contenido_array[5] usuario $contenido_array[6] ip ".long2ip($contenido_array[7])." campo $row[id_campo] ";
}else {$metadatos='';}
$resultado .= "
<div id='contenedor_$row[id_campo]' class='container-fluid contenedor_campo '>
<div id='contenedor_$row[id_campo]' class=' contenedor_campo '>
<pdata-toc-skip class='campo_contenido tipo_$campo_tipo' id='contenido_$row[id_campo]'>
<span type= '$campo_tipo' class=' campo_titulo campo_nombre' id='nombre_$row[id_campo]'>$campo_nombre[0]:
<p class='contenido_item '><b>$contenido</b>
@ -13903,7 +13903,7 @@ if($tiene_plantilla != ""){
/// $full = preg_replace("/<[^\/][^<>]*> *<\/[^<>]*>/", "", $full );
}else {
$full= "<div class='full_identificador $class'>$resultado </div>";
$full= "<div class='full_identificador $class container'>$resultado </div>";
}
$resultado ="$full";
@ -14467,7 +14467,7 @@ if (mysqli_num_rows($sql)!='0'){
$contenido = "
<img class='mapa_estatico mapa_estatico_planilla $lazy img-rounded img img-responsive' style='max-height: 100px !important;' $src='milfs/images/sinimagen_150.jpg' $data_src='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=250x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
<a class='link_mapa' href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa'>Ampliar mapa</a>";
<a class='link_mapa' href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa'>Ampliar mapa </a>";
} else { $contenido =' ';}
//return "vacio";
@ -14565,7 +14565,7 @@ if (mysqli_num_rows($sql)!='0'){
$zoom = $campos[2];
// @require("includes/datos.php");
$contenido = "
<img style='height:100px;' class='mapa_estatico 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' >";
<img style='height:100px;' class='mapa_estatico lazy img-rounded img img-responsive' 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>";}