forked from qwerty/tupali
Modificando las vistas predeterminadas en el landingpage
This commit is contained in:
parent
448c58dc0b
commit
4f1a71ad10
@ -125,7 +125,7 @@ if ($variable !=''){
|
|||||||
$background_imagen = buscar_imagen("$set","","","$id_empresa");
|
$background_imagen = buscar_imagen("$set","","","$id_empresa");
|
||||||
$uri_set = "";
|
$uri_set = "";
|
||||||
$cantidad_registros="";
|
$cantidad_registros="";
|
||||||
$orden="ASC";
|
$orden="DESC";
|
||||||
|
|
||||||
$menu ="
|
$menu ="
|
||||||
<div class='col-sm-2 hidden-xs hidden-sm'>
|
<div class='col-sm-2 hidden-xs hidden-sm'>
|
||||||
|
5
librerias/jquery/jquery-1.11.3.min.js
vendored
Normal file
5
librerias/jquery/jquery-1.11.3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -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>
|
<a class='btn btn-info ' target='api' href='$_SESSION[site]/milfs/api.php?id=$id&tipo=simple'> {json simple}</a>
|
||||||
$mapa
|
$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]/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]/g$id?registros=10'>Embeber</a>
|
||||||
<a class='btn btn-info ' target='api' href='$_SESSION[site]/opendata.php?tipo=documento&id=$id'>Doc</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','') ;
|
$nombre = remplacetas('form_id','id',$id_form,'nombre','') ;
|
||||||
$resultado = "
|
$resultado = "
|
||||||
<a name='cabecera'></a>
|
<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>
|
<h2>$descripcion[0]</h2>
|
||||||
$acciones
|
$acciones
|
||||||
<div id='mostrar_resultado' class='mostrar_resultado_landingpage'>
|
<div id='mostrar_resultado' class='mostrar_resultado_landingpage'>
|
||||||
@ -3781,7 +3781,7 @@ if (mysqli_num_rows($sql)!='0'){
|
|||||||
$contenido = "";
|
$contenido = "";
|
||||||
if(!isset($mapbox_token)) { include("milfs/includes/datos.php"); if(!isset($mapbox_token)) {$error_token = 1; } else {$error_token = "";}}
|
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 ) ) {
|
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'],'','','');
|
$imagen = buscar_imagen($row['id'],'','','');
|
||||||
$geo = buscar_campo_tipo($row['id'],"14");
|
$geo = buscar_campo_tipo($row['id'],"14");
|
||||||
$ultimo_mapa = remplacetas('form_datos','form_id',$row['id'],'contenido'," id_campo = '$geo[0]'") ;
|
$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 ="
|
$imagen ="
|
||||||
|
|
||||||
<figure>
|
<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]'>
|
<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> -->
|
<!-- <figcaption class='articulo_caption' >$row[nombre]</figcaption> -->
|
||||||
</a>
|
</a>
|
||||||
@ -3822,7 +3822,7 @@ if (mysqli_num_rows($sql)!='0'){
|
|||||||
";
|
";
|
||||||
}
|
}
|
||||||
$contenido ="
|
$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
|
$imagen
|
||||||
<p class='descripcion_formulario text-left'>$descripcion_limpia </p>";
|
<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'>
|
<div class='col-lg-4 col-md-12 animate-box'>
|
||||||
<br>
|
<br>
|
||||||
<figure>
|
<figure>
|
||||||
<a href='b$row[id]?registros=10'>
|
<a href='s$row[id]?registros=10'>
|
||||||
$imagen
|
$imagen
|
||||||
</a>
|
</a>
|
||||||
<figcaption>$row[nombre]</figcaption>
|
<figcaption>$row[nombre]</figcaption>
|
||||||
@ -14662,4 +14662,3 @@ $xajax->registerFunction("XXX");
|
|||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user