-<p>Hello <TMPL_VAR=Username>.</p>
-<fieldset> <legend>Message from HC<TMPL_IF isHC> <a href="index.pl?page=motd">EDIT</TMPL_IF></a></legend>
- <TMPL_VAR=MOTD>
+<p>Hello <TMPL_VAR NAME=Username>.</p>
+<fieldset> <legend>Message from HC<TMPL_IF isHC> <a href="index.pl?page=motd">EDIT</a></TMPL_IF></legend>
+ <TMPL_VAR NAME=MOTD>
</fieldset>
<fieldset> <legend>Planet/account details</legend>
<ul>
<li> Scan points: <TMPL_VAR NAME=ScanPoints> </li>
<li> Humor points: <TMPL_VAR NAME=HumorPoints> </li>
<li> Total points: <TMPL_VAR NAME=TotalPoints> </li>
- <li> Member of the following groups: <TMPL_VAR NAME=Groups></li>
+ </TMPL_IF>
+ <li> Member of the following groups: <TMPL_LOOP Groups><TMPL_VAR NAME=Name><TMPL_UNLESS __last__>, </TMPL_UNLESS></TMPL_LOOP></li>
<TMPL_IF hasPLANET>
<li>Planet: <TMPL_VAR NAME=PlanetName></li>
<li>Size: <TMPL_VAR NAME=PlanetSize></li>
</fieldset>
<fieldset> <legend>Fleets</legend>
<table>
- <tr><th>Target</th><th>Mission</th><th>Amount</th><th>Landing Tick</th></tr></table>
+ <tr><th>Target</th><th>Mission</th><th>Amount</th><th>Landing Tick</th></tr>
+ <TMPL_LOOP Fleets>
+ <tr><td><TMPL_VAR NAME=Target></td><td><TMPL_VAR NAME=Mission></td>
+ <td><TMPL_VAR NAME=Amount></td><td><TMPL_VAR NAME=LandingTick></td>
+ </tr>
+ </TMPL_LOOP>
+ </table>
</fieldset>
-<form action="/index.pl" method="post">
+<form action="/index.pl?page=main" method="post">
<fieldset> <legend>SMS</legend>
<p>Number:
- <input type="text" name="sms" value="+46730506275"/>
+ <input type="text" name="sms" value="<TMPL_VAR NAME=SMS>"/>
<input type="submit" value="Submit"/>
</p>
</fieldset>
</form>
-<form action="/index.php" method="post">
+<form action="/index.pl?page=main.pl" method="post">
<fieldset> <legend>Fleet</legend>
<p>Paste your total fleet from ships section on overview here (do it daily to see the menus):</p>
<textarea rows="15" cols="50" name="fleet"></textarea>
<br/><input type="submit" value="Submit"/>
</fieldset>
</form>
-<form action="/index.php" method="post">
+<form action="/index.pl?page=main" method="post">
<fieldset> <legend>Change password</legend>
<p>Old password:
<input type="password" name="oldpass" value=""/>