diff --git a/ogc.php b/ogc.php index ad239f6..de4b16c 100644 --- a/ogc.php +++ b/ogc.php @@ -76,16 +76,30 @@ if ($lista == "temas") foreach($grupo->SGRUPO as $sgrupo) { echo "   ".mb_convert_encoding($sgrupo->SDTIPO,"HTML-ENTITIES","auto")."
"; + //echo 'kml_tema,ogc_tema,download_tema,tags_tema,tipoa_tema,link_tema,desc_tema,nome_tema,codigo_tema
'; + foreach($sgrupo->TEMA as $tema) { if (mb_convert_encoding($tema->OGC,"HTML-ENTITIES","auto") == "") { + echo "      "; echo "".mb_convert_encoding($tema->TID,"HTML-ENTITIES","auto").""; echo " - ".mb_convert_encoding($tema->TNOME,"HTML-ENTITIES","auto")." - "; if (mb_convert_encoding($tema->TLINK,"HTML-ENTITIES","auto") != "") {echo "fonte";} echo "
"; + /* + echo '"'.($tema->KML).'",'; + echo '"'.$tema->OGC.'",'; + echo '"'.$tema->DOWNLOAD.'",'; + echo '"'.mb_convert_encoding($tema->TAGS,"HTML-ENTITIES","auto").'",'; + echo '"'.$tema->TIPOA.'",'; + echo '"'.$tema->TLINK.'",'; + echo '"'.mb_convert_encoding($tema->TDESC,"HTML-ENTITIES","auto").'",'; + echo '"'.mb_convert_encoding($tema->TNOME,"HTML-ENTITIES","auto").'",'; + echo '"'.$tema->TID.'"
'; + */ } } } @@ -125,6 +139,9 @@ if(isset($tema)) {$tipo = "";} $req->setParameter("VeRsIoN","1.1.0"); $oMap = ms_newMapobj("aplicmap/ogcws.map"); +// +//altera os caminhos das imagens +// if((isset($legenda)) && ($legenda == "sim")) { $leg = $oMap->legend; -- libgit2 0.21.2