Permalink
Browse files

update

  • Loading branch information...
unknown unknown
unknown authored and unknown committed Oct 18, 2012
1 parent 82bd054 commit 6361ec94f32e472dee2b7c38eacc09777ad390e0
Showing with 2 additions and 12 deletions.
  1. +2 −12 allianz.php
View
@@ -24,18 +24,8 @@
$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['alliance'] != $session->alliance){
- header("Location: ".$_SERVER['PHP_SELF']);
-}
-}else if($forum_type['forum_area'] == 2){
+if($forum_type['forum_name'] != "" && $forum_type['forum_area'] == 0){
if($forum_type['alliance'] != $session->alliance){
-}else if($forum_type['forum_area'] == 3){
-
-}
-
-}else{
header("Location: ".$_SERVER['PHP_SELF']);
}
}
@@ -345,6 +335,6 @@ function med_showDescription(coords, desc_string){
</html>
<?php
}else{
-header("Location: spieler.php");
+header("Location: spieler.php?uid=".$session->uid);
}
?>

0 comments on commit 6361ec9

Please sign in to comment.