General fixes

+Removed almost all "BANNED" controls to template and .php UI files. The
control will be done only once and in the Session class
This commit is contained in:
iopietro
2018-06-11 02:22:22 +02:00
parent 56f4e799e0
commit 79eb6a73d6
38 changed files with 681 additions and 1026 deletions
+2 -5
View File
@@ -1,6 +1,6 @@
<?php
////////////// made by alq0rsan /////////////////////////
if($session->access != BANNED){
$MyVilId = mysqli_query($database->dblink,"SELECT * FROM ".TB_PREFIX."vdata WHERE `wref`='".$village->wid."'") or die(mysqli_error($database->dblink));
$uuVilid = mysqli_fetch_array($MyVilId);
@@ -25,8 +25,5 @@ echo "failed";
header("Location: plus.php?id=3");
exit;
}else{
header("Location: banned.php");
exit;
}
?>