Changeset 690 for trunk/inc/server.php
- Timestamp:
- Mar 19, 2010, 9:22:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/server.php
r684 r690 39 39 function ParseCopper($copper_in) 40 40 { 41 global $html; 42 41 43 $copper = $copper_in; 42 44 $golds = floor($copper / 10000); … … 44 46 $silver = floor($num / 100); 45 47 $copper = $num - $silver * 100; 46 $show_golds = '<font size="4">'.$golds.'</font> <img src=" imgs/inc/g.gif">';47 $show_silver = '<font size="4">'.$silver.'</font> <img src=" imgs/inc/s.gif">';48 $show_copper = '<font size="4">'.$copper.'</font> <img src=" imgs/inc/c.gif">';48 $show_golds = '<font size="4">'.$golds.'</font> <img src="'.$html->Link('/imgs/inc/g.gif').'">'; 49 $show_silver = '<font size="4">'.$silver.'</font> <img src="'.$html->Link('/imgs/inc/s.gif').'">'; 50 $show_copper = '<font size="4">'.$copper.'</font> <img src="'.$html->Link('/imgs/inc/c.gif').'">'; 49 51 return($show_golds.' '.$show_silver.' '.$show_copper); 50 52 } … … 64 66 function OnlineStateImage($Status) 65 67 { 66 if($Status) return('<img src="imgs/inc/on.gif" alt="online" /> <span style="text-color: #234303; text-size: 4;">Online</span>'); 67 else return('<img src="imgs/inc/off.gif" alt="offline" /> <span style="text-color: #990000; text-size: 4;">Offline</span>'); 68 global $html; 69 70 if($Status) return('<img src="'.$html->Link('/imgs/inc/on.gif').'" alt="online" /> <span style="text-color: #234303; text-size: 4;">Online</span>'); 71 else return('<img src="'.$html->Link('/imgs/inc/off.gif').'" alt="offline" /> <span style="text-color: #990000; text-size: 4;">Offline</span>'); 68 72 } 69 73
Note:
See TracChangeset
for help on using the changeset viewer.