mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-11 23:26:08 +00:00
274d89bfa1
+You can no longer kick people of other alliances +You can no longer change the forum link with no permissions +You can no longer make more than 3 total confederation and 3 total NAP +You can no longer send a diplomacy pact to an alliance with already one pact or one pending pact +You can no longer handle diplomacy without permissions +Fixed security bugs related to invites (sending, deleting etc.) +You can no longer access to any alliance submenus without permissions (kick menu, diplomacy menu, etc.) +Errors are now shown correctly and better handling of them +New forum link and alliance description are shown correctly after editing them +You can no longer access to other alliances informations without being in it (attack reports, news, etc) +Corrected some alliance news +Added some language constants to en.php +Fixed and changed some database.php functions alliance related
30 lines
1.1 KiB
Smarty
30 lines
1.1 KiB
Smarty
<?php
|
|
if(!isset($aid)) $aid = $session->alliance;
|
|
|
|
$allianceinfo = $database->getAlliance($aid);
|
|
echo "<h1>".$allianceinfo['tag']." - ".$allianceinfo['name']."</h1>";
|
|
include("alli_menu.tpl");
|
|
?>
|
|
<form method="post" action="allianz.php">
|
|
<input type="hidden" name="a" value="100">
|
|
<input type="hidden" name="o" value="100">
|
|
<input type="hidden" name="s" value="5">
|
|
|
|
<table cellpadding="1" cellspacing="1" cellpadding="1" cellspacing="1" id="name" class="small_option"><thead>
|
|
<tr>
|
|
<th colspan="2">Change name</th>
|
|
</tr></thead>
|
|
<tbody><tr>
|
|
<th>Tag</th>
|
|
<td><input class="tag text" name="ally1" value="<?php echo $allianceinfo['tag']; ?>" maxlength="15">
|
|
<span class="error2"><?php echo $form->getError("ally1"); ?></span></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Name</th>
|
|
<td><input class="name text" name="ally2" value="<?php echo $allianceinfo['name']; ?>" maxlength="50">
|
|
<span class="error2"><?php echo $form->getError("ally2"); ?></span></td>
|
|
</tr></tbody></table>
|
|
|
|
<p><input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" /></form></p>
|
|
<p class="error"><?php echo $form->getError("perm"); ?></p> |