Changeset 43 for trunk/var/www/info/alkis/alkisnamstruk.php
- Timestamp:
- 09/09/10 14:09:03 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/var/www/info/alkis/alkisnamstruk.php
r41 r43 4 4 30.08.2010 $style=ALKIS entfernt, alles Kompakt 5 5 02.09.2010 Mit Icons 6 06.09.2010 Schluessel anschaltbar 6 7 7 8 ALKIS-Buchauskunft, Kommunales Rechenzentrum Minden-Ravensberg/Lippe (Lemgo). … … 40 41 $gkz=urldecode($_REQUEST["gkz"]); 41 42 $id = isset($_GET["id"]) ? $_GET["id"] : "n"; 42 $idanzeige=false; 43 if ($id == "j") {$idanzeige=true;} 43 if ($id == "j") { 44 $idanzeige=true; 45 } else { 46 $idanzeige=false; 47 } 48 $keys = isset($_GET["showkey"]) ? $_GET["showkey"] : "n"; 49 if ($keys == "j") { 50 $showkey=true; 51 } else { 52 $showkey=false; 53 } 44 54 $dbname = 'alkis05' . $gkz; 45 55 $con = pg_connect("host=".$dbhost." port=".$dbport." dbname=".$dbname." user=".$dbuser." password=".$dbpass); … … 50 60 echo "\n<h2><img src='ico/Eigentuemer.ico' width='16' height='16' alt=''> Person</h2>\n"; 51 61 if (!$con) "\n<p class='err'>Fehler beim Verbinden der DB</p>\n"; 62 52 63 $sql="SELECT nachnameoderfirma, anrede, vorname, geburtsname, geburtsdatum, namensbestandteil, akademischergrad "; 53 64 $sql.="FROM ax_person WHERE gml_id='".$gmlid."'"; 65 54 66 $res=pg_query($con,$sql); 55 67 if (!$res) {echo "\n<p class='err'>Fehler bei Zugriff auf Namensnummer</p>\n";} … … 61 73 $anr=anrede($row["anrede"]); 62 74 $aka=$row["akademischergrad"]; 75 63 76 echo "<table>\n"; 64 77 echo "\t<tr><td class='nhd'>Anrede:</td><td class='nam'>".$anr."</td></tr>\n"; … … 146 159 147 160 echo "\n\t<td class='gbl'>"; 148 echo "<p class='nwlink noprint'>"; 149 echo "<a href='alkisbestnw.php?gkz=".$gkz."&gmlid=".$gmlg; 150 if ($idanzeige) { echo "&id=j";} 151 echo "' title='Bestandsnachweis'>Grundbuch-Blatt <img src='ico/GBBlatt_link.ico' width='16' height='16' alt=''></a></p>"; 161 echo "\n\t\t<p class='nwlink noprint'>"; 162 echo "\n\t\t\t<a href='alkisbestnw.php?gkz=".$gkz."&gmlid=".$gmlg; 163 if ($idanzeige) {echo "&id=j";} 164 if ($showkey) {echo "&showkey=j";} 165 echo "' title='Bestandsnachweis'>Grundbuch-Blatt "; 166 echo "\n\t\t\t<img src='ico/GBBlatt_link.ico' width='16' height='16' alt=''></a>"; 167 echo "\n\t\t</p>"; 152 168 if ($idanzeige) { 153 169 linkgml($gkz, $gmlg, "Grundbuchblatt"); 154 170 linkgml($gkz, $gmln, "Namensnummer"); 155 171 } 156 echo " </td>";172 echo "\n\t</td>"; 157 173 158 174 echo "\n</tr>"; … … 176 192 </form> 177 193 178 <?php footer($gkz, $gmlid, $idanzeige, $self, $hilfeurl, "" ); ?>194 <?php footer($gkz, $gmlid, $idanzeige, $self, $hilfeurl, "", $showkey); ?> 179 195 180 196 </body>
Note: See TracChangeset
for help on using the changeset viewer.