change some images + ban system almost done: now banned player cannot get access to berichte.php and to nachrichten.php but can send message to multihunter

This commit is contained in:
unknown
2012-04-01 20:23:15 +03:00
parent 0f816c8918
commit d0f05e0e9a
6 changed files with 113 additions and 35 deletions
+7 -1
View File
@@ -17,6 +17,7 @@ $message->procMessage($_POST);
if(isset($_GET['t'])){
$automation->isWinner();
}
if(($_GET['id'])==5 or $session->access!=BANNED){ //replace 5 with your admin's id
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
@@ -126,4 +127,9 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
</div>
<div id="ce"></div>
</body>
</html>
</html>
<?php
}else{
header("Location: banned.php");
}
?>