voila le code de lindex.php
< ?php
//------------------------------------------------
-------------------------//
/ / Nuked-KlaN - PHP Portal / /
/ / http://www.nuked-klan.org / /
//------------------------------------------------
-------------------------//
/ / This program is free software. you can redistribute it and/or modify / /
/ / it under the terms of the GNU General Public License as published by / /
/ / the Free Software Foundation; either version 2 of the License. / /
//------------------------------------------------
-------------------------//
define ( "INDEX_CHECK","1");
include ( "conf.inc.php");
if ( !defined("NK_INSTALLED")) {
if ( is_file("install.php")) {
header("location: install.php");
}
}else{
if ( is_file("install.php") || is_file("update.php")){
echo"<br><br><br><center><big>Warning ! < b>install.php</b> and < b>update.php</b> must be removed before continuing ! </big></center>";
exit();
}
}
include ( "nuked.php");
$check_ip=banip();
if($check_ip!=""){
redirect("ban.php?ip_ban=$check_ip",0);
}
$session=session_check();
if ( $session=="1"){$user=secure();}else{$user="";}
/ / Securite par phpSecure.info
if ( ereg("\.\.",$theme) || ereg("\.\.",$language) ) {
die("<br><br><br><center><big>What are you trying to do ? </big></center>");
}
$theme = trim($theme);
$language = trim($language);
/ / Fin
include ( "themes/".$theme."/colors.php");
include ( "themes/".$theme."/theme.php");
include ( "lang/".$language.".lang.php");
/ /Supprimer les " //" de la ligne ci-dessous si vous utilisé le module phpBB2
/ /include ( "Includes/phpBB2.php");
$im_file=$nuked_nude;
if ( !isset($nuked_nude)){
top();
echo" <script type=\"text/javascript\" src=\"overlib.js\"></script>
<div id=\"overDiv\" style=\"position:absolute; visibility:hidden; z-index:1000;\"></div>";
if($page!=""){$im_file="$page";}else{$im_file="ind
ex";}
}
/ / Securite par phpSecure.info
if ( ereg("\.\.",$file) || ereg("\.\.",$im_file) ) {
die("<br><br><br><center><big>What are you trying to do ? </big></center><br><br>");
}
$file = trim($file);
$im_file = trim($im_file);
/ / Fin
if ( is_file("modules/$file/$im_file.php") ) {
include("modules/$file/$im_file.php");
}else{
include("modules/404/index.php");
}
if ( !isset($nuked_nude)){
footer();
}
? >