if (substr($FKZ,9,10)=="*") {$FKZ=substr($FKZ,0,9);}
if ($EVB=="") {echo ("Beschreibung des Verbundvorhabens um TV ");}
if ($EVB=="J") {echo ("Beschreibung des Vorhabens FKZ ");}
echo ($FKZ);
?>
include "../noaccess/header.inc";?>
//row[0] /5 /10 /15 /20 /25 /30
if ($EVB=="J" and $GB==0) {$Abfrage="SELECT LPS,LPText,FKZ,BETRAG,BEG,END,REF,TIB,VVTH,EZTH,ZE,AD,PLZORT,INET,IAPAN,IAPTI,IAPVN,IAPNN,IAPTel,IAPFax,IAPEM,IAPwww,IKBEZ,Bild1,Bild2,Bild3,Bild4,TBild1,TBild2,TBild3,TBild4,ITIME,IKBVV,PT,APT,ASN,ASA,ASPLZORT,GBITIME FROM Aprojekte where FKZ='$FKZ'";}
if ($EVB=="J" and $GB==1) {$Abfrage="SELECT LPS,LPText,FKZ,BETRAG,BEG,END,REF,TIB,GBVVTH,GBEZTH,GBZE,AD,PLZORT,GBINET,IAPAN,IAPTI,IAPVN,IAPNN,IAPTel,IAPFax,IAPEM,IAPwww,GBIKBEZ,Bild1,Bild2,Bild3,Bild4,GBTBild1,GBTBild2,GBTBild3,GBTBild4,GBITIME,GBIKBVV,PT,APT,ASN,ASA,ASPLZORT,ITIME FROM Aprojekte where FKZ='$FKZ'";}
if ($BV!="")
{$Abfrage="select VVTH from Aprojekte where FKZ='$FKZ'";
if ($GB==1) {$Abfrage="select GBVVTH from Aprojekte where FKZ='$FKZ'";}
include "../noaccess/SQL.inc";
if (mysql_num_rows($result)!=0)
{
$row=mysql_fetch_row($result);
$VVTH=substr($row[0],0,100);
mysql_free_result($result);$row="";
}
$LPS=substr($BV,0,6);
//Kontrollabfrage wg. php-Timeout bei zuvielen TVs - Limitierung auf 5 Stück in Anzeige
$Abfrage="Select VVTH from Aprojekte where VVTH like '%$VVTH%'";
include "../noaccess/SQL.inc";
$v=$vielerg;
$Abfrage="SELECT LPS,LPText,FKZ,BETRAG,BEG,END,REF,TIB,VVTH,EZTH,ZE,AD,PLZORT,INET,IAPAN,IAPTI,IAPVN,IAPNN,IAPTel,IAPFax,IAPEM,IAPwww,IKBEZ,IKBVV,Bild1,Bild2,Bild3,Bild4,TBild1,TBild2,TBild3,TBild4,ITIME,PT,APT,ASN,ASA,ASPLZORT,GBITIME FROM Aprojekte where VVTH Like'$VVTH%' ORDER BY EZTH ASC";
if ($GB==1) {$Abfrage="SELECT LPS,LPText,FKZ,BETRAG,BEG,END,REF,TIB,GBVVTH,GBEZTH,GBZE,AD,PLZORT,GBINET,IAPAN,IAPTI,IAPVN,IAPNN,IAPTel,IAPFax,IAPEM,IAPwww,GBIKBEZ,GBIKBVV,Bild1,Bild2,Bild3,Bild4,GBTBild1,GBTBild2,GBTBild3,GBTBild4,GBITIME,PT,APT,ASN,ASA,ASPLZORT,ITIME FROM Aprojekte where GBVVTH Like'$VVTH%' ORDER BY EZTH ASC";}
//Limitierung auf 5 Stück in Anzeige
$BK=0;
if ($B>0) {$BK=$B-1;}
$Abfrage="$Abfrage limit $BK,5";
}
$Suchstart=microtime();
include "../noaccess/SQL.inc";
$Suchende=microtime();$Dauer=doubleval($Suchende)-doubleval($Suchstart);$Suchstart=0;$Suchende=0;
$Printanfang=microtime();
if ($BV==""){if ($EVB=="J") {include "../noaccess/wwwEZB.inc";}}
if ($BV!="") { include "../noaccess/wwwVerbund.inc";}
$Printende=microtime();
//include "../noaccess/wwwlogfile.inc";
mysql_free_result($result);$row=""; $Anzeige="";$B=0;$E=0;
$Printdauer = doubleval($Printende)-doubleval(Printanfang); $Printanfang=0; $Printende=0;
echo ("