mejoras en vista aplicacion

This commit is contained in:
humano 2018-10-27 17:16:51 -05:00
parent 3d9485d4bf
commit 36ce985870

View File

@ -13873,7 +13873,7 @@ if (mysqli_num_rows($sql)!='0'){
}else {
$size="150" ;
}
if($contenido !=""){$contenido = "<img class=' $lazy img img-responsive' src='milfs/images/loading.gif' data-src='$_SESSION[site]milfs/images/secure/?file=$size/$contenido' style='max-height: $size"."px !important;' >"; }
if($contenido !=""){$contenido = "<img class=' $lazy img img-responsive' src='milfs/images/sinimagen_$size.jpg' data-src='$_SESSION[site]milfs/images/secure/?file=$size/$contenido' style='max-height: $size"."px !important;' >"; }
else{$contenido=" ";}
}
elseif($campo_tipo=='14'){
@ -13887,7 +13887,7 @@ if (mysqli_num_rows($sql)!='0'){
//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 ='https://staticmap.openstreetmap.co/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='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' >
";
} else { $contenido =' ';}
@ -13922,7 +13922,7 @@ if (mysqli_num_rows($sql)!='0'){
$size="600" ;
if($contenido !=""){
$imagen = "<img id='imagen_$row[id_campo]_$control' class='imagen_galeria img img-rounded $lazy img-responsive' src='milfs/images/loading.gif' data-src='$_SESSION[site]milfs/images/secure/?file=$size/$contenido' >";
$imagen = "<img id='imagen_$row[id_campo]_$control' class='imagen_galeria img img-rounded $lazy ' src='milfs/images/sinimagen_600.jpg' data-src='$_SESSION[site]milfs/images/secure/?file=$size/$contenido' >";
$contenido ="";
}
else{$contenido=" ";}
@ -14002,8 +14002,9 @@ if (mysqli_num_rows($sql)!='0'){
}
if($tipo=="titulos") { $identificador ="<th class='col_$row[id_campo] col_control control_planilla'>Identificador</th>"; }
else {$identificador ="<td class='col_$row[id_campo] control_planilla col_control $clase_interaccion'> $control $interaccion_form </td>";}
if($tipo=="titulos") { $identificador ="<th class='col_$row[id_campo] col_control control_planilla'></th>"; }
else {
$identificador ="<td class='col_$row[id_campo] control_planilla col_control $clase_interaccion'> $control $interaccion_form </td>";}
$resultado .="$td $identificador ";
}
else{
@ -14022,7 +14023,7 @@ elseif( $tipo=='galeria' ) {
$resultado ="<div class=' div_galeria text-center'>
<div class='thumbnail_imagen_galeria img-thumbnail'>
$imagen
<div class='capitio_imagen_galeria caption'><ul class='ul_galeria list-group'>$leyenda</ul></div>
<div class='caption_imagen_galeria caption'><ul class='ul_galeria list-group'>$leyenda</ul></div>
</div>
</div>";
return $resultado;
@ -14032,7 +14033,7 @@ elseif($tipo =="array") {
return $array;
}
elseif($tipo =="titulos") {
return "$contenido<th>Identificador</th>";
return "$contenido<th class='control_planilla'>Identificador</th>";
}
else{
return $contenido;