forked from qwerty/tupali
correcion en tabla
This commit is contained in:
parent
8a818ff503
commit
0ca84e6905
@ -1345,7 +1345,7 @@ function checklist($id,$registros,$campo,$valor,$accion){
|
|||||||
$link=Conectarse();
|
$link=Conectarse();
|
||||||
mysqli_set_charset($link, "utf8");
|
mysqli_set_charset($link, "utf8");
|
||||||
|
|
||||||
if($registros =="") { $registros = '15';}
|
if($registros =="") { $registros = '300';}
|
||||||
$publico = remplacetas('form_id','id',"$id",'publico',"") ;
|
$publico = remplacetas('form_id','id',"$id",'publico',"") ;
|
||||||
$propietario = remplacetas('form_id','id',$id,'propietario',"") ;
|
$propietario = remplacetas('form_id','id',$id,'propietario',"") ;
|
||||||
$empresa = remplacetas("form_id","id","$id","id_empresa","");
|
$empresa = remplacetas("form_id","id","$id","id_empresa","");
|
||||||
@ -1442,13 +1442,15 @@ $fila=1;
|
|||||||
//$tipo="linea_planilla";
|
//$tipo="linea_planilla";
|
||||||
while( $row = mysqli_fetch_array( $sql ) ) {
|
while( $row = mysqli_fetch_array( $sql ) ) {
|
||||||
|
|
||||||
|
/*
|
||||||
if($fila % $registros == 0) {$separador="</table></div >$pie<div class='saltopagina'></div>
|
if($fila % $registros == 0) {$separador="</table></div >$pie<div class='saltopagina'></div>
|
||||||
|
|
||||||
$cabecera
|
$cabecera
|
||||||
<div class='table-responsive' >
|
<div class='table-responsive' >
|
||||||
<table id='planilla' class='table table-bordered table-striped'>
|
<table id='planilla' class='table table-bordered table-striped'>
|
||||||
<thead><th></th>$titulo</thead>";}else {$separador="";}
|
<thead><th></th>$titulo</thead>";}else {$separador="";}
|
||||||
|
*/
|
||||||
|
|
||||||
//$linea = formulario_imprimir_linea("$id","$row[control]",$tipo);
|
//$linea = formulario_imprimir_linea("$id","$row[control]",$tipo);
|
||||||
$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";
|
$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
|
//http://staticmap.openstreetmap.de/staticmap.php?center=40.714728,-73.998672&zoom=14&size=865x512&maptype=mapnik
|
||||||
|
|
||||||
$contenido = "
|
$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 ='';}
|
} else { $contenido ='';}
|
||||||
|
|
||||||
@ -12993,7 +12995,7 @@ if(!isset($_REQUEST['print'])) { $src ="data-src";}else{ $src =" print src"; }
|
|||||||
if($size > $limite) {
|
if($size > $limite) {
|
||||||
$contenido = substr($contenido,0, $length = 300)."... ";//$contenido;
|
$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($campo_tipo=='14'){
|
||||||
if($contenido !='') {
|
if($contenido !='') {
|
||||||
$campos = explode(" ",$contenido);
|
$campos = explode(" ",$contenido);
|
||||||
@ -13002,7 +13004,7 @@ if(!isset($_REQUEST['print'])) { $src ="data-src";}else{ $src =" print src"; }
|
|||||||
$zoom = $campos[2];
|
$zoom = $campos[2];
|
||||||
// @require("includes/datos.php");
|
// @require("includes/datos.php");
|
||||||
$contenido = "
|
$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 ='';}
|
} else { $contenido ='';}
|
||||||
}
|
}
|
||||||
elseif($campo_tipo=='4'){ $contenido = "<a href='$contenido' target='_blank'>$contenido</a>";}
|
elseif($campo_tipo=='4'){ $contenido = "<a href='$contenido' target='_blank'>$contenido</a>";}
|
||||||
|
Loading…
Reference in New Issue
Block a user