From 4dde11dab29666ecd1b4b7bc56f6576cbc4fa3d2 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Fri, 4 Jul 2014 04:26:37 +0000 Subject: [PATCH] --- admin/admin.db | Bin 263168 -> 0 bytes admin/php/xml.php | 16 ++++++++-------- classesphp/classe_menutemas.php | 3 ++- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/admin/admin.db b/admin/admin.db index b91e9a2..141e0af 100644 Binary files a/admin/admin.db and b/admin/admin.db differ diff --git a/admin/php/xml.php b/admin/php/xml.php index 6cb45f3..37c3155 100644 --- a/admin/php/xml.php +++ b/admin/php/xml.php @@ -162,9 +162,9 @@ Parametros: locaplic {string} - localização do i3Geo no sistema de arquivos -id {string} - c�digo do n� +id {string} - codigo do no -nivel {string} - nível do n� +nivel {string} - nível do no Retorno: @@ -503,7 +503,7 @@ function geraXmlRSS($locaplic,$sql,$descricao) $link = xmlTexto_prepara($row["link_ws"]); if(stristr($link, 'http') === FALSE) {$link = "http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["REQUEST_URI"])."/".$link;} - $xml .= "".$link."\n"; + $xml .= "\n"; $xml .= "\n"; $xml .= "".xmlTexto_prepara($row["autor_ws"])."\n"; $xml .= "\n"; @@ -548,7 +548,7 @@ function geraXmlAtlas($locaplic,$editores) $xml .= " ".xmlTexto_prepara($row["titulo_atlas"])."\n"; $xml .= " ".xmlTexto_prepara($row["desc_atlas"])."\n"; $xml .= " ".$row["icone_atlas"]."\n"; - $xml .= " ".xmlTexto_prepara($row["link_atlas"])."\n"; + $xml .= " \n"; $xml .= " ".xmlTexto_prepara($row["template_atlas"])."\n"; $xml .= " ".$row["w_atlas"]."\n"; $xml .= " ".$row["h_atlas"]."\n"; @@ -652,13 +652,13 @@ function geraXmlMapas($perfil,$locaplic,$editores) $extensao = $row["ext_mapa"]; $xml .= " ".$extensao."\n"; $outros = xmlTexto_prepara($row["outros_mapa"]); - $xml .= " ".$outros."\n"; + $xml .= " \n"; $linkdireto = xmlTexto_prepara($row["linkdireto_mapa"]); if(empty($linkdireto)){ $linkdireto = $url."/ms_criamapa.php?mapext=".$extensao."&perfil=".$perfil."&temasa=".$temas."&layers=".$ligados.$row["outros_mapa"]; $linkdireto = xmlTexto_prepara($linkdireto); } - $xml .= " ".$linkdireto."\n"; + $xml .= " \n"; $xml .= " ".$row["publicado_mapa"]."\n"; $xml .= " ".$row["id_mapa"]."\n"; if($row["mapfile"] != ""){ @@ -810,7 +810,7 @@ function geraXmlMenutemas_notema($qtemas,$xml,$perfil) $xml .= "".$row["perfil"]."\n"; $xml .= "".xmlTexto_prepara($row["nome_tema"])."\n"; $xml .= "".xmlTexto_prepara($row["desc_tema"])."\n"; - $xml .= "".xmlTexto_prepara($row["link_tema"])."\n"; + $xml .= "\n"; $xml .= "".$row["tipoa_tema"]."\n"; $xml .= "".xmlTexto_prepara($row["tags_tema"])."\n"; $xml .= "".$row["kml_tema"]."\n"; @@ -837,7 +837,7 @@ function geraXmlAtlas_pegapranchas($xml,$id_atlas,$dbh) $xml .= " ".xmlTexto_prepara($row["titulo_prancha"])."\n"; $xml .= " ".xmlTexto_prepara($row["desc_prancha"])."\n"; $xml .= " ".$row["icone_prancha"]."\n"; - $xml .= " ".xmlTexto_prepara($row["link_prancha"])."\n"; + $xml .= " \n"; $xml .= " ".$row["w_prancha"]."\n"; $xml .= " ".$row["h_prancha"]."\n"; $xml .= " ".$row["mapext_prancha"]."\n"; diff --git a/classesphp/classe_menutemas.php b/classesphp/classe_menutemas.php index 7325cdb..a33f02e 100644 --- a/classesphp/classe_menutemas.php +++ b/classesphp/classe_menutemas.php @@ -247,6 +247,7 @@ array include_once($this->locaplic."/admin/php/xml.php"); $this->xml = simplexml_load_string(geraXmlMapas(implode(" ",$this->perfil),$this->locaplic)); } + //print_r($this->xml);exit; $mapas = array(); //pega os sistemas checando os perfis foreach($this->xml->MAPA as $s) @@ -714,4 +715,4 @@ nrss - (opcional) número de registros no rss que serão considerado return mb_convert_encoding($texto,"HTML-ENTITIES","auto"); } } -?> \ No newline at end of file +?> -- libgit2 0.21.2