]> ruin.nu Git - ndwebbie.git/blobdiff - templates/top100.tmpl
show forum thread on intel
[ndwebbie.git] / templates / top100.tmpl
index f723dd095be24e37cf25ef076020047765c69489..497e369087edbf9b0925259f8d190af0c2e1875c 100644 (file)
@@ -1,33 +1,34 @@
-<p><a href="index.pl?page=top100&amp;offset=<TMPL_VAR NAME=PrevOffset>&amp;order=<TMPL_VAR NAME=Order>">Previous 100</a>
-       <a href="index.pl?page=top100&amp;offset=<TMPL_VAR NAME=NextOffset>&amp;order=<TMPL_VAR NAME=Order>">Next 100</a></p>
-<table border="1">
+<TMPL_VAR NAME=Error>
+<p><a href="<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=PrevOffset>&amp;order=<TMPL_VAR NAME=Order>">Previous 100</a>
+       <a href="<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=NextOffset>&amp;order=<TMPL_VAR NAME=Order>">Next 100</a></p>
+<table>
        <tr><th>Coords</th><th>Planet</th><th>Race</th>
-       <th><a href="index.pl?page=top100&amp;offset=<TMPL_VAR NAME=Offset>&amp;order=sizerank">Size (rank)</a></th>
-       <th><a href="index.pl?page=top100&amp;offset=<TMPL_VAR NAME=Offset>&amp;order=scorerank">Score (rank)</a></th>
-       <th><a href="index.pl?page=top100&amp;offset=<TMPL_VAR NAME=Offset>&amp;order=valuerank">Value (rank)</a></th>
-       <th><a href="index.pl?page=top100&amp;offset=<TMPL_VAR NAME=Offset>&amp;order=xprank">XP (rank)</a></th>
+       <th><a href="<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=sizerank">Size (rank)</a></th>
+       <th><a href="<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=scorerank">Score (rank)</a></th>
+       <th><a href="<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=valuerank">Value (rank)</a></th>
+       <th><a href="<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=xprank">XP (rank)</a></th>
        <TMPL_IF isHC>
        <th>Nick</th>
-       <th><a href="index.pl?page=top100&amp;offset=<TMPL_VAR NAME=Offset>&amp;order=hit_us">Hit us</a></th>
+       <th><a href="<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=hit_us">Hit us</a></th>
        <th>Alliance</th>
        </TMPL_IF>
        </tr>
        <TMPL_LOOP Planets>
-       <tr align="center">
-       <td><a href="index.pl?page=check&amp;coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
+       <tr align="center" 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><TMPL_VAR NAME=Planet></td>
        <td><TMPL_VAR NAME=Race></td>
-       <td><TMPL_VAR NAME=Size></td>
-       <td><TMPL_VAR NAME=Score></td>
-       <td><TMPL_VAR NAME=Value></td>
-       <td><TMPL_VAR NAME=XP></td>
+       <td><TMPL_VAR NAME=Size>(<TMPL_VAR NAME=Sizerank>)</td>
+       <td><TMPL_VAR NAME=Score>(<TMPL_VAR NAME=Scorerank>)</td>
+       <td><TMPL_VAR NAME=Value>(<TMPL_VAR NAME=Valuerank>)</td>
+       <td><TMPL_VAR NAME=XP>(<TMPL_VAR NAME=XPrank>)</td>
        <TMPL_IF isHC>
-       <td class="<TMPL_VAR NAME=PlanetStatus>"><TMPL_VAR NAME=Nick></td>
-       <td><TMPL_VAR NAME=HitUs></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>
        <td class="<TMPL_VAR NAME=Relationship>"><TMPL_VAR NAME=Alliance></td>
        </TMPL_IF>
        </tr>
        </TMPL_LOOP>
 </table>
-<p><a href="index.pl?page=top100&amp;offset=<TMPL_VAR NAME=PrevOffset>&amp;order=<TMPL_VAR NAME=Order>">Previous 100</a>
-       <a href="index.pl?page=top100&amp;offset=<TMPL_VAR NAME=NextOffset>&amp;order=<TMPL_VAR NAME=Order>">Next 100</a></p>
+<p><a href="<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=PrevOffset>&amp;order=<TMPL_VAR NAME=Order>">Previous 100</a>
+       <a href="<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=NextOffset>&amp;order=<TMPL_VAR NAME=Order>">Next 100</a></p>