header("location:http://wm-klan.pl")
include ("conf.inc.php");
if (!defined("NK_OPEN"))
{
echo "
Strona chwilowo zamknięta, Zapraszamy później.
";
exit();
}
if (!defined("NK_INSTALLED"))
{
if (is_file("install.php"))
{
header("location: install.php");
}
}
else
{
if (is_file("install.php") || is_file("update.php"))
{
echo "
Uwaga ! install.php and update.php musisz wymazać z FTP !
";
exit();
}
}
include ("nuked.php");
$session = session_check();
if ($session == 1)
{
$user = secure();
}
else
{
$user = "";
}
$check_ip = banip();
if ($check_ip != "")
{
$url_ban = "ban.php?ip_ban=" . $check_ip;
redirect($url_ban, 0);
exit();
}
// Securite par phpSecure.info
if (ereg("\.\.", $theme) || ereg("\.\.", $language))
{
die("
What are you trying to do ?
");
}
$theme = trim($theme);
$language = trim($language);
// Fin
if ($nuked['nk_status'] == "closed" && $user[1] < 9 && $op != "login_screen" && $op != "login_message" && $op != "login")
{
include ("themes/" . $theme . "/colors.php");
translate("lang/" . $language . ".lang.php");
echo "\n"
. "\n"
. "" . $nuked['name'] . " - " . $nuked['slogan'] . " -\n"
. "\n"
. "\n"
. "\n"
. "
\n"
. "\n"
. "" . $nuked['name'] . " - " . $nuked['slogan'] . "
\n"
. _SITECLOSED . " |
Darmowy hosting zapewnia PRV.PL
";
}
else
{
include ("themes/" . $theme . "/colors.php");
include ("themes/" . $theme . "/theme.php");
translate("lang/" . $language . ".lang.php");
// Nuked-Klan Titles Patch
include ("Includes/nkTitres.php");
$im_file = $nuked_nude;
visits();
if (!isset($nuked_nude))
{
if (defined("NK_GZIP") && @extension_loaded('zlib') && !@ini_get('zlib.output_compression') && @phpversion() >= "4.0.4")
{
ob_start("ob_gzhandler");
}
top();
echo ""
. "";
if ($nuked['nk_status'] == "closed" && $user[1] == 9)
{
echo "\n"
."" . _YOURSITEISCLOSED . " :
" . $nuked['url'] . "/index.php?file=User&op=login_screen |
\n";
}
if ($page != "")
{
$im_file = $page;
}
else
{
$im_file = "index";
}
}
// Security
if (ereg("\.\.", $file) || ereg("\.\.", $im_file))
{
die("
What are you trying to do ?
");
}
$file = trim($file);
$im_file = trim($im_file);
// Koniec
if (is_file("modules/" . $file . "/" . $im_file . ".php"))
{
include("modules/" . $file . "/" . $im_file . ".php");
}
else
{
include("modules/404/index.php");
}
if (!isset($nuked_nude))
{
if ($user[5] > 0 && !isset($_COOKIE['popup']) && $file != "User" && $file != "Userbox")
{
echo "\n"
. "\n"
. "\n";
}
footer();
include("Includes/copyleft.php");
}
}
?>