Commit 5e80c75cbef354c831556f72eb6199a9017e0a78
1 parent
6e1f85cf
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
17 additions
and
0 deletions
Show diff stats
ogc.php
... | ... | @@ -76,16 +76,30 @@ if ($lista == "temas") |
76 | 76 | foreach($grupo->SGRUPO as $sgrupo) |
77 | 77 | { |
78 | 78 | echo " ".mb_convert_encoding($sgrupo->SDTIPO,"HTML-ENTITIES","auto")."<br>"; |
79 | + //echo 'kml_tema,ogc_tema,download_tema,tags_tema,tipoa_tema,link_tema,desc_tema,nome_tema,codigo_tema<br>'; | |
80 | + | |
79 | 81 | foreach($sgrupo->TEMA as $tema) |
80 | 82 | { |
81 | 83 | if (mb_convert_encoding($tema->OGC,"HTML-ENTITIES","auto") == "") |
82 | 84 | { |
85 | + | |
83 | 86 | echo " "; |
84 | 87 | echo "<span style=color:red >".mb_convert_encoding($tema->TID,"HTML-ENTITIES","auto")."</span>"; |
85 | 88 | echo " - ".mb_convert_encoding($tema->TNOME,"HTML-ENTITIES","auto")." - "; |
86 | 89 | if (mb_convert_encoding($tema->TLINK,"HTML-ENTITIES","auto") != "") |
87 | 90 | {echo "<a href='".mb_convert_encoding($tema->TLINK,"HTML-ENTITIES","auto")."' >fonte</a>";} |
88 | 91 | echo "<br>"; |
92 | + /* | |
93 | + echo '"'.($tema->KML).'",'; | |
94 | + echo '"'.$tema->OGC.'",'; | |
95 | + echo '"'.$tema->DOWNLOAD.'",'; | |
96 | + echo '"'.mb_convert_encoding($tema->TAGS,"HTML-ENTITIES","auto").'",'; | |
97 | + echo '"'.$tema->TIPOA.'",'; | |
98 | + echo '"'.$tema->TLINK.'",'; | |
99 | + echo '"'.mb_convert_encoding($tema->TDESC,"HTML-ENTITIES","auto").'",'; | |
100 | + echo '"'.mb_convert_encoding($tema->TNOME,"HTML-ENTITIES","auto").'",'; | |
101 | + echo '"'.$tema->TID.'"<br>'; | |
102 | + */ | |
89 | 103 | } |
90 | 104 | } |
91 | 105 | } |
... | ... | @@ -125,6 +139,9 @@ if(isset($tema)) |
125 | 139 | {$tipo = "";} |
126 | 140 | $req->setParameter("VeRsIoN","1.1.0"); |
127 | 141 | $oMap = ms_newMapobj("aplicmap/ogcws.map"); |
142 | +// | |
143 | +//altera os caminhos das imagens | |
144 | +// | |
128 | 145 | if((isset($legenda)) && ($legenda == "sim")) |
129 | 146 | { |
130 | 147 | $leg = $oMap->legend; | ... | ... |