<?php
global $site, $incpath;
if ($site == "")
{
?>
<?php
chdir("news");
include("index.php");
?>
<?php
}
else
{
switch ($site)
{
case "forum": $incpath = "pub/www/test.php"; break;
case "toplist": $incpath = "links.php"; break;
case "link": chdir("linkliste"); $incpath = "list.php"; break;
case "blacklist": $incpath = "links.php"; break;
case "gbuch": $include= "gbevil.php"; break;
case "chat": $incpath = "chat/index.php"; break;
case "kontakt": $incpath = "links.php"; break;
case "linkus": $incpath = "linkus.php"; break;
case "copyright": $incpath = "copyright.php"; break;
case "ns": $incpath = "/news/index.php?action"; break;
case "sagaguide": $incpath = "sagaguide.php"; break;
case "ssjstufen": $incpath = "ssjstufen.php"; break;
case "episoden": $incpath = "episodenguide.php"; break;
case "kampfkraft": $incpath = "kampfkraft.php"; break;
case "stammbaum": $incpath = "stammbaum.php"; break;
case "gguide": $incpath = "gguide.php"; break;
case "mguide": $incpath = "mguide.php"; break;
case "chars": $incpath = "chars.php"; break;
case "cspiele": $incpath = "cspiele.php"; break;
case "dl": chdir("powerdownload222"); $incpath = "downloads.php"; break;
}
include ($incpath);
}
?>