getAlliance($_GET['aid']); $aliusers = $database->getAllMember($_GET['aid']); if($alidata and $aliusers) { foreach($aliusers as $member) { $totalpop += $database->getVSumField($member['id'],"pop"); } ?>
Alliance
Details Description
'; } ?>
Tag
Name
Rank ???
Points
Members
Alliance Founder getUserField($alidata['leader'],"username",0); ?>
Alliance Positions
Position: '.$player['username'].'
'.$row['rank'].'
Capacity $max) { $color = "red"; } else { $color = "blue"; } echo "($now/$max)"; ?>
» Edit Alliance
» Delete Alliance
getVSumField($user['id'],"pop"); $TotalVillages = $database->getProfileVillages($user['id']); echo ""; echo ""; echo ""; echo ""; echo ""; if($aid == $session->alliance) { if ((time()-600) < $user['timestamp']) { // 0 Min - 10 Min echo ""; } elseif ((time()-86400) < $user['timestamp'] && (time()-600) > $user['timestamp']) { // 10 Min - 1 Days echo ""; } elseif ((time()-259200) < $user['timestamp'] && (time()-86400) > $user['timestamp']) { // 1-3 Days echo ""; } elseif ((time()-604800) < $user['timestamp'] && (time()-259200) > $user['timestamp']) { echo ""; } else { echo ""; } } echo " "; } ?>
  Player Population Villages  
".$rank.".".$user['username']."".$TotalUserPop."".count($TotalVillages)."nownownownownow


'; } ?>
Alliance News
Event Time
'.$row['comment'].' '.date('d:m:Y H:i', $row['date']).'


Not Sure this Diplomacy is correct, but I think it is


"; } if($row['accepted'] ==1) { $accepted = ""; } $ally = mysql_fetch_assoc(mysql_query("SELECT * FROM ".TB_PREFIX."alidata WHERE id = ".$row['alli2']."")); echo ' '; } ?>
Alliance Diplomacy Sent
Recipient Alliance Type Accepted
'.$ally['tag'].' '.$type.' '.$accepted.'


"; } if($row['accepted'] ==1) { $accepted = ""; } $ally = mysql_fetch_assoc(mysql_query("SELECT * FROM ".TB_PREFIX."alidata WHERE id = ".$row['alli1']."")); echo ' '; } ?>
Alliance Diplomacy Recieved
From Alliance Type Accepted
'.$ally['tag'].' '.$type.' '.$accepted.'


"; } if($row['accepted'] == 1) { $accepted = ""; } $ally1 = mysql_fetch_assoc(mysql_query("SELECT * FROM ".TB_PREFIX."alidata WHERE id = ".$row['alli1']."")); $ally2 = mysql_fetch_assoc(mysql_query("SELECT * FROM ".TB_PREFIX."alidata WHERE id = ".$row['alli2']."")); echo ' '; } ?>
Alliance Relationships
Alliance Type
'.$ally1['tag'].' & '.$ally2['tag'].' '.$type.'


Back"; } } ?>