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.2 by sf-dustfinger, Sat Apr 3 00:56:45 2010 UTC vs.
Revision 1.3 by sf-dustfinger, Sat Apr 3 01:11:41 2010 UTC

213 213
214 if($logoutDifference==="Currently online") 214 if($logoutDifference==="Currently online")
215 { 215 {
216 $loggedInColor = "#96FFB2"; 216 $loggedInColor = "#96FFB2";
217 echo "<td style='background-color: $loggedInColor;'>$name</td><td style='background-color: $loggedInColor;'>$loginDifference</td><td style='background-color: $loggedInColor;'>$logoutDifference</td><td style='background-color: $loggedInColor;'>$birthdateDifference</td><td style='background-color: $loggedInColor;'>$loginCount</td><td style='background-color: $loggedInColor;'>$deaths</td>\n"; 217 echo "<td style='background-color: $loggedInColor;'>$name</td><td style='background-color: $loggedInColor;'>$loginDifference</td><td style='background-color: $loggedInColor;'>$logoutDifference</td><td style='background-color: $loggedInColor;'>$birthdateDifference</td><td style='background-color: $loggedInColor;'>$loginCount</td><td style='background-color: $loggedInColor;'>$deaths</td>\n";
218 echo "<td style='background-color: $loggedInColor;'><img title='$client' style='width: 20px; height: 20px;' src='images/$operatingSystem.png' /></td>\n"; 218 echo "<td align='center' style='background-color: $loggedInColor;'><img title='$client' style='width: 20px; height: 20px;' src='images/$operatingSystem.png' /></td>\n";
219 219
220 if(stripos($location,"~")!==FALSE or stripos($location,"?random")!==FALSE) 220 if(stripos($location,"~")!==FALSE or stripos($location,"?random")!==FALSE)
221 { 221 {
222 echo "<td align='center' style='background-color: $loggedInColor;'><img title='$name is on a map you can not see: $location' style='width: 20px; height: 20px;' src='images/no.png' /></a></td>\n"; 222 echo "<td align='center' style='background-color: $loggedInColor;'><img title='$name is on a map you can not see: $location' style='width: 20px; height: 20px;' src='images/no.png' /></a></td>\n";
223 } 223 }
227 } 227 }
228 } 228 }
229 else 229 else
230 { 230 {
231 echo "<td>$name</td><td>$loginDifference</td><td>$logoutDifference</td><td>$birthdateDifference</td><td>$loginCount</td><td>$deaths</td>\n"; 231 echo "<td>$name</td><td>$loginDifference</td><td>$logoutDifference</td><td>$birthdateDifference</td><td>$loginCount</td><td>$deaths</td>\n";
232 echo "<td><img title='$client' style='width: 20px; height: 20px;' src='images/$operatingSystem.png' /></td>\n"; 232 echo "<td align='center'><img title='$client' style='width: 20px; height: 20px;' src='images/$operatingSystem.png' /></td>\n";
233 233
234 if(stripos($location,"~")!==FALSE or stripos($location,"?random")!==FALSE) 234 if(stripos($location,"~")!==FALSE or stripos($location,"?random")!==FALSE)
235 { 235 {
236 echo "<td align='center'><img title='$name is on a map you can not see: $location' style='width: 20px; height: 20px;' src='images/no.png' /></a></td>\n"; 236 echo "<td align='center'><img title='$name is on a map you can not see: $location' style='width: 20px; height: 20px;' src='images/no.png' /></a></td>\n";
237 } 237 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines