From 6361ec94f32e472dee2b7c38eacc09777ad390e0 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 18 Oct 2012 12:21:35 +0200 Subject: [PATCH] update --- allianz.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/allianz.php b/allianz.php index 40d24114..eebc596f 100644 --- a/allianz.php +++ b/allianz.php @@ -24,20 +24,10 @@ if(isset($_GET['fid'])){ $fid = preg_replace("/[^0-9]/","",$_GET['fid']); $forum = mysql_query("SELECT * FROM " . TB_PREFIX . "forum_cat WHERE id = ".$fid.""); $forum_type = mysql_fetch_array($forum); -if($forum_type['forum_name'] != "" && $forum_type['forum_area'] != 1){ -if($forum_type['forum_area'] == 0){ +if($forum_type['forum_name'] != "" && $forum_type['forum_area'] == 0){ if($forum_type['alliance'] != $session->alliance){ header("Location: ".$_SERVER['PHP_SELF']); } -}else if($forum_type['forum_area'] == 2){ -if($forum_type['alliance'] != $session->alliance){ -}else if($forum_type['forum_area'] == 3){ - -} - -}else{ - header("Location: ".$_SERVER['PHP_SELF']); -} } }else if(isset($_GET['fid2'])){ $fid = preg_replace("/[^0-9]/","",$_GET['fid2']); @@ -345,6 +335,6 @@ include("Templates/links.tpl"); uid); } ?> \ No newline at end of file