Changeset 45 for trunk/var/www/info/alkis/alkisausk.php
- Timestamp:
- 09/16/10 11:55:21 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/var/www/info/alkis/alkisausk.php
r43 r45 15 15 02.09.2010 Mit Icons 16 16 07.09.2010 Schluessel anschaltbar 17 15.09.2010 Function "buchungsart" durch JOIN ersetzt 17 18 */ 18 19 ini_set('error_reporting', 'E_ALL'); … … 21 22 require_once("/data/mapwww/http/php/mb_validateSession.php"); 22 23 //require_once(dirname(__FILE__)."/../../../php/mb_validateSession.php"); 23 require_once("/data/conf/alkis_ conf.php");24 require_once("/data/conf/alkis_www_conf.php"); 24 25 //require_once(dirname(__FILE__)."/../../../../conf/alkis_conf.php"); 25 26 include("alkisfkt.php"); … … 28 29 <html> 29 30 <head> 30 <meta name="author" content=" Frank Jaeger" >31 <meta name="author" content="b600352" > 31 32 <meta http-equiv="cache-control" content="no-cache"> 32 33 <meta http-equiv="pragma" content="no-cache"> … … 140 141 $sql ="SELECT b.gml_id, b.bezirk, b.buchungsblattnummermitbuchstabenerweiterung as blatt, b.blattart, "; 141 142 $sql.="s.gml_id AS s_gml, s.buchungsart, s.laufendenummer, s.zaehler, s.nenner, "; 142 $sql.="z.bezeichnung "; // stelle -> amtsgericht143 $sql.="z.bezeichnung, a.bezeichner AS bart "; // stelle -> amtsgericht 143 144 $sql.="FROM alkis_beziehungen bfs "; // Bez Flurst.- Stelle. 144 145 $sql.="JOIN ax_buchungsstelle s ON bfs.beziehung_zu=s.gml_id "; … … 146 147 $sql.="JOIN ax_buchungsblatt b ON bsb.beziehung_zu=b.gml_id "; 147 148 $sql.="JOIN ax_buchungsblattbezirk z ON z.land=b.land AND z.bezirk=b.bezirk "; 149 150 $sql.="LEFT JOIN ax_buchungsstelle_buchungsart a ON s.buchungsart = a.wert "; 151 148 152 $sql.="WHERE bfs.beziehung_von='".$gmlid."' "; 149 153 $sql.="AND bfs.beziehungsart='istGebucht' "; … … 155 159 while($rowg = pg_fetch_array($resg)) { 156 160 $beznam=$rowg["bezeichnung"]; 157 echo "\n<hr>\n<table class='outer'>\n<tr>\n<td>"; 158 161 echo "\n<hr>\n<table class='outer'>"; 162 echo "\n<tr>"; 163 echo "\n<td>"; 159 164 160 165 $blattkey=$rowg["blattart"]; … … 165 170 echo "\n\t<table class='kennzgbf' title='Bestandskennzeichen'>"; // dotted 166 171 } 167 // echo "\n\t<table class='kennzgb' title='Bestandskennzeichen'>"; 168 echo "\n\t<tr>\n\t\t<td class='head'>Bezirk</td>"; 169 echo "\n\t\t<td class='head'>".$blattart."</td>"; 170 echo "\n\t\t<td class='head'>Lfd-Nr,</td>"; 171 echo "\n\t\t<td class='head'>Buchungsart</td>"; 172 echo "\n\t</tr>"; 173 174 echo "\n\t<tr>"; 175 echo "\n\t\t<td title='Grundbuchbezirk'>"; 176 if ($showkey) { 177 echo "<span class='key'>".$rowg["bezirk"]."</span><br>"; 172 echo "\n\t<tr>"; 173 echo "\n\t\t<td class='head'>Bezirk</td>"; 174 echo "\n\t\t<td class='head'>".$blattart."</td>"; 175 echo "\n\t\t<td class='head'>Lfd-Nr,</td>"; 176 echo "\n\t\t<td class='head'>Buchungsart</td>"; 177 echo "\n\t</tr>"; 178 echo "\n\t<tr>"; 179 echo "\n\t\t<td title='Grundbuchbezirk'>"; 180 if ($showkey) { 181 echo "<span class='key'>".$rowg["bezirk"]."</span><br>"; 182 } 183 echo $beznam."</td>"; 184 echo "\n\t\t<td title='Grundbuch-Blatt'><span class='wichtig'>".$rowg["blatt"]."</span></td>"; 185 echo "\n\t\t<td title='Bestandsverzeichnis-Nummer (BVNR, Grundstück)'>".$rowg["laufendenummer"]."</td>"; 186 echo "\n\t\t<td title='Buchungsart'>"; 187 if ($showkey) { 188 echo "<span class='key'>".$rowg["buchungsart"]."</span><br>"; 189 } 190 echo $rowg["bart"]; 191 echo "</td>"; 192 echo "\n\t</tr>"; 193 echo "\n\t</table>"; 194 195 if ($rowg["zahler"] <> "") { 196 echo "\n<p class='ant'>".$rowg["zahler"]."/".$rowg["nenner"]." Anteil am Flurstück</p>"; 178 197 } 179 echo $beznam."</td>"; 180 echo "\n\t\t<td title='Grundbuch-Blatt'><span class='wichtig'>".$rowg["blatt"]."</span></td>"; 181 echo "\n\t\t<td title='Bestandsverzeichnis-Nummer (BVNR, Grundstück)'>".$rowg["laufendenummer"]."</td>"; 182 echo "\n\t\t<td title='Buchungsart'>"; 183 if ($showkey) { 184 echo "<span class='key'>".$rowg["buchungsart"]."</span><br>"; 185 } 186 echo buchungsart($rowg["buchungsart"])."</td>\n\t</tr>"; 187 echo "\n\t</table>"; 188 if ($rowg["zahler"] <> "") { 189 echo "\n<p class='ant'>".$rowg["zahler"]."/".$rowg["nenner"]." Anteil am Flurstück</p>"; 190 } 191 echo "\n</td>\n<td>"; 198 echo "\n</td>\n<td>"; 192 199 if ($idanzeige) {linkgml($gkz, $rowg[0], "Buchungsblatt");} 193 //echo "<br>\n";194 200 echo "\n\t<p class='nwlink'>weitere Auskunft:<br>"; 195 201 echo "\n\t\t<a href='alkisbestnw.php?gkz=".$gkz."&gmlid=".$rowg[0]; … … 197 203 if ($showkey) {echo "&showkey=j";} 198 204 echo "' title='Grundbuchnachweis'>"; 199 // echo "Grundbuch-Blatt";200 205 echo $blattart; 201 echo " <img src='ico/GBBlatt_link.ico' width='16' height='16' alt=''></a>"; 206 echo " <img src='ico/GBBlatt_link.ico' width='16' height='16' alt=''>"; 207 echo "</a>"; 202 208 echo "\n\t</p>"; 203 echo "\n</td>\n"; 204 echo "</table>"; 209 echo "\n</td>"; 210 echo "\n</tr>"; 211 echo "\n</table>"; 205 212 206 213 // E I G E N T U E M E R … … 228 235 } 229 236 echo "\n<hr>"; 230 footer($gkz, $gmlid, $id anzeige, $self, $hilfeurl, "", $showkey);237 footer($gkz, $gmlid, $idumschalter, $idanzeige, $self, $hilfeurl, "", $showkey); 231 238 232 239 ?>
Note: See TracChangeset
for help on using the changeset viewer.