Changeset 32 for trunk/www/index.php
- Timestamp:
- Jun 14, 2009, 8:42:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/index.php
r31 r32 678 678 } else $Output .= USER_BAD_ROLE; 679 679 } else 680 if($_GET['Action'] == 'State') 681 { 682 $Platform = new Platform($this->Database); 683 $State = $Platform->State(); 684 $Output = '<h4>Stav systému</h4>'. 685 '<table class="WideTable">'. 686 '<tr><th>Veličina</th><th>Hodnota</th></tr>'. 687 '<tr><td>Doba běhu serveru</td><td>'.$this->System->AddPrefixMultipliers($State['Uptime'], '', 4, 'Time').'</td></tr>'. 688 '<tr><td>Použitá/celková paměť</td><td>'.$this->System->AddPrefixMultipliers($State['MemoryUsed'], 'B', 4, 'Binary').' / '.$this->System->AddPrefixMultipliers($State['MemoryTotal'], 'B', 4, 'Binary').'</td></tr>'. 689 '<tr><td>Počet serverů</td><td>'.$State['ServerCount'].'</td></tr>'. 690 '<tr><td>Počet aktivních serverů</td><td>'.$State['ServerOnlineCount'].'</td></tr>'. 691 '<tr><td>Počet emulátorů</td><td>'.$State['EmulatorCount'].'</td></tr>'. 692 '<tr><td>Počet uživatelů</td><td>'.$State['UserCount'].'</td></tr>'. 693 '<tr><td>Počet záloh</td><td>'.$State['BackupCount'].'</td></tr>'. 694 '<tr><td>Čekajících/všech úloh ve frontě</td><td>'.$State['TaskQueued'].' / '.$State['TaskCount'].'</td></tr>'. 695 '</table>'; 696 } else 680 697 if($_GET['Action'] == 'Test') 681 698 { … … 696 713 } 697 714 if($this->System->Modules['User']->User['Id'] != $this->System->Modules['User']->AnonymousUserId) 698 $Output = '<table class="BasicTable"><tr><td class="UserMenu">'.$this->UserMenu().'</td><td class="Content">'.$Output.'</td></tr </table>';715 $Output = '<table class="BasicTable"><tr><td class="UserMenu">'.$this->UserMenu().'</td><td class="Content">'.$Output.'</td></tr></table>'; 699 716 return($Output); 700 717 }
Note:
See TracChangeset
for help on using the changeset viewer.