Esteroides las tablas tablas

This commit is contained in:
humano 2018-02-18 12:36:17 -05:00
parent 4084eeae7a
commit 16e441025b

View File

@ -1399,9 +1399,17 @@ $tipo= array("linea_planilla","","$area_principal");
if($campo !=""){ if($campo !=""){
$campo_chequeo_nombre = remplacetas('form_campos','id',"$campo",'campo_nombre',"") ; $campo_chequeo_nombre = remplacetas('form_campos','id',"$campo",'campo_nombre',"") ;
$campo_chequeo_nombre = "$campo_chequeo_nombre[0] /"; $campo_chequeo_nombre = "$campo_chequeo_nombre[0] /";
} $valor_encode = urlencode("$valor");
$cadena_busqueda ="<h3 class='text-danger'>$campo_chequeo_nombre $valor</h3>"; $uri ="$_SESSION[site]m$id&campo=$campo&valor=$valor_encode";
$cadena_busqueda ="
<h3 class='text-danger'>$campo_chequeo_nombre $valor</h3>
<div class='input-group'>
<span class='input-group-addon'>URL</span>
<input class='form-control' value='$uri' >
</div>
";
}
$id_empresa= $empresa[0]; $id_empresa= $empresa[0];
$imagen = remplacetas("empresa","id",$id_empresa,"imagen",""); $imagen = remplacetas("empresa","id",$id_empresa,"imagen","");
$razon_social = remplacetas("empresa","id",$id_empresa,"razon_social",""); $razon_social = remplacetas("empresa","id",$id_empresa,"razon_social","");
@ -1417,7 +1425,7 @@ $tipo= array("linea_planilla","","$area_principal");
<div class=''col-xs-10> <div class=''col-xs-10>
<h1>$razon_social[0] <small>$slogan[0]</small></h1> <h1>$razon_social[0] <small>$slogan[0]</small></h1>
<h2>$nombre_formulario[0] <small>$descripcion_formulario[0]</small></h2> <h2>$nombre_formulario[0] <small>$descripcion_formulario[0]</small></h2>
$cadena_busqueda
</div> </div>
</div>"; </div>";
@ -1440,7 +1448,7 @@ $linea = formulario_imprimir_linea("$id","$row[control]",$tipo);
} }
$tabla= " $cabecera $filtro_campos $filtro $area_principal $tabla= " <div class='container'> $cabecera $cadena_busqueda $filtro_campos $filtro
<div class='table-responsive' > <div class='table-responsive' >
<table id='planilla' class='table table-bordered table-striped table-responsive table-hover'> <table id='planilla' class='table table-bordered table-striped table-responsive table-hover'>
<thead> <th></th> <thead> <th></th>
@ -1449,7 +1457,7 @@ $tabla= " $cabecera $filtro_campos $filtro $area_principal
<tbody> <tbody>
$despliegue $despliegue
</tbody> </tbody>
</table></div> </table></div></div>
<script type='text/javascript'> <script type='text/javascript'>
$('#planilla').DataTable( { $('#planilla').DataTable( {