1
0
Fork 0

correcion en tabla

This commit is contained in:
humano 2018-02-19 07:34:14 -05:00
parent 8a818ff503
commit 0ca84e6905
1 changed files with 7 additions and 5 deletions

View File

@ -1345,7 +1345,7 @@ function checklist($id,$registros,$campo,$valor,$accion){
$link=Conectarse();
mysqli_set_charset($link, "utf8");
if($registros =="") { $registros = '15';}
if($registros =="") { $registros = '300';}
$publico = remplacetas('form_id','id',"$id",'publico',"") ;
$propietario = remplacetas('form_id','id',$id,'propietario',"") ;
$empresa = remplacetas("form_id","id","$id","id_empresa","");
@ -1442,13 +1442,15 @@ $fila=1;
//$tipo="linea_planilla";
while( $row = mysqli_fetch_array( $sql ) ) {
/*
if($fila % $registros == 0) {$separador="</table></div >$pie<div class='saltopagina'></div>
$cabecera
<div class='table-responsive' >
<table id='planilla' class='table table-bordered table-striped'>
<thead><th></th>$titulo</thead>";}else {$separador="";}
*/
//$linea = formulario_imprimir_linea("$id","$row[control]",$tipo);
$linea = formulario_imprimir_linea("$id","$row[control]",$tipo);
$despliegue .= "<tr><td><small>$fila</small></td>$linea</tr> $separador";
@ -12938,7 +12940,7 @@ if(!isset($_REQUEST['print'])) { $src ="data-src";}else{ $src =" print src"; }
//http://staticmap.openstreetmap.de/staticmap.php?center=40.714728,-73.998672&zoom=14&size=865x512&maptype=mapnik
$contenido = "
<img class='$lazy img-round img img-responsive' 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 ='http://staticmap.openstreetmap.de/staticmap.php?center=$lon,$lat&zoom=$zoom&size=250x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
";
} else { $contenido ='';}
@ -12993,7 +12995,7 @@ if(!isset($_REQUEST['print'])) { $src ="data-src";}else{ $src =" print src"; }
if($size > $limite) {
$contenido = substr($contenido,0, $length = 300)."... ";//$contenido;
}
if($campo_tipo=='15' AND $tipo !="csv"){if($contenido !=""){$contenido = "<img class='img img-rounded' style='height:100px;' src='$_SESSION[site]milfs/images/secure/?file=600/$contenido'>"; }else{$contenido="";}}
if($campo_tipo=='15' AND $tipo !="csv"){if($contenido !=""){$contenido = "<img alt='$contenido' class='img img-rounded' style='height:100px;' data-src='$_SESSION[site]milfs/images/secure/?file=600/$contenido' src='$_SESSION[site]milfs/images/secure/?file=600/$contenido'>"; }else{$contenido="";}}
if($campo_tipo=='14'){
if($contenido !='') {
$campos = explode(" ",$contenido);
@ -13002,7 +13004,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' >";
<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' >";
} else { $contenido ='';}
}
elseif($campo_tipo=='4'){ $contenido = "<a href='$contenido' target='_blank'>$contenido</a>";}