mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-15 17:16:08 +00:00
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:
+7
-1
@@ -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");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user