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
-11
View File
@@ -11,15 +11,9 @@
class Profile {
public function procProfile($post) {
global $session;
if($session->access == BANNED){
header("Location: banned.php");
exit;
}
if(isset($post['ft'])) {
switch($post['ft']) {
case "p1" :
@@ -40,11 +34,6 @@ class Profile {
public function procSpecial($get) {
global $session;
if($session->access == BANNED){
header("Location: banned.php");
exit;
}
if(isset($get['e'])) {
switch($get['e']) {
case 2 :