mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 22:31:02 +00:00
fix ban system 100% + replace the previous fix with better one + new admin panel by ZravianX version
This commit is contained in:
+1
-7
@@ -17,7 +17,6 @@ $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>
|
||||
@@ -127,9 +126,4 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
</div>
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
}
|
||||
?>
|
||||
</html>
|
||||
Reference in New Issue
Block a user