mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-26 22:46:09 +00:00
big update
This commit is contained in:
+20
@@ -33,6 +33,26 @@ if(isset($_GET['newdid'])) {
|
||||
if(isset($_GET['s'])){
|
||||
$automation->isWinner();
|
||||
}
|
||||
if(isset($_GET['fid'])){
|
||||
$fid = $_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'] != ""){
|
||||
if($forum_type['forum_area'] == 0){
|
||||
if($forum_type['alliance'] != $session->alliance){
|
||||
header("Location: allianz.php");
|
||||
}
|
||||
}else if($forum_type['forum_area'] == 2){
|
||||
if($forum_type['alliance'] != $session->alliance){
|
||||
}else if($forum_type['forum_area'] == 3){
|
||||
|
||||
}
|
||||
|
||||
}else{
|
||||
header("Location: allianz.php");
|
||||
}
|
||||
}
|
||||
}
|
||||
if($_GET['aid'] or $session->alliance!=0){
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
Reference in New Issue
Block a user