mejoras en parametrizacion de mapero

This commit is contained in:
humano 2019-07-26 12:10:00 -05:00
parent ccea5f6b66
commit 7a70f95f5b
4 changed files with 22 additions and 14 deletions

View File

@ -1668,7 +1668,7 @@ echo $css_adicional;
echo "
";
echo mas_visto("ultimos","4","4");
echo mas_visto("ultimos","4","4","","");
echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";
// echo mas_visto("identificador","4","");
//echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";

View File

@ -1,7 +1,10 @@
/* Adding gvnix styles css - NO COPIAR */
/* @import 'http://geo-gvnix.rhcloud.com/resources/styles/standard.css';*/
/* Custom fixed navs */
.list-group-item {
background-color: #2e353d !important ;
border:none;
};
.sidebar-logo{
padding: 20px;
margin: 0px auto;

View File

@ -15,15 +15,15 @@ if(isset($_REQUEST[categoria]) AND isset($_REQUEST[buscar])) {
$_REQUEST['buscar'] = "$_REQUEST[categoria]:$_REQUEST[buscar]";
}
$formulario_nombre = remplacetas('form_id','id',$_REQUEST[id],'nombre') ;
$formulario_descripcion = remplacetas('form_id','id',$_REQUEST[id],'descripcion') ;
$formulario_nombre = remplacetas('form_id','id',$_REQUEST[id],'nombre',"","") ;
$formulario_descripcion = remplacetas('form_id','id',$_REQUEST[id],'descripcion',"","") ;
$descripcion_meta = preg_replace("[\n|\r|\n\r|\t]",'', strip_tags($formulario_descripcion[0]));
$agregar_nombre = remplacetas('form_id','id',$agregar,'nombre') ;
$id_empresa = remplacetas('form_id','id',$_REQUEST[id],'id_empresa') ;
$twitter = remplacetas('empresa','id',"$id_empresa[0]",'twitter','') ;
$agregar_nombre = remplacetas('form_id','id',$agregar,'nombre',"","") ;
$id_empresa = remplacetas('form_id','id',$_REQUEST[id],'id_empresa',"","") ;
$twitter = remplacetas('empresa','id',"$id_empresa[0]",'twitter','',"","") ;
if($twitter[0] =="") {$twitter[0] ="@tupaleCo";}
$logo = remplacetas('empresa','id',"$id_empresa[0]",'imagen','') ;
$razon_social = remplacetas('empresa','id',"$id_empresa[0]",'razon_social','') ;
$logo = remplacetas('empresa','id',"$id_empresa[0]",'imagen','',"","") ;
$razon_social = remplacetas('empresa','id',"$id_empresa[0]",'razon_social','',"","") ;
$campos_formulario = input_campos("$_REQUEST[id]","categoria");
$uri = "$_SERVER[SERVER_NAME]/$_SERVER[REQUEST_URI]";
$background_imagen = buscar_imagen("$_REQUEST[id]","","","$id_empresa");
@ -66,7 +66,9 @@ $plantilla ="mapa";
<script src="librerias/jquery/jquery-2.1.4.min.js"></script>
<script src="librerias/leaflet/leaflet-providers.js"></script>
<script src="librerias/leaflet/leaflet-search.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="milfs/css/bootstrap.css">
<link rel="stylesheet" href="librerias/bootstrap/css/bootstrap.min.css" >
<link rel="stylesheet" href="librerias/leaflet/leaflet.css" />
<script src="librerias/leaflet/leaflet.js"></script>
<link rel="stylesheet" href="librerias/leaflet/dist/MarkerCluster.css" />
@ -74,7 +76,7 @@ $plantilla ="mapa";
<script src="librerias/leaflet/dist/leaflet.markercluster-src.js"></script>
<script type="text/javascript" src="milfs/geojson.js.php?id=<?php echo $_REQUEST['id'] ?>&buscar=<?php echo $_REQUEST['buscar'] ?>&item=<?php echo $_REQUEST['item'] ?>"></script>
<?php
$otro_json = remplacetas('form_parametrizacion','campo',$_REQUEST[id],'descripcion'," tabla='form_id' and opcion = 'json'") ;;
$otro_json = remplacetas('form_parametrizacion','campo',$_REQUEST[id],'descripcion'," tabla='form_id' and opcion = 'json'","","") ;;
//$obj = file_get_contents('https://www.kleper.net/wiki/RutaPazTerritorial.geojson');
$ids = json_decode($otro_json[0]);
foreach ($ids as $clave => $valor) {
@ -196,8 +198,11 @@ $ids = json_decode($otro_json[0]);
}
</style>
<?php
$categorias = lista_categorias($_REQUEST['id'],'','') ;
$categorias = lista_categorias($_REQUEST['id'],'','mapa') ;
$css_adicional = remplacetas('form_parametrizacion','campo',"index",'descripcion'," tabla='css' and opcion = 'adicional' and id_empresa = '$id_empresa[0]'") ;
$fijar_barra = remplacetas('form_parametrizacion','campo',$_REQUEST['id'],'descripcion'," tabla='form_id' and opcion = 'fijar_barra'") ;
$mostrar_items = remplacetas('form_parametrizacion','campo',$_REQUEST['id'],'descripcion'," tabla='form_id' and opcion = 'mostrar_items'") ;
if( $fijar_barra[0]=='0'){ $sidebar='sidebar';} else{$sidebar='';}
if($css_adicional[0] !="") {
$css_adicional ="<style >
@ -213,7 +218,7 @@ $ids = json_decode($otro_json[0]);
<body>
<!--nav sidebar -->
<aside>
<nav class="navbar navbar-inverse sidebar navbar-fixed-top" role="navigation">
<nav class="navbar navbar-inverse <?php echo $sidebar; ?> navbar-fixed-top" role="navigation">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href="librerias/leaflet/css/sidebar.css" rel="stylesheet">

2
milfs

@ -1 +1 @@
Subproject commit 6a5e5f637a738b19016ea2b98305d71b7e88e431
Subproject commit e486accc9f353130aa245cc18ac7417c8e2a5e1f