|
| 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");
?>
| Own offers |
alliance;
if(count($database->diplomacyOwnOffers($alliance))){
foreach($database->diplomacyOwnOffers($alliance) as $row){
echo '
| '.$database->getAllianceName($row['alli2']).' | '.(["Conf", "Nap", "War"])[$row['type']-1].' |
';
}
}
else echo '| 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. |
| Foreign offers |
alliance;
if(($dInvites = $database->diplomacyInviteCheck($alliance)) && count($dInvites)){
foreach($dInvites as $row){
echo ' | '.$database->getAllianceName($row['alli1']).' | '.(["Conf", "Nap", "War"])[$row['type']-1].' |
';
}
}
else echo '| none |
';
?>