Modificando las vistas predeterminadas en el landingpage

This commit is contained in:
kleper 2017-08-20 12:53:00 -05:00
parent 448c58dc0b
commit 4f1a71ad10
3 changed files with 295 additions and 291 deletions

View File

@ -125,7 +125,7 @@ if ($variable !=''){
$background_imagen = buscar_imagen("$set","","","$id_empresa");
$uri_set = "";
$cantidad_registros="";
$orden="ASC";
$orden="DESC";
$menu ="
<div class='col-sm-2 hidden-xs hidden-sm'>

5
librerias/jquery/jquery-1.11.3.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -552,7 +552,7 @@ $acciones="<div class='btn-group' role='group' aria-label='...'>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/milfs/api.php?id=$id&tipo=simple'> {json simple}</a>
$mapa
<a class='btn btn-info ' target='api' href='$_SESSION[site]/b$id?registros=10'>Mostrar</a>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/s$id?registros=10'>Mostrar</a>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/f$id?registros=10'>Llenar</a>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/g$id?registros=10'>Embeber</a>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/opendata.php?tipo=documento&id=$id'>Doc</a>
@ -3281,7 +3281,7 @@ $acciones="
$nombre = remplacetas('form_id','id',$id_form,'nombre','') ;
$resultado = "
<a name='cabecera'></a>
<h1><a href='b$id_form'>$nombre[0]</a></h1>
<h1><a href='s$id_form'>$nombre[0]</a></h1>
<h2>$descripcion[0]</h2>
$acciones
<div id='mostrar_resultado' class='mostrar_resultado_landingpage'>
@ -3781,7 +3781,7 @@ if (mysqli_num_rows($sql)!='0'){
$contenido = "";
if(!isset($mapbox_token)) { include("milfs/includes/datos.php"); if(!isset($mapbox_token)) {$error_token = 1; } else {$error_token = "";}}
while( $row = mysqli_fetch_array( $sql ) ) {
//$link = "<a href='b$row[id]?registros=10'> Consultar <i class='glyphicon glyphicon-external-link-square'></i></a>";
//$link = "<a href='s$row[id]?registros=10'> Consultar <i class='glyphicon glyphicon-external-link-square'></i></a>";
$imagen = buscar_imagen($row['id'],'','','');
$geo = buscar_campo_tipo($row['id'],"14");
$ultimo_mapa = remplacetas('form_datos','form_id',$row['id'],'contenido'," id_campo = '$geo[0]'") ;
@ -3814,7 +3814,7 @@ if (mysqli_num_rows($sql)!='0'){
$imagen ="
<figure>
<a href='b$row[id]?registros=10'>
<a href='s$row[id]?registros=10'>
<img style='max-height:170px; ' class='img img-rounded img-responsive' src='milfs/images/secure/?file=300/$imagen' alt='$row[nombre]'>
<!-- <figcaption class='articulo_caption' >$row[nombre]</figcaption> -->
</a>
@ -3822,7 +3822,7 @@ if (mysqli_num_rows($sql)!='0'){
";
}
$contenido ="
<h2 class='text-center titulo_formulario section-heading'><a href='b$row[id]?registros=10'>$row[nombre] <i class='glyphicon glyphicon-external-link-square'></i></a></h2>
<h2 class='text-center titulo_formulario section-heading'><a href='s$row[id]?registros=10'>$row[nombre] <i class='glyphicon glyphicon-external-link-square'></i></a></h2>
$imagen
<p class='descripcion_formulario text-left'>$descripcion_limpia </p>";
@ -3900,7 +3900,7 @@ if($publico[0] =='1') {
<div class='col-lg-4 col-md-12 animate-box'>
<br>
<figure>
<a href='b$row[id]?registros=10'>
<a href='s$row[id]?registros=10'>
$imagen
</a>
<figcaption>$row[nombre]</figcaption>
@ -14662,4 +14662,3 @@ $xajax->registerFunction("XXX");
?>