/layout/layoutlayout; ?>/css/css.css">
Error |
U ziet deze pagina omdat er problemen zijn met de site
De beheerders zijn druk bezig met het vinden of het oplossen van de fout
Een ogenblik geduld...
|
ENDHTML;
exit;
}
function beveilig($waarde) {
if (get_magic_quotes_gpc()) {
$waarde = addslashes($waarde);
}
if(version_compare(phpversion(),"4.3.0") == "-1") {
return mysql_escape_string($waarde);
} else {
return mysql_real_escape_string($waarde);
}
}
$url = substr($_SERVER['REQUEST_URI'], 1);
if(eregi("%", $url) || eregi(";", $url) || eregi(")", $url))
{
header("Location: index.php");
exit;
}
session_start();
include("_include-funcs.php");
if(isset($_SESSION['login'])) {
session_regenerate_id();
$dbres = mysql_query("SELECT *,UNIX_TIMESTAMP(`signup`) AS `signup`,UNIX_TIMESTAMP(`online`) AS `online` FROM `[users]` WHERE `login`='{$_SESSION['login']}'");
$data = mysql_fetch_object($dbres);
}
foreach($_POST as $key => $value) {
if(gettype($_POST[$key]) == "array")
foreach($_POST[$key] as $key2 => $value2)
$_POST[$key][$key2] = addslashes($_POST[$key][$key2]);
else
$_POST[$key] = addslashes($_POST[$key]);
}
foreach($_GET as $key => $value) {
if(gettype($_GET[$key]) == "array")
foreach($_GET[$key] as $key2 => $value2)
$_GET[$key][$key2] = addslashes($_GET[$key][$key2]);
else
$_GET[$key] = addslashes($_GET[$key]);
}
foreach($_COOKIE as $key => $value) {
if(gettype($_COOKIE[$key]) == "array")
foreach($_COOKIE[$key] as $key2 => $value2)
$_COOKIE[$key][$key2] = addslashes($_COOKIE[$key][$key2]);
else
$_COOKIE[$key] = addslashes($_COOKIE[$key]);
}
$dbres = mysql_query("SELECT id FROM `[messages]` WHERE `read`=0 AND `inbox`=1 AND `to`='{$data->login}'");
$inboxnew = mysql_num_rows($dbres);
if($inboxnew == 1 && $data->plevel >=2) {
if($data != "") {
echo "
";
}
}
if($inboxnew >= 2 && $data->plevel >=2) {
if($data != "") {
echo "
";
}
}
$clientIP = $_SERVER['REMOTE_ADDR'];
if(mysql_num_rows($dbres) != 0) {
print <<
sitetitle; ?>
Ban |
Het IP waarmee je speelt is geband
|