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 { }else {
$size="150" ; $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=" ";} else{$contenido=" ";}
} }
elseif($campo_tipo=='14'){ 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 //https://staticmap.openstreetmap.co/staticmap.php?center=40.714728,-73.998672&zoom=14&size=865x512&maptype=mapnik
$contenido = " $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 =' ';} } else { $contenido =' ';}
@ -13922,7 +13922,7 @@ if (mysqli_num_rows($sql)!='0'){
$size="600" ; $size="600" ;
if($contenido !=""){ 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 =""; $contenido ="";
} }
else{$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>"; } 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>";} else {
$identificador ="<td class='col_$row[id_campo] control_planilla col_control $clase_interaccion'> $control $interaccion_form </td>";}
$resultado .="$td $identificador "; $resultado .="$td $identificador ";
} }
else{ else{
@ -14022,7 +14023,7 @@ elseif( $tipo=='galeria' ) {
$resultado ="<div class=' div_galeria text-center'> $resultado ="<div class=' div_galeria text-center'>
<div class='thumbnail_imagen_galeria img-thumbnail'> <div class='thumbnail_imagen_galeria img-thumbnail'>
$imagen $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>
</div>"; </div>";
return $resultado; return $resultado;
@ -14032,7 +14033,7 @@ elseif($tipo =="array") {
return $array; return $array;
} }
elseif($tipo =="titulos") { elseif($tipo =="titulos") {
return "$contenido<th>Identificador</th>"; return "$contenido<th class='control_planilla'>Identificador</th>";
} }
else{ else{
return $contenido; return $contenido;