-<TMPL_VAR NAME=Error>
<TMPL_IF Alliance>
-<form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Alliances: </legend>
+<fieldset> <legend>Alliances: </legend><form action="<TMPL_VAR NAME=PAGE>" method="post">
+<div class="leftinfo">
<input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
<input type="hidden" name="cmd" value="change"/>
<input type="hidden" name="alliance" value="<TMPL_VAR NAME=Id>"/>
-<div class="leftinfo">
<p>Alliance: <TMPL_VAR NAME=Alliance></p>
<p>Relationship: <select name="relationship">
<TMPL_LOOP Relationships>
</TMPL_LOOP>
</select>
<input type="checkbox" name="crelationship"/></p>
-</div>
-<div class="leftinfo">
<p>Paste a list of coords that you want to add to this alliance</p>
<textarea rows="10" cols="40" name="coords"></textarea>
-</div>
-<div class="clear"> </div>
<p class="claimlinks"><input type="submit" value="Submit"/></p>
+</div>
+</form>
+<div class="leftinfo">
+<form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend></legend>
+ <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
+ <input type="hidden" name="cmd" value="remove_all"/>
+ <input type="hidden" name="alliance" value="<TMPL_VAR NAME=Id>"/>
+ <p>Yes, remove all planets <input type="checkbox" name="crelationship"/></p>
+ <input type="submit" value="Remove All Planets"/>
</fieldset></form>
+</div>
+</fieldset>
<div class="leftinfo">
<img class="graph" src="/graph/alliance/<TMPL_VAR NAME=Id>" alt="Alliance size and score vs members" height="300" width="500"/>
<img class="graph" src="/graph/allianceavg/<TMPL_VAR NAME=Id>" alt="Avg alliance size and score vs members" height="300" width="500"/>
</div>
<div class="leftinfo">
-<table>
+<table class="stats">
<tr>
<th><a href="/<TMPL_VAR NAME=PAGE>?alliance=<TMPL_VAR NAME=Id>&order=coords">Coords</a></th>
<th>Nick</th>
<th><a href="/<TMPL_VAR NAME=PAGE>?alliance=<TMPL_VAR NAME=Id>&order=xp">XP (rank)</a></th>
</tr>
<TMPL_LOOP Members>
- <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
+ <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
<td><a href="check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
<td class="<TMPL_VAR NAME=Planet_status>"><a href="intel?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Nick>(<TMPL_VAR NAME=Planet_status>)</a></td>
<td><TMPL_VAR NAME=hit_us></td>
</table>
</div>
<div class="leftinfo">
-<table>
+<table class="stats">
<tr>
<th>Alliance</th><th>Sender</th>
<th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th>
<th>Ingal</th><th>Reported by</th>
</tr>
<TMPL_LOOP Intel>
- <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
+ <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
<td><TMPL_VAR NAME=OAlliance></td>
<td><a href="intel?coords=<TMPL_VAR NAME=Origin>"><TMPL_VAR NAME=Origin></a></td>
<td class="<TMPL_VAR NAME=MissionClass>"><TMPL_VAR NAME=Mission></td>
</div>
<TMPL_ELSE>
-<table>
+<table class="stats">
<tr>
<th>User</th>
<th>Known members</th>
<th><a href="/<TMPL_VAR NAME=PAGE>?order=kvalue">Value</a> (<a href="/<TMPL_VAR NAME=PAGE>?order=kvalavg">avg</a>)</th>
</tr>
<TMPL_LOOP Alliances>
- <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
+ <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
<td><a href="/<TMPL_VAR NAME=PAGE>?alliance=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Name></a></td>
<td><TMPL_VAR NAME=kmem></td>
<td><TMPL_VAR NAME=members></td>