processRequests(); //if($_REQUEST[id2] =='') {$agregar= $_REQUEST[id];}else {$agregar = $_REQUEST[id2];} if(isset($_REQUEST['categoria']) AND isset($_REQUEST['buscar'])) { $cadena_busqueda = "$_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',"","") ; $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','',"","") ; if($twitter[0] =="") {$twitter[0] ="@tupaleCo";} $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"); $plantilla ="mapa"; $categorias = lista_categorias($_REQUEST['id'],'','mapa') ; $proveedor_mapa = remplacetas('form_parametrizacion','campo',$_REQUEST['id'],'descripcion'," tabla='form_id' and opcion = 'proveedor_mapa'") ;; if($proveedor_mapa[0] !=""){ $proveedor ="'$proveedor_mapa[0]'"; }else{ $proveedor = "'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'"; } $buscador ="
$campos_formulario'


"; ?> <?php echo "$formulario_nombre[0] / $cadena_busqueda" ?> tupale.co tupale.co"> "> tupale.co" /> " /> " /> "> printJavascript("milfs/xajax/"); ?> $valor) { if($valor !=""){ $obj=file_get_contents("$valor[0]"); $li .=""; $layer .= " var geojsonAux_$clave = L.geoJson(geojsonAuxiliar_$clave, { pointToLayer: function(feature, latlng) { var smallIcon = new L.Icon({ iconSize: [100, 100], iconAnchor: [13, 27], popupAnchor: [1, -24], className: 'mapIcon', /*iconUrl: feature.properties.icon.iconUrl*/ iconUrl: 'https://tupale.co/milfs/images/secure/?file=150/da6d16547658ebc06c5378b30d1ee4bf.png' }); return L.marker(latlng, {icon: smallIcon}); }, onEachFeature: function(feature, layer) { var popupText = feature.properties.description layer.bindPopup(popupText); } }); "; $add_layer .= "markers.addLayer(geojsonAux_$clave);"; $capas_nombre .="geojsonAux_$clave,"; $capas .= "{ '$clave': geojsonAux_$clave };"; $overlays =" var overlays = $capas "; } } echo $li; ?> ";} else{ $hoja_estilo ="";} print $hoja_estilo; $css_adicional = remplacetas('form_parametrizacion','campo',"index",'descripcion'," tabla='css' and opcion = 'adicional' and id_empresa = '$empresa[0]'") ; if($css_adicional[0] !="") { $css_adicional =""; } print $css_adicional[0]; ?>