| | This script is property of TravianX Project. You are allowed to change | its source and release it, but you have no rights to remove copyright | notices. | | TravianX All rights reserved | */ if(!isset($aid)) $aid = $session->alliance; $allianceinfo = $database->getAlliance($aid); echo "

".$allianceinfo['tag']." - ".$allianceinfo['name']."

"; include("alli_menu.tpl"); ?>
Alliance diplomacy
Alliance
Hint
It's part of diplomatic etiquette to talk to another alliance and negotiate before sending an offer for a non-aggression pact or a confederation.

getError("name"); ?>

alliance; if(count($database->diplomacyOwnOffers($alliance))){ foreach($database->diplomacyOwnOffers($alliance) as $row){ echo ''; } } else echo ''; ?>
Own offers
'.$database->getAllianceName($row['alli2']).'
'.(["Conf", "Nap", "War"])[$row['type']-1].'
none
Tip
If you want to see connections in the alliance description automatically, type [diplomatie] into the description, [ally], [nap] and [war] are also possible.
alliance; if(($dInvites = $database->diplomacyInviteCheck($alliance)) && count($dInvites)){ foreach($dInvites as $row){ echo ''; } } else echo ''; ?>
Foreign offers
'.$database->getAllianceName($row['alli1']).'
'.(["Conf", "Nap", "War"])[$row['type']-1].'
none
alliance; if(($rels = $database->diplomacyExistingRelationships($alliance)) && count($rels)){ foreach($rels as $row){ echo ''; } } else echo ''; ?>
Existing relationships
'.$database->getAllianceName(($row['alli1'] == $session->alliance ? $row['alli2'] : $row['alli1'])).'
'.(["Conf", "Nap", "War"])[$row['type']-1].'
none