@session_start();
if (!$_SERVER["QUERY_STRING"])
{
if (isset($_SESSION['dlinfo']))
{
if ($_SESSION['dlinfo']=='thor')
{
if (isset($_SESSION['requiest']))
{
include("download/request.php");
exit;
}
}
}
}
//error_reporting(0);
//ini_set('display_errors', true);
//error_reporting(E_ALL);
error_reporting(0);
require_once("lib/global_var.php");
require_once("lib/functions.php");
include("lib/404.php");
if ($_SERVER["QUERY_STRING"])
{
global $qstraction, $qstrsub_action, $qstrsub_string, $tmpqstr;
if (strstr($_SERVER["QUERY_STRING"],"%")){$tmpqstr = urldecode($_SERVER["QUERY_STRING"]);}else{$tmpqstr = $_SERVER["QUERY_STRING"];}$tmpqstr = explode("_", $tmpqstr);
if (count($tmpqstr)==1){$qstraction = $tmpqstr[0];}
if (count($tmpqstr)==2){$qstraction = $tmpqstr[0];$qstrsub_action = $tmpqstr[1];}
if (count($tmpqstr)>2){$qstraction = $tmpqstr[0];$qstrsub_action = $tmpqstr[1];$qstrsub_string = $tmpqstr[2];}
if ($qstraction=="kezdolap"){include("kezdolap/kezdolap.php");}
if ($qstraction=="download"){include("download/download.php");}
if ($qstraction=="dltovabbi"){include("download/dltovabbi.php");}
if ($qstraction=="request"){include("download/request.php");}
$theme = theme_replace($body);
echo $theme;
exit;
}
else
{
$tmpqstr = "kezdolap";
//$qstrsub_action = "list";
//$qstrsub_string = "17";
include("kezdolap/kezdolap.php");
$title ="Freegame portál | *.hu";
$revisit_after="1 days";
$page_topic="Ingyenes letöltés, játék portál, szoftver, hardver, játék";
$googlebot="index,follow,noodp";
$keywords="free, portál, szoftver, hardver, játék";
$description="Ingyenes letöltések. Freegame portál, szoftver, hardver, játék";
$theme = theme_replace($body);
echo $theme;
exit;
}
?>