ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/www/src/content/recent.content.php
(Generate patch)

Comparing deliantra/www/src/content/recent.content.php (file contents):
Revision 1.6 by sf-dustfinger, Wed Apr 7 18:37:02 2010 UTC vs.
Revision 1.7 by sf-dustfinger, Wed Apr 7 18:44:49 2010 UTC

142 $timestamp = $jsonArray->date; 142 $timestamp = $jsonArray->date;
143 $version = $jsonArray->version; 143 $version = $jsonArray->version;
144 $players = $jsonArray->data; 144 $players = $jsonArray->data;
145 145
146 echo "<table style='width: 100%'>\n"; 146 echo "<table style='width: 100%'>\n";
147 echo "<tr><th>Player Name</th><th>Last Login</th><th>Last Logout</th><th>Birthdate</th><th align='right'>Logins</th><th align='right'>Deaths</th><th>OS</th><th>Go</th></tr>"; 147 echo "<tr><th>Player Name</th><th>Last Login</th><th>Last Logout</th><th>Birthdate</th><th style='text-align: right;'>Logins</th><th style='text-align: right;'>Deaths</th><th>OS</th><th>Go</th></tr>";
148 148
149 $number = 0; 149 $number = 0;
150 $size = 100; 150 $size = 100;
151 foreach($players as $player) 151 foreach($players as $player)
152 { 152 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines