\n"; # Az esetleges parameter feldolgozasa if ($REQUEST_METHOD=="GET") {$center=GetVariable("center",$QUERY_STRING);} if (substr($center,0,1)=="&") {unset($center);} if (!$center) { $url="articles.php?dir=articles"; } else {$url=$center;} //echo "1userid=[$userid];password=[$password]
\n"; ?> Advanced Micro Logics Informatikai Kft. \n"; echo "session IS registered
\n"; } else {echo "session NOT registered
\n";}*/ ?>
\n"; $m=array(); $article=stristr($url,"article="); if ((is_int(strpos($url,"readarticle.php"))) || (is_int(strpos($url,"product.php")))) { #Cikk olvasasa eseten $m[]=array("icon"=>"images/elkuldikon.gif", "href"=>"/?language=$language¢er=sendarticle.php?$article", "eng"=>"Send this article to a friend!", "hun"=>"Küldje el a cikket másnak!" ); $m[]=array("icon"=>"images/nyomtatikon.gif", "href"=>"/printarticle.php?$article&language=$language", "eng"=>"Printer-friendly version", "hun"=>"Nyomtatóbarát változat" ); } $pdf=CheckPDF($article);#PDF-ellenorzes if (file_exists($pdf)) { $m[]=array("icon"=>"images/pdfikon.gif", "href"=>$pdf, "eng"=>"Download as PDF", "hun"=>"Letöltés PDF-ként" ); } if (is_int(strpos($url,"sendarticle.php")) || is_int(strpos($url,"commentarticle.php"))) { #Cikk kuldese vagy kommentalasa eseten $m[]=array("icon"=>"images/visszaikon.gif", "href"=>"/?language=$language¢er=readarticle.php?$article", "eng"=>"Back to the article", "hun"=>"Vissza a cikkhez" ); } if (count($m)>0) {array_unshift($m,"-");} FunctionMenu($m); ?>

\n"; $c=CheckURL($url); #if (!is_int($c)) { # echo "$c
\n"; #} /* if ((is_int($c)) && ($c==1)) { error_reporting(1); $fp=fopen($url,"r"); if ($fp) { $buff=""; while (!feof($fp)) { $buff.=fread($fp,4096); } fclose($fp); $buff=Csere($buff,"src=",$url); $buff=Csere($buff,"href=",$url); $buff=Csere($buff,"background=",$url); if (!is_int(strpos(BaseURL($url,-1),"netbank.hu")) && !is_int(strpos(BaseURL($url,-1),"netbank.hu"))) { $forras="
Forrás: ".BaseURL($url,-1)."

\n"; } echo $buff; } else { Hiba("Hiba: URL megnyitása sikertelen ($url)."); error_reporting(15); } } */ if ((is_int($c)) && ($c==0)) { error_reporting(1); $p=strpos($SCRIPT_FILENAME,basename($SCRIPT_FILENAME)); if (is_int($p)) {$f=substr($SCRIPT_FILENAME,0,$p).$url;} else {$f=$url;} if ( (is_int(strpos($f, ".php")) || is_int(strpos($f, ".inc"))) && is_int(strpos($f,"?"))) { $s=substr($f,strpos($f,"?")+1,strlen($f)-strpos($f,"?")-1); parse_str($s); $f=substr($f,0,strpos($f,"?")); } if (!include($f)) { if ($language=="eng") {Hiba("Error including file: $f.");} else {Hiba("Hiba: file betöltése sikertelen ($f).");} } error_reporting(15); } ?>
(C) 2001 Advanced Micro Logics