Commit 5e80c75cbef354c831556f72eb6199a9017e0a78

Authored by Edmar Moretti
1 parent 6e1f85cf

--no commit message

Showing 1 changed file with 17 additions and 0 deletions   Show diff stats
@@ -76,16 +76,30 @@ if ($lista == "temas") @@ -76,16 +76,30 @@ if ($lista == "temas")
76 foreach($grupo->SGRUPO as $sgrupo) 76 foreach($grupo->SGRUPO as $sgrupo)
77 { 77 {
78 echo "&nbsp;&nbsp;&nbsp;".mb_convert_encoding($sgrupo->SDTIPO,"HTML-ENTITIES","auto")."<br>"; 78 echo "&nbsp;&nbsp;&nbsp;".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 foreach($sgrupo->TEMA as $tema) 81 foreach($sgrupo->TEMA as $tema)
80 { 82 {
81 if (mb_convert_encoding($tema->OGC,"HTML-ENTITIES","auto") == "") 83 if (mb_convert_encoding($tema->OGC,"HTML-ENTITIES","auto") == "")
82 { 84 {
  85 +
83 echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"; 86 echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
84 echo "<span style=color:red >".mb_convert_encoding($tema->TID,"HTML-ENTITIES","auto")."</span>"; 87 echo "<span style=color:red >".mb_convert_encoding($tema->TID,"HTML-ENTITIES","auto")."</span>";
85 echo "&nbsp;-&nbsp;".mb_convert_encoding($tema->TNOME,"HTML-ENTITIES","auto")." - "; 88 echo "&nbsp;-&nbsp;".mb_convert_encoding($tema->TNOME,"HTML-ENTITIES","auto")." - ";
86 if (mb_convert_encoding($tema->TLINK,"HTML-ENTITIES","auto") != "") 89 if (mb_convert_encoding($tema->TLINK,"HTML-ENTITIES","auto") != "")
87 {echo "<a href='".mb_convert_encoding($tema->TLINK,"HTML-ENTITIES","auto")."' >fonte</a>";} 90 {echo "<a href='".mb_convert_encoding($tema->TLINK,"HTML-ENTITIES","auto")."' >fonte</a>";}
88 echo "<br>"; 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,6 +139,9 @@ if(isset($tema))
125 {$tipo = "";} 139 {$tipo = "";}
126 $req->setParameter("VeRsIoN","1.1.0"); 140 $req->setParameter("VeRsIoN","1.1.0");
127 $oMap = ms_newMapobj("aplicmap/ogcws.map"); 141 $oMap = ms_newMapobj("aplicmap/ogcws.map");
  142 +//
  143 +//altera os caminhos das imagens
  144 +//
128 if((isset($legenda)) && ($legenda == "sim")) 145 if((isset($legenda)) && ($legenda == "sim"))
129 { 146 {
130 $leg = $oMap->legend; 147 $leg = $oMap->legend;