#!/usr/bin/perl require('cgi-lib.pl'); &ReadParse(); $zone=$in{'zone'}; $city=$in{'city'}; print "Content-type:text/html\n\n"; $cityname=`grep '<TITLE>' ../$zone/$city\.html`; $cityname=~s/\<title\>(.*)\<\/title\>\n/$1/gi; if ($zone eq 'sopron') { $zonename='Sopron'; } elsif ($zone eq 'csorna') { $zonename='Csorna'; } elsif ($zone eq 'kapuvar') { $zonename='Kapuvár'; } elsif ($zone eq 'gyor') { $zonename='Győr'; } elsif ($zone eq 'mosonmagyarovar') { $zonename='Mosonmagyaróvár'; } else { print "ERROR!"; exit; } print q{<HTML> <HEAD> <TITLE>Uj ingatlanlap</TITLE> </HEAD> <BODY BGCOLOR=WHITE> <H2 ALIGN=CENTER>Egyedi ingatlanlap<BR> <FONT COLOR=DARKBLUE>Allgemeine Angaben<BR> </FONT><FONT COLOR=DARKGREEN>General data</FONT> <P> }; print $zonename,' - ',$cityname; print q{ </H2> <FORM METHOD=POST ACTION="newgd.cgi"> <INPUT TYPE=HIDDEN NAME="zone" VALUE="}; print $zone; print q{"> <INPUT TYPE=HIDDEN NAME="city" VALUE="}; print $cityname; print q{"> <TABLE BORDER> <TR> <TD>Adatfelvétel dátuma:<BR> (<FONT COLOR="#0000A0">Datum der Datenaufname</FONT>, <FONT COLOR="#008000">Year of survery</FONT>)</TD> <TD><INPUT NAME="date" SIZE=12></TD> </TR> <TR> <TD>Tulajdonos neve:<BR> (<FONT COLOR="#0000A0">Besitzer</FONT>, <FONT COLOR="#008000">Owner</FONT>) </TD> <TD><INPUT NAME="owner" SIZE=50></TD> </TR> <TR> <TD>Ajánlatot tevõ szervezet neve:<BR> (<FONT COLOR="#0000A0">Angebotsgeber</FONT>, <FONT COLOR="#008000">Tenders invited by</FONT>)</TD> <TD><INPUT NAME="tender" SIZE=50></TD> </TR> <TR> <TD>Címe:<BR> (<FONT COLOR="#0000A0">Adresse</FONT>, <FONT COLOR="#008000">Address</FONT>)</TD> <TD><INPUT NAME="address" SIZE=50></TD> </TR> <TR> <TD>Telefon/Fax:</TD> <TD><INPUT NAME="phone" SIZE=12></TD> </TR> <TR> <TD>Kontakt személy:<BR> (<FONT COLOR="#0000A0">Kontaktmann</FONT>, <FONT COLOR="#008000">Contact person</FONT>)</TD> <TD><INPUT NAME="contact" SIZE=50></TD> </TR> <TR> <TD>Ingatlan pontos helye:<BR> (<FONT COLOR="#0000A0">Ort der Immobilien</FONT>, <FONT COLOR="#008000">Exact place of real estate</FONT>)</TD> <TD><INPUT NAME="exact" SIZE=50></TD> </TR> <TR> <TD>Helyrajzi száma:<BR> (<FONT COLOR="#0000A0">Parzellenzahl</FONT>, <FONT COLOR="#008000">No. in cadastral survey</FONT>)</TD> <TD><INPUT NAME="no" SIZE=12></TD> </TR> <TR> <TD>Esetleges terhei:<BR> (<FONT COLOR="#0000A0">Belastungen</FONT>, <FONT COLOR="#008000">Mortgage (if any)</FONT>)</TD> <TD><INPUT NAME="mortgage" SIZE=50></TD> </TR> <TR> <TD>Jelenlegi Hasznosítás:<BR> (<FONT COLOR="#0000A0">Derzeitige Anwendung</FONT>, <FONT COLOR="#008000">Present util.</FONT>)</TD> <TD><INPUT NAME="presentutil" SIZE=50></TD> </TR> <TR> <TD>Hasznosítási javaslat:<BR> (<FONT COLOR="#0000A0">Empfehlung für Anwendung</FONT>, <FONT COLOR="#008000">Proposal for util.</FONT>)</TD> <TD><INPUT NAME="proposal" SIZE=50></TD> </TR> </TABLE> <P> <TABLE BORDER> <TR> <TD>Hasznosítás formája:<BR> (<FONT COLOR="#0000A0">Art der Anwendung</FONT>, <FONT COLOR="#008000">Form of utilization</FONT>)</TD> <TD>Társulás<BR> (<FONT COLOR="#0000A0">Vereinigung</FONT>, <FONT COLOR="#008000">Association</FONT>)</TD> <TD>Bérlet<BR> (<FONT COLOR="#0000A0">Vermieten</FONT>, <FONT COLOR="#008000">Leasing</FONT>)</TD> <TD>Eladás<BR> (<FONT COLOR="#0000A0">Verkauf</FONT>, <FONT COLOR="#008000">Sale</FONT>)</TD> <TD>Ár:<BR> (<FONT COLOR="#0000A0">Preis</FONT>, <FONT COLOR="#008000">Price</FONT>)</TD> </TR> <TR> <TD><INPUT NAME="formutil"></TD> <TD><INPUT NAME="association"></TD> <TD><INPUT NAME="leasing"></TD> <TD><INPUT NAME="sale"></TD> <TD><INPUT NAME="price"></TD> </TR> </TABLE> <P> <B>Az ingatlan jellege</B><BR> <TEXTAREA NAME="jelleg" ROWS=10 COLS=80></TEXTAREA> <P><B>Az ingatlan funkciója</B><BR> <TEXTAREA NAME="function" ROWS=10 COLS=80></TEXTAREA> <TABLE BORDER> <TR> <TD>Alapterület:<BR> (<FONT COLOR="#0000A0">Grösse</FONT>, <FONT COLOR="#008000">Area</FONT>) </TD> <TD><INPUT NAME="area" SIZE=6> m<SUP>2</SUP></TD> </TR> <TR> <TD>Becsült érték:<BR> (<FONT COLOR="#0000A0">Prognostisiertes Wert</FONT>, <FONT COLOR="#008000">Estimated value</FONT>)</TD> <TD> <INPUT NAME="value" SIZE=6> 1000 HUF </TD> </TR> <TR> <TD>Beépítettség:<BR> (<FONT COLOR="#0000A0">Einbaustufe</FONT>, <FONT COLOR="#008000">Built in</FONT>)</TD> <TD><INPUT NAME="builtin" SIZE=5> m<SUP>2</SUP></TD> </TR> <TR> <TD>Belmagasság:<BR> (<FONT COLOR="#0000A0">Innenhöhe</FONT>, <FONT COLOR="#008000">Inside height</FONT>)</TD> <TD><INPUT NAME="height" SIZE=5> m</TD> </TR> <TR> <TD>Homlokzati szélesség:<BR> (<FONT COLOR="#0000A0">Breite der Fassade</FONT>, <FONT COLOR="#008000">Frontal width</FONT>) </TD> <TD><INPUT NAME="width" SIZE=5> m</TD> </TR> <TR> <TD>Építés éve:<BR> (<FONT COLOR="#0000A0">Baujahr</FONT>, <FONT COLOR="#008000">Building year</FONT>)</TD> <TD><INPUT NAME="building" SIZE=5></TD> </TR> <TR> <TD>Felújítás éve:<BR> (<FONT COLOR="#0000A0">Jahr der Renovierung</FONT>, <FONT COLOR="#008000">Year of reconstruction</FONT>)</TD> <TD><INPUT NAME="reconstruction" SIZE=4></TD> </TR> <TR> <TD>Szilárd burkolatú úton megközelíthetõ-e:<BR> (<FONT COLOR="#0000A0">Erreichbar auf der Straße mit fester Oberfläche</FONT>, <FONT COLOR="#008000">Accessible by hard surface road</FONT>) </TD> <TD> <SELECT NAME="access" SIZE=1> <OPTION SELECTED>igen <OPTION>nem </SELECT> </TD> </TR> <TR> <TD>Távolsága fõútvonaltól:<BR> (<FONT COLOR="#0000A0">Entfernung von der Landstrasse</FONT>, <FONT COLOR="#008000">Distance from main road</FONT>)</TD> <TD><INPUT NAME="road_distance" SIZE=5> km</TD> </TR> <TR> <TD>Távolsága vasútvonaltól:<BR> (<FONT COLOR="#0000A0">Entfernung von der Eisenbahn</FONT>, <FONT COLOR="#008000">Distance from railway</FONT>)</TD> <TD><INPUT NAME="rail_distance" SIZE=5> km</TD> </TR> <TR> <TD>Telefon fõvonalak száma:<BR> (<FONT COLOR="#0000A0">Anzahl der Telefonlinien</FONT>, <FONT COLOR="#008000">Number of telephone lines</FONT>)</TD> <TD><INPUT NAME="phone_number" SIZE=12> db</TD> </TR> <TR> <TD>Víz:<BR> (<FONT COLOR="#0000A0">Wasser</FONT>, <FONT COLOR="#008000">Water</FONT>)</TD> <TD> <SELECT NAME="water" SIZE=1> <OPTION SELECTED>van <OPTION>nincs </SELECT> </TD> </TR> <TR> <TD>Gáz:<BR> (<FONT COLOR="#0000A0">Gas</FONT>, <FONT COLOR="#008000">Gas</FONT>)</TD> <TD> <SELECT NAME="gas" SIZE=1> <OPTION SELECTED>van <OPTION>nincs </SELECT> </TD> </TR> <TR> <TD>Elektromos áram:<BR> (<FONT COLOR="#0000A0">Elektrizität</FONT>, <FONT COLOR="#008000">Electricity</FONT>)</TD> <TD> <SELECT NAME="electricity" SIZE=1> <OPTION SELECTED>van <OPTION>nincs </SELECT> </TD> </TR> <TR> <TD>Csatorna:<BR> (<FONT COLOR="#0000A0">Kanalisation</FONT>, <FONT COLOR="#008000">Canalization</FONT>)</TD> <TD> <SELECT NAME="canal" SIZE=1> <OPTION SELECTED>van <OPTION>nincs </SELECT> </TD> </TR> <TR> <TD>Állaga:<BR> (<FONT COLOR="#0000A0">Zustand</FONT>, <FONT COLOR="#008000">Condition</FONT>) </TD> <TD><INPUT NAME="condition" SIZE=50></TD> </TR> </TABLE> <P> <INPUT TYPE=SUBMIT VALUE=" Adatbázisba beilleszt "> <INPUT TYPE=RESET VALUE="Töröl"> </FORM> </BODY> </HTML>};