fix: Multihunter should have access to villages info

This commit is contained in:
Martin Ambrus
2017-11-30 18:16:00 +01:00
parent e431693cd2
commit f86ff9dce7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<?php <?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"> <table id="member">
<thead> <thead>
+1 -1
View File
@@ -108,7 +108,7 @@
else if($units['u49'] > 0){$u49 = '<font color="black">'.$units['u49'].'';} else if($units['u49'] > 0){$u49 = '<font color="black">'.$units['u49'].'';}
if($units['u50'] == 0){$u50 = '<font color="gray">'.$units['u50'].'';} if($units['u50'] == 0){$u50 = '<font color="gray">'.$units['u50'].'';}
else if($units['u50'] > 0){$u50 = '<font color="black">'.$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) if($user['tribe'] == 1)
{ {
+1 -1
View File
@@ -10,7 +10,7 @@
## Copyright: TravianZ (c) 2010-2014. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2014. All rights reserved. ##
## Improved: aggenkeech ## ## 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); error_reporting(0);
$id = $_GET['did']; $id = $_GET['did'];
if(isset($id)) if(isset($id))