mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: Multihunter should have access to villages info
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
if($_SESSION['access'] < 9) die("Access Denied: You are not Admin!");
|
||||
if($_SESSION['access'] < MULTIHUNTER) die("Access Denied: You are not Admin!");
|
||||
?>
|
||||
<table id="member">
|
||||
<thead>
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
else if($units['u49'] > 0){$u49 = '<font color="black">'.$units['u49'].'';}
|
||||
if($units['u50'] == 0){$u50 = '<font color="gray">'.$units['u50'].'';}
|
||||
else if($units['u50'] > 0){$u50 = '<font color="black">'.$units['u50'].'';}
|
||||
if($_SESSION['access'] == ADMIN)
|
||||
if($_SESSION['access'] >= MULTIHUNTER)
|
||||
{
|
||||
if($user['tribe'] == 1)
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
## Copyright: TravianZ (c) 2010-2014. All rights reserved. ##
|
||||
## Improved: aggenkeech ##
|
||||
#################################################################################
|
||||
if($_SESSION['access'] < 9) die("Access Denied: You are not Admin!");
|
||||
if($_SESSION['access'] < 8) die("Access Denied: You are not Admin!");
|
||||
error_reporting(0);
|
||||
$id = $_GET['did'];
|
||||
if(isset($id))
|
||||
|
||||
Reference in New Issue
Block a user