Changeset 402 for trunk/info/info/alkisn/alkishaus.php
- Timestamp:
- 04/23/18 15:33:39 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/info/info/alkisn/alkishaus.php
r389 r402 10 10 2017-06-09 Tool-Tip GebÀudefunktion, ErklÀrung 2 getrennte p.Styles 11 11 2017-10-09 Sauber filtern auf endet IS NULL 12 2018-04-23 &nodebug 12 13 13 14 ToDo: … … 22 23 */ 23 24 session_start(); 24 25 $allfld = "n"; $showkey="n"; // Var. aus Parameter initalisieren 25 $allfld = "n"; $showkey="n"; $nodebug=""; // Var. aus Parameter initalisieren 26 26 $cntget = extract($_GET); // Parameter in Variable umwandeln 27 27 … … 31 31 if (!preg_match('#^[j|n]{0,1}$#', $showkey)) {die ("Eingabefehler showkey");} 32 32 if ($showkey == "j") {$showkey=true;} else {$showkey=false;} 33 34 33 if (!preg_match('#^[j|n]{0,1}$#', $allfld)) {die ("Eingabefehler allfld");} 35 34 if ($allfld == "j") {$allefelder=true;} else {$allefelder=false;} 35 if (!preg_match('#^j{0,1}$#', $nodebug)) {die("Eingabefehler nodebug");} 36 36 37 37 require_once("alkis_conf_location.php"); 38 38 if ($auth == "mapbender") {require_once($mapbender);} 39 39 include("alkisfkt.php"); 40 ?> 40 echo <<<END 41 41 <!doctype html> 42 42 <html lang="de"> … … 50 50 </head> 51 51 <body> 52 <?php 52 END; 53 // Mit URL-Parameter "&nodebug=j" kann man die Entwicklungsumgebung (in Conf definiert) ausschalten. 54 // Manuell an die URL anfÃŒgen, wirkt nur temporÀr und wird nicht in Links weiter gereicht. 55 if ($nodebug == "j") {$debug=0;} 53 56 54 57 $con = pg_connect($dbconn." options='--application_name=ALKIS-Auskunft_alkishaus.php'"); … … 98 101 $gebnr = 0; 99 102 100 while($rowg = pg_fetch_a rray($resg)) { // Schleife, kann aber nur EIN Haus sein.103 while($rowg = pg_fetch_assoc($resg)) { // Schleife, kann aber nur EIN Haus sein. 101 104 $gebnr++; 102 105 echo "\n<table class='geb'>" … … 183 186 } 184 187 $zhsnr=0; 185 while($rowl = pg_fetch_a rray($resl)) { // LOOP: Lagezeilen188 while($rowl = pg_fetch_assoc($resl)) { // LOOP: Lagezeilen 186 189 $zhsnr++; 187 190 $ltyp=$rowl["ltyp"]; // Lagezeilen-Typ … … 329 332 } 330 333 $zw=0; 331 while($roww = pg_fetch_a rray($resw)) { // LOOP: w.Funktion334 while($roww = pg_fetch_assoc($resw)) { // LOOP: w.Funktion 332 335 if ($zw > 0) {echo "<br>";} 333 336 if ($showkey) {echo "<span class='key'>".$roww["k"]."</span> ";}
Note: See TracChangeset
for help on using the changeset viewer.