]> ruin.nu Git - ndwebbie.git/blobdiff - templates/points.tmpl
cache graphs, and return not modified
[ndwebbie.git] / templates / points.tmpl
index 4e6f42366b8bbb1c2772a26b30020f492d743992..33dc8522bc04c50370f2da3e656d2eb9d4216384 100644 (file)
@@ -1,15 +1,15 @@
-<table border="1">
+<table>
        <tr>
        <th>User</th>
-       <th><a href="points.php?type=total">Total</a></th>
-       <th><a href="points.php?type=defense">Defenses</a></th>
-       <th><a href="points.php?type=attack">Attacks</a></th>
-       <th><a href="points.php?type=scan">Scans</a></th>
-       <th><a href="points.php?type=humor">Humor</a></th>
-       <th><a href="points.php?type=rank">ND Rank</a></th>
+       <th><a href="/<TMPL_VAR NAME=PAGE>?type=total">Total</a></th>
+       <th><a href="/<TMPL_VAR NAME=PAGE>?type=defense">Defenses</a></th>
+       <th><a href="/<TMPL_VAR NAME=PAGE>?type=attack">Attacks</a></th>
+       <th><a href="/<TMPL_VAR NAME=PAGE>?type=scan">Scans</a></th>
+       <th><a href="/<TMPL_VAR NAME=PAGE>?type=humor">Humor</a></th>
+       <th><a href="/<TMPL_VAR NAME=PAGE>?type=rank">ND Rank</a></th>
        </tr>
        <TMPL_LOOP Members>
-       <tr>
+       <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
        <td><TMPL_VAR NAME=Username></td>
        <td><TMPL_VAR NAME=Total></td>
        <td><TMPL_VAR NAME=Defense></td>