]> ruin.nu Git - ndwebbie.git/blobdiff - templates/resources.tmpl
Converted rankings
[ndwebbie.git] / templates / resources.tmpl
index 5010c658b352467aa4fab0076a1cd8d3ac376f3a..69132f3b563cdcf4b03b13fc26bcaa1eb9a9cdf8 100644 (file)
@@ -2,17 +2,17 @@
 <table>
        <tr>
                <th>Name</th><th>Relationship</th><th>Members (in res calc)</th>
-               <th><a href="index.pl?page=resources&amp;order=score">Score</a></th>
-               <th><a href="index.pl?page=resources&amp;order=size">Size</a></th>
-               <th><a href="index.pl?page=resources&amp;order=resources">Resources</a></th>
-               <th><a href="index.pl?page=resources&amp;order=respplanet">Resources / Planet</a></th>
-               <th><a href="index.pl?page=resources&amp;order=nscore">Res score (gain)</a>[1]</th>
-               <th><a href="index.pl?page=resources&amp;order=nscore2">Avg res score (gain)</a>[2]</th>
-               <th><a href="index.pl?page=resources&amp;order=nscore3">Estimated score</a>[3]</th>
+               <th><a href="/<TMPL_VAR NAME=PAGE>?order=score">Score</a></th>
+               <th><a href="/<TMPL_VAR NAME=PAGE>?order=size">Size</a></th>
+               <th><a href="/<TMPL_VAR NAME=PAGE>?order=resources">Resources</a></th>
+               <th><a href="/<TMPL_VAR NAME=PAGE>?order=respplanet">Resources / Planet</a></th>
+               <th><a href="/<TMPL_VAR NAME=PAGE>?order=nscore">Res score (gain)</a>[1]</th>
+               <th><a href="/<TMPL_VAR NAME=PAGE>?order=nscore2">Avg res score (gain)</a>[2]</th>
+               <th><a href="/<TMPL_VAR NAME=PAGE>?order=nscore3">Estimated score</a>[3]</th>
        </tr>
 <TMPL_LOOP Alliances>
-       <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
-               <td><a href="index.pl?page=alliances&amp;alliance=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Name></a></td>
+       <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
+               <td><a href="alliances?alliance=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Name></a></td>
                <td class="<TMPL_VAR NAME=relationship>"><TMPL_VAR NAME=relationship></td>
                <td><TMPL_VAR NAME=members> (<TMPL_VAR NAME=planets>)</td>
                <td><TMPL_VAR NAME=score></td>