Changeset 422 for trunk/info/info/alkisn/alkisausk.php
- Timestamp:
- 06/24/21 15:59:16 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/info/info/alkisn/alkisausk.php
r412 r422 11 11 Version: 12 12 2016-02-24 Version fuer norGIS-ALKIS-Import 13 2016-11-29 HTML5, Gemeinsam genutzte Datenbanken ermöglichen (Berechtigung fÃŒr Gemeinde prÃŒfen)14 20 17-10-11 Sauber filtern auf endet IS NULL15 20 18-11-09 Umstellung Full-Schema13 .... 14 2020-12-03 function selbstverlinkung() statt $_SERVER['PHP_SELF'] 15 2020-12-15 Input-Validation und Strict Comparisation (===) 16 16 17 17 H i n w e i s : Dies Modul wird beim Entwickler nicht mehr produktiv eingesetzt. … … 19 19 Mangels Praxis bleiben Fehler möglicherweise unerkannt. 20 20 */ 21 ini_set("session.cookie_httponly", 1); 21 22 session_start(); 22 23 $cntget = extract($_GET); 23 24 require_once("alkis_conf_location.php"); 25 if ($auth == "mapbender") {require_once($mapbender);} 26 include("alkisfkt.php"); 24 if (isset($gkz)) { 25 if (!preg_match('#^[0-9]{3}$#', $gkz)) {die("Eingabefehler gkz");} 26 } else { 27 die("Fehlender Parameter"); 28 } 29 include "alkis_conf_location.php"; 30 include "alkisfkt.php"; 31 27 32 $keys = isset($_GET["showkey"]) ? $_GET["showkey"] : "n"; 28 if ($keys == "j") {$showkey=true;} else {$showkey=false;}33 if ($keys === "j") {$showkey=true;} else {$showkey=false;} 29 34 echo <<<END 30 35 <!doctype html> … … 38 43 <body> 39 44 END; 45 46 $erlaubnis = darf_ich(); if ($erlaubnis === 0) { die('<p class="stop1">Abbruch</p></body>'); } 47 40 48 $con = pg_connect($dbconn." options='--application_name=ALKIS-Auskunft_alkisausk.php'"); 41 49 if (!$con) {echo "<br>Fehler beim Verbinden der DB.\n<br>";} … … 197 205 $blattkey=$rowg["blattart"]; 198 206 $blattart=$rowg["blattartv"]; 199 if ($blattkey == 1000) {207 if ($blattkey === 1000) { 200 208 echo "\n\t<table class='kennzgb' title='Bestandskennzeichen'>"; 201 209 } else { … … 221 229 ."\n\t</table>"; 222 230 223 if ($rowg["zaehler"] <>"") {231 if ($rowg["zaehler"] != "") { 224 232 echo "\n<p class='ant'>".$rowg["zaehler"]."/".$rowg["nenner"]." Anteil am Flurstück</p>"; 225 233 } … … 234 242 235 243 // E I G E N T U E M E R 236 if ($blattkey == 5000) { // SchlÃŒssel Blatt-Art244 if ($blattkey === 5000) { // SchlÃŒssel Blatt-Art 237 245 echo "\n<p>Keine Angaben zum Eigentum bei fiktivem Blatt</p>\n" 238 246 ."\n<p>Siehe weitere Grundbuchblätter mit Rechten an dem fiktiven Blatt.</p>"; … … 241 249 $n = eigentuemer($rowg["gml_id"], false, "imFenster"); // ohne Adressen 242 250 243 if ($n == 0) { // keine NamNum, kein Eigent.251 if ($n === 0) { // keine NamNum, kein Eigent. 244 252 echo "\n<p class='err'>Keine Eigentümer gefunden.</p>" 245 253 ."\n<p class='err'>Bezirk ".$rowg["bezirk"]." Blatt ".$rowg["blatt"]." Blattart ".$blattkey." (".$blattart.")</p>"; … … 248 256 $j++; 249 257 } 250 if ($j == 0) {echo "\n<p class='err'>Keine Buchungen gefunden.</p>";}258 if ($j === 0) {echo "\n<p class='err'>Keine Buchungen gefunden.</p>";} 251 259 echo "\n<hr>"; 252 260 253 footer($gmlid, $_SERVER['PHP_SELF']."?", "");261 footer($gmlid, selbstverlinkung()."?", ""); 254 262 255 263 ?>
Note: See TracChangeset
for help on using the changeset viewer.