Changeset 425 for trunk/info/info/alkisn/alkisinlaybaurecht.php
- Timestamp:
- 12/30/21 17:49:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/info/info/alkisn/alkisinlaybaurecht.php
r422 r425 5 5 6 6 Version: 7 2016-02-24 Version f uer norGIS-ALKIS-Import7 2016-02-24 Version fÃŒr norGIS-ALKIS-Import 8 8 .... 9 9 2020-02-03 Fenster-Weite 10 10 2020-02-20 Authentifizierung ausgelagert in Function darf_ich() 11 11 2020-12-15 Input-Validation und Strict Comparisation (===) 12 2021-12-09 2021-12-09 Neue Parameter: $katAmtMix (Kataster-Amt-Mix) 12 13 */ 13 14 ini_set("session.cookie_httponly", 1); … … 50 51 51 52 $erlaubnis = darf_ich(); if ($erlaubnis === 0) { die('<p class="stop1">Abbruch</p></body>'); } 53 $dbg=$debug; // CONF in Arbeits-Variable 52 54 53 55 // Body des Inlay muss in Mapbender-Feature-Info-PopUp passen. Kleiner als 750 aus css. … … 59 61 FROM ax_bauraumoderbodenordnungsrecht r 60 62 LEFT JOIN ax_artderfestlegung_bauraumoderbodenordnungsrecht a ON r.artderfestlegung = a.wert 61 LEFT JOIN ax_dienststelle d ON r.land=d.land AND r.stelle=d.stelle 62 WHERE r.gml_id= $1 AND r.endet IS NULL AND d.endet IS NULL;";63 LEFT JOIN ax_dienststelle d ON r.land=d.land AND r.stelle=d.stelle ".UnqKatAmt("r","d") 64 ."WHERE r.gml_id= $1 AND r.endet IS NULL AND d.endet IS NULL;"; 63 65 64 66 $v = array($gmlid); … … 68 70 if (!$res) { 69 71 echo "\n<p class='err'>Fehler bei Baurecht.</p>"; 70 if ($d ebug > 2) {echo "\n<p class='err'>SQL=<br>".str_replace("$1", "'".$gmlid."'", $sql)."</p>";}72 if ($dbg > 2) {echo "\n<p class='err'>SQL=<br>".str_replace("$1", "'".$gmlid."'", $sql)."</p>";} 71 73 } 72 74 echo "\n<h2><img src='ico/Gericht.png' width='16' height='16' alt=''> Bau-, Raum- oder Bodenordnungsrecht</h2>"; 73 75 if ($dbg > 0) { 76 $zeianz=pg_num_rows($res); 77 if ($zeianz > 1){ 78 echo "\n<p class='err'>Die Abfrage liefert mehr als ein (".$zeianz.") Bauordnungs-Objekt!</p>"; 79 if ($dbg > 2) {echo "\n<p class='dbg'>SQL=<br>".htmlentities(str_replace("$1","'".$gmlid."'",$sql), ENT_QUOTES, "UTF-8")."</p>";} 80 } 81 } 74 82 if ($row = pg_fetch_assoc($res)) { 75 83 echo "\n<table>"
Note: See TracChangeset
for help on using the changeset viewer.