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') ; ?>