1
0
forked from qwerty/milfs

correcion bug imagenes en impresion de planilla

This commit is contained in:
humano 2018-10-27 18:54:26 -05:00
parent 36ce985870
commit 0264ec93ed

View File

@ -13802,7 +13802,7 @@ if (mysqli_num_rows($sql)!='0'){
$td .= "<td class='planilla_contenido_$control' >$imagen</td>"; $td .= "<td class='planilla_contenido_$control' >$imagen</td>";
}else {$imagen='';} }else {$imagen='';}
if(!isset($_REQUEST['print'])) { $src ="data-src";}else{ $src =" print src"; } if(!isset($_REQUEST['print'])) { $data_src= "data-src"; $src ="src";}else{ $src =" "; $data_src =" print src"; }
//return " id= $id // $consulta" ;//print_r($tipo_original); //return " id= $id // $consulta" ;//print_r($tipo_original);
while( $row = mysqli_fetch_array( $sql ) ) { while( $row = mysqli_fetch_array( $sql ) ) {
@ -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/sinimagen_$size.jpg' 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='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' > <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 =' ';}