Changeset 427 for trunk/info/info/alkisn/alkisstrasse.php
- Timestamp:
- 02/24/22 16:24:19 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/info/info/alkisn/alkisstrasse.php
r425 r427 2 2 /* alkisstrasse.php 3 3 4 ALKIS-Buchauskunft, Kommunales Rechenzentrum Minden-Ravensberg/Lippe (Lemgo). 4 ALKIS-Auskunft 5 Author: Frank JÀger, Kommunales Rechenzentrum Minden-Ravensberg/Lippe (Lemgo) 6 5 7 Alle FlurstÃŒcke an einer StraÃe anzeigen, egal ob "mit" oder "ohne" Hausnummer 6 8 Parameter: "gml_id" aus der Tabelle "ax_lagebezeichnungkatalogeintrag" … … 12 14 2020-12-15 Input-Validation und Strict Comparisation (===) 13 15 2021-12-09 Neue Parameter: $katAmtMix (Kataster-Amt-Mix), $PrntBtn (Drucken-SchaltflÀche) 16 2022-01-13 Neue Functions LnkStf(), DsKy() 14 17 */ 15 18 ini_set("session.cookie_httponly", 1); … … 54 57 $erlaubnis = darf_ich(); if ($erlaubnis === 0) { die('<p class="stop1">Abbruch</p></body>'); } 55 58 $dbg=$debug; // CONF in Arbeits-Variable 56 57 // Mit URL-Parameter "&nodebug=j" kann man die Entwicklungsumgebung (in Conf definiert) ausschalten.58 // Wirkt temporÀr und wird nicht in Links weiter gereicht.59 59 if ($nodebug === "j") {$dbg=0;} 60 60 … … 87 87 } 88 88 if ($row = pg_fetch_assoc($res)) { 89 $lage=$row["lage"]; // Str assenschluessel90 $snam=$row["snam"]; // Str assenname89 $lage=$row["lage"]; // Str.schl. 90 $snam=$row["snam"]; // Str.name 91 91 $gem=$row["gemeinde"]; 92 $kennz=$gem."-".$lage." (".$snam.")"; // Schl uessel als Sucheingabe in NAV brauchbar?93 echo "\n<p class='balken strasse'>ALKIS Straße ".$kennz." </p>"; // Balken92 $kennz=$gem."-".$lage." (".$snam.")"; // SchlÃŒssel als Sucheingabe in NAV brauchbar? 93 echo "\n<p class='balken strasse'>ALKIS Straße ".$kennz." </p>"; 94 94 } else { 95 95 echo "\n<p class='err'>Kein Treffer bei Lagebezeichnungskatalogeintrag.</p>"; … … 108 108 ."\n\t\t\t<td class='head'>Kreis</td>" 109 109 ."\n\t\t\t<td class='head'>Gemeinde</td>" 110 ."\n\t\t <td class='head'>Straße</td>"110 ."\n\t\t\t<td class='head'>Straße</td>" 111 111 ."\n\t\t</tr>" 112 112 ."\n\t\t<tr>"; 113 echo "\n\t\t\t<td title='Bundesland'>"; 114 if ($showkey) {echo "<span class='key'>".$row["land"]."</span><br>";} 115 echo $row["bnam"]." </td>" 116 ."\n\t\t\t<td title='Regierungsbezirk'>"; 117 if ($showkey) {echo "<span class='key'>".$row["regierungsbezirk"]."</span><br>";} 118 echo $row["rnam"]." </td>" 119 ."\n\t\t\t<td title='Kreis'>"; 120 if ($showkey) {echo "<span class='key'>".$row["kreis"]."</span><br>";} 121 echo $row["knam"]." </td>" 122 ."\n\t\t\t<td title='Gemeinde'>"; 123 if ($showkey) {echo "<span class='key'>".$gem."</span><br>";} 124 echo $row["gnam"]." </td>" 125 . "\n\t\t\t<td title='Straße'>"; 126 if ($showkey) {echo "<span class='key'>".$lage."</span><br>";} 127 echo "<span class='wichtig'>".$snam."</span>" 128 . " </td>" 113 echo "\n\t\t\t<td title='Bundesland'>".DsKy($row["land"], 'Bundesland-*').$row["bnam"]." </td>" 114 ."\n\t\t\t<td title='Regierungsbezirk'>".DsKy($row["regierungsbezirk"], 'Regierungsbezirk-*').$row["rnam"]." </td>" 115 ."\n\t\t\t<td title='Kreis'>".DsKy($row["kreis"], 'Kreis-*').$row["knam"]." </td>" 116 ."\n\t\t\t<td title='Gemeinde'>".DsKy($gem, 'Gemeinde-*').$row["gnam"]." </td>" 117 ."\n\t\t\t<td title='Straße'>".DsKy($lage, 'Straßen-*')."<span class='wichtig'>".$snam."</span> </td>" 129 118 ."\n\t\t</tr>" 130 119 ."\n\t\t</table>"; … … 135 124 if ($ogml != "") { 136 125 echo "\n\t\t<p class='nwlink noprint'>" 137 ."\n\t\t<a href='alkislage.php?gkz=".$gkz."&ltyp=o&gmlid=".$ogml; 138 if ($showkey) {echo "&showkey=j";} 139 echo "' title='Lage Ohne Hausnummer'>Lage <img src='ico/Lage_an_Strasse.png' width='16' height='16' alt=''></a>" 126 ."\n\t\t<a href='alkislage.php?gkz=".$gkz."&ltyp=o&gmlid=".$ogml.LnkStf() 127 ."' title='Lage Ohne Hausnummer'>Lage <img src='ico/Lage_an_Strasse.png' width='16' height='16' alt=''></a>" 140 128 ."\n\t\t</p>"; 141 129 } … … 199 187 $zpaar=!$zpaar; 200 188 echo "\n<tr class='".$trclass."'>" 201 ."\n\t<td>"; 202 if ($showkey) {echo "<span class='key'>".$rowf["gemarkungsnummer"]."</span> ";} 189 ."\n\t<td>".DsKy($rowf["gemarkungsnummer"], 'Gemarkungsnummer'); 203 190 if ($gwgmkg != $gmkg) { 204 191 echo "<b>".$gmkg."</b></td>"; … … 221 208 ."\n\t<td>\n\t\t<p class='nwlink noprint'>"; 222 209 if ($ltyp === 'm') { // nur Typ "Mit Haus" anzeigen. Dar Typ 'o' ist immer gleich und identisch mit dem Link im Kopf 223 echo "\n\t\t<a href='alkislage.php?gkz=".$gkz."&ltyp=".$ltyp."&gmlid=".$lgml; 224 if ($showkey) {echo "&showkey=j";} 225 echo "' title='Lagebezeichnung mit Hausnummer'>Lage <img src='ico/Lage_mit_Haus.png' width='16' height='16' alt=''></a> "; 210 echo "\n\t\t<a href='alkislage.php?gkz=".$gkz."&ltyp=".$ltyp."&gmlid=".$lgml.LnkStf() 211 ."' title='Lagebezeichnung mit Hausnummer'>Lage <img src='ico/Lage_mit_Haus.png' width='16' height='16' alt=''></a> "; 226 212 $cnths++; 227 213 } 228 214 // Link FlurstÃŒcksnachweis 229 echo "\n\t\t<a href='alkisfsnw.php?gkz=".$gkz."&gmlid=".$rowf["gml_id"]."&eig=n"; 230 if ($showkey) {echo "&showkey=j";} 231 echo "' title='Flurstücksnachweis'>Flurstück <img src='ico/Flurstueck_Link.png' width='16' height='16' alt=''></a>"; 232 echo "\n\t\t</p>\n\t</td>" 215 echo "\n\t\t<a href='alkisfsnw.php?gkz=".$gkz."&gmlid=".$rowf["gml_id"].LnkStf()."&eig=n" 216 ."' title='Flurstücksnachweis'>Flurstück <img src='ico/Flurstueck_Link.png' width='16' height='16' alt=''></a>" 217 ."\n\t\t</p>\n\t</td>" 233 218 ."\n</tr>"; 234 219 $j++; … … 238 223 echo "<p class='cnt'>".$j." Flurstücke"; 239 224 if ($cnths > 1) {echo " und ".$cnths." Hauptgebäude";} 240 echo " mit dieser Stra Ãe in der Lagebezeichnung</p>";225 echo " mit dieser Straße in der Lagebezeichnung</p>"; 241 226 } 242 227 pg_free_result($resf);
Note: See TracChangeset
for help on using the changeset viewer.