]> ruin.nu Git - ndwebbie.git/blob - templates/check.tmpl
3270812cdc5a20fdf0600f10c37d2cc38a128845
[ndwebbie.git] / templates / check.tmpl
1 <p><TMPL_IF Arbiter><TMPL_VAR NAME=Arbiter><TMPL_ELSE><a href="/<TMPL_VAR NAME=PAGE>?cmd=arbiter&amp;coords=<TMPL_VAR ESCAPE=URL NAME=Coords>">Do arbiter check on gal</a></TMPL_IF></p>
2
3 <table class="stats">
4         <tr align="center"><th colspan="4">Rank</th>
5         </tr>
6         <tr>
7         <th><a href="/<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=sizerank">Size</a></th>
8         <th><a href="/<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=scorerank">Score</a></th>
9         <th><a href="/<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=valuerank">Value</a></th>
10         <th><a href="/<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=xprank">XP</a></th>
11         <th>Coords</th>
12         <th><a href="/<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=planets">Planets</a></th>
13         <th><a href="/<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=sizerank">Size</a></th>
14         <th><a href="/<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=scorerank">Score</a></th>
15         <th><a href="/<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=valuerank">Value</a></th>
16         <th><a href="/<TMPL_VAR NAME=PAGE>?offset=<TMPL_VAR NAME=Offset>&amp;order=xprank">XP</a></th>
17         </tr>
18         <TMPL_LOOP Galaxies>
19         <tr align="right" class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
20                 <td title="<TMPL_VAR NAME=SizeRank_Gain_day> Today | <TMPL_VAR NAME=SizeRank_Gain> Tick"><TMPL_VAR NAME=SizeRank> <img src="/images/<TMPL_VAR NAME=SizeRankImg>.png" alt="<TMPL_VAR NAME=SizeImg>"/> </td>
21                 <td title="<TMPL_VAR NAME=ScoreRank_Gain_day> Today | <TMPL_VAR NAME=ScoreRank_Gain> Tick"><TMPL_VAR NAME=ScoreRank> <img src="/images/<TMPL_VAR NAME=ScoreRankImg>.png" alt="<TMPL_VAR NAME=ScoreImg>"/> </td>
22                 <td title="<TMPL_VAR NAME=ValueRank_Gain_day> Today | <TMPL_VAR NAME=ValueRank_Gain> Tick"><TMPL_VAR NAME=ValueRank> <img src="/images/<TMPL_VAR NAME=ValueRankImg>.png" alt="<TMPL_VAR NAME=ValueImg>"/> </td>
23                 <td title="<TMPL_VAR NAME=XPRank_Gain_day> Today | <TMPL_VAR NAME=XPRank_Gain> Tick"><TMPL_VAR NAME=XPRank> <img src="/images/<TMPL_VAR NAME=XPRankImg>.png" alt="<TMPL_VAR NAME=XPImg>"/> </td>
24
25                 <td><a href="/check?coords=<TMPL_VAR NAME=X>:<TMPL_VAR NAME=Y>"><TMPL_VAR NAME=X>:<TMPL_VAR NAME=Y></a></td>
26                 <td title="<TMPL_VAR NAME=Planets_Gain_day> Today | <TMPL_VAR NAME=Planets_Gain> Tick"><TMPL_VAR NAME=Planets> <img src="/images/<TMPL_VAR NAME=PlanetsImg>.png" alt="<TMPL_VAR NAME=PlanetsImg>"/> </td>
27                 <td title="<TMPL_VAR NAME=Size_Gain_day> Today | <TMPL_VAR NAME=Size_Gain> Tick"><TMPL_VAR NAME=Size> <img src="/images/<TMPL_VAR NAME=SizeImg>.png" alt="<TMPL_VAR NAME=SizeImg>"/> </td>
28                 <td title="<TMPL_VAR NAME=Score_Gain_day> Today | <TMPL_VAR NAME=Score_Gain> Tick"><TMPL_VAR NAME=Score> <img src="/images/<TMPL_VAR NAME=ScoreImg>.png" alt="<TMPL_VAR NAME=ScoreImg>"/> </td>
29                 <td title="<TMPL_VAR NAME=Value_Gain_day> Today | <TMPL_VAR NAME=Value_Gain> Tick"><TMPL_VAR NAME=Value> <img src="/images/<TMPL_VAR NAME=ValueImg>.png" alt="<TMPL_VAR NAME=ValueImg>"/> </td>
30                 <td title="<TMPL_VAR NAME=XP_Gain_day> Today | <TMPL_VAR NAME=XP_Gain> Tick"><TMPL_VAR NAME=XP> <img src="/images/<TMPL_VAR NAME=XPImg>.png" alt="<TMPL_VAR NAME=XPImg>"/> </td>
31
32         </tr>
33         </TMPL_LOOP>
34 </table>
35
36 <table>
37         <tr align="center"><th colspan="4">Rank</th>
38         </tr>
39         <tr><th>Size</th><th>Score</th><th>Value </th> <th>XP</th><th>Coords</th><th>Planet</th><th>Race</th><th>Size</th><th>Score</th><th>Value </th>
40                 <th>XP</th><th>Fleet (Resource) value</th><TMPL_IF isBC><th>Nick</th><th>Hit us</th><th>Alliance</th></TMPL_IF>
41         </tr>
42         <TMPL_LOOP GPlanets>
43         <tr align="right" class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
44
45                 <td style="padding-left: 0.5em" title="<TMPL_VAR NAME=SizeRank_Gain_day> Today | <TMPL_VAR NAME=SizeRank_Gain> Tick"><TMPL_VAR NAME=SizeRank> <img src="/images/<TMPL_VAR NAME=SizeRankImg>.png" alt="<TMPL_VAR NAME=SizeImg>"/> </td>
46                 <td style="padding-left: 0.5em" title="<TMPL_VAR NAME=ScoreRank_Gain_day> Today | <TMPL_VAR NAME=ScoreRank_Gain> Tick"><TMPL_VAR NAME=ScoreRank> <img src="/images/<TMPL_VAR NAME=ScoreRankImg>.png" alt="<TMPL_VAR NAME=ScoreImg>"/> </td>
47                 <td style="padding-left: 0.5em" title="<TMPL_VAR NAME=ValueRank_Gain_day> Today | <TMPL_VAR NAME=ValueRank_Gain> Tick"><TMPL_VAR NAME=ValueRank> <img src="/images/<TMPL_VAR NAME=ValueRankImg>.png" alt="<TMPL_VAR NAME=ValueImg>"/> </td>
48                 <td style="padding-left: 0.5em" title="<TMPL_VAR NAME=XPRank_Gain_day> Today | <TMPL_VAR NAME=XPRank_Gain> Tick"><TMPL_VAR NAME=XPRank> <img src="/images/<TMPL_VAR NAME=XPRankImg>.png" alt="<TMPL_VAR NAME=XPImg>"/> </td>
49
50                 <td align="left"><a href="/<TMPL_VAR NAME=PAGE>?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
51                 <td align="center"><TMPL_VAR NAME=Planet></td>
52                 <td align="center"><TMPL_VAR NAME=Race></td>
53                 <td style="padding-left: 0.5em" title="<TMPL_VAR NAME=Size_Gain_day> Today | <TMPL_VAR NAME=Size_Gain> Tick"><TMPL_VAR NAME=Size> <img src="/images/<TMPL_VAR NAME=SizeImg>.png" alt="<TMPL_VAR NAME=SizeImg>"/> </td>
54                 <td style="padding-left: 0.5em" title="<TMPL_VAR NAME=Score_Gain_day> Today | <TMPL_VAR NAME=Score_Gain> Tick"><TMPL_VAR NAME=Score> <img src="/images/<TMPL_VAR NAME=ScoreImg>.png" alt="<TMPL_VAR NAME=ScoreImg>"/> </td>
55                 <td style="padding-left: 0.5em" title="<TMPL_VAR NAME=Value_Gain_day> Today | <TMPL_VAR NAME=Value_Gain> Tick"><TMPL_VAR NAME=Value> <img src="/images/<TMPL_VAR NAME=ValueImg>.png" alt="<TMPL_VAR NAME=ValueImg>"/> </td>
56                 <td style="padding-left: 0.5em" title="<TMPL_VAR NAME=XP_Gain_day> Today | <TMPL_VAR NAME=XP_Gain> Tick"><TMPL_VAR NAME=XP> <img src="/images/<TMPL_VAR NAME=XPImg>.png" alt="<TMPL_VAR NAME=XPImg>"/> </td>
57                 <td align="center"><TMPL_VAR NAME=FleetValue> (<TMPL_VAR NAME=ResValue>)</td>
58                 <TMPL_IF isBC>
59                         <td align="center" 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>
60                         <td align="center"><TMPL_VAR NAME=Hit_Us></td>
61                         <td align="center" class="<TMPL_VAR NAME=Relationship>"><TMPL_VAR NAME=Alliance></td>
62                 </TMPL_IF>
63         </tr>
64
65         </TMPL_LOOP>
66 </table>
67 <TMPL_IF OnePlanet>
68 <div class="leftinfo">
69 <table>
70 <tr><th>Tick</th><th>Type</th>Amount</tr>
71 <TMPL_LOOP PlanetData>
72 <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
73         <td><TMPL_VAR NAME=Tick></td>
74         <td><TMPL_VAR NAME=Category> <TMPL_VAR NAME=Name></td>
75         <td><TMPL_VAR NAME=Amount></td>
76 </tr>
77 </TMPL_LOOP>
78 </table>
79 </div>
80 <div class="leftinfo">
81 <table>
82 <tr><th>Tick</th><th>Value</th><th>Gain</th></tr>
83 <TMPL_LOOP Values>
84 <tr>
85         <td><TMPL_VAR NAME=Tick></td><td><TMPL_VAR NAME=Value></td>
86         <td class="<TMPL_VAR NAME=Class>"><TMPL_VAR NAME=Gain></td>
87 </tr>
88 </TMPL_LOOP>
89 </table>
90 </div>
91 <div class="leftinfo">
92 <table>
93 <tr><th>Tick</th><th>Scan</th></tr>
94 <TMPL_LOOP Scans>
95 <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
96         <td><TMPL_VAR NAME=Tick></td>
97         <td><a href="http://game.planetarion.com/showscan.pl?scan_id=<TMPL_VAR NAME=Scan_id>"><TMPL_VAR NAME=Type></a></td>
98 </tr>
99 </TMPL_LOOP>
100 <tr><th>Tick</th><th>Coords</th></tr>
101 <TMPL_LOOP OldCoords>
102 <tr>
103         <td><TMPL_VAR NAME=Tick></td><td><TMPL_VAR NAME=X>:<TMPL_VAR NAME=Y>:<TMPL_VAR NAME=Z></td>
104 </tr>
105 </TMPL_LOOP>
106 </table>
107 </div>
108 <div class="leftinfo">
109 <table>
110         <tr><th>Target</th><th>Name</th><th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th></tr>
111         <TMPL_LOOP Missions>
112         <tr align="center" class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>" onclick="toggleVisibility('fleet<TMPL_VAR NAME=Id>')">
113                 <td><a href="/check?coords=<TMPL_VAR NAME=Target>"><TMPL_VAR NAME=Target></a></td>
114                 <td><TMPL_VAR NAME=Name></td>
115                 <td class="<TMPL_VAR NAME=Class>"><TMPL_VAR NAME=Mission></td><td><TMPL_VAR NAME=LandingTick></td>
116                 <td><TMPL_VAR NAME=ETA></td><td><TMPL_VAR NAME=Amount></td>
117         </tr>
118         <tr id="fleet<TMPL_VAR NAME=Id>" style="z-index:1; display:none;">
119                 <td/>
120                 <td colspan="5"><table>
121                 <TMPL_LOOP Ships>
122                 <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
123                         <td><TMPL_VAR NAME=Ship></td><td><TMPL_VAR NAME=Amount></td>
124                 </tr>
125                 </TMPL_LOOP>
126                 </table></td>
127         </tr>
128         </TMPL_LOOP>
129 </table>
130 <table>
131         <tr><th>Sender</th><th>Name</th><th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th></tr>
132         <TMPL_LOOP Incomings>
133         <tr align="center" class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>" onclick="toggleVisibility('fleet<TMPL_VAR NAME=Id>')">
134                 <td><a href="/check?coords=<TMPL_VAR NAME=Sender>"><TMPL_VAR NAME=Sender></a></td>
135                 <td><TMPL_VAR NAME=Name></td>
136                 <td class="<TMPL_VAR NAME=Class>"><TMPL_VAR NAME=Mission></td><td><TMPL_VAR NAME=LandingTick></td>
137                 <td><TMPL_VAR NAME=ETA></td><td><TMPL_VAR NAME=Amount></td>
138         </tr>
139         <tr id="fleet<TMPL_VAR NAME=Id>" style="z-index:1; display:none;">
140                 <td/>
141                 <td colspan="5"><table>
142                 <TMPL_LOOP Ships>
143                 <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
144                         <td><TMPL_VAR NAME=Ship></td><td><TMPL_VAR NAME=Amount></td>
145                 </tr>
146                 </TMPL_LOOP>
147                 </table></td>
148         </tr>
149         </TMPL_LOOP>
150 </table>
151 </div>
152 </TMPL_IF>
153 <div class="leftinfo">
154 <img class="graph" src="/graph/stats/<TMPL_VAR NAME=Coords>" alt="stats" height="300" width="500"/>
155 <img class="graph" src="/graph/ranks/<TMPL_VAR NAME=Coords>" alt="ranks" height="300" width="500"/>
156 </div>