Changeset 10 for trunk/www/index.php
- Timestamp:
- Jun 11, 2009, 12:55:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/index.php
r9 r10 38 38 $Server = new Server($this->Database, $Id); 39 39 $Output = '<h4>Podrobnosti serveru</h4>'; 40 $Form = new Form('EditServer'); 41 $Form->LoadValuesFromDatabase($Id); 42 $Output .= $Form->ShowTable(); 43 /* 40 44 $Output .= '<table class="WideTable"><tr><th>Položka</th><th>Hodnota</th></tr>'; 41 45 $Output .= '<tr><td>Jméno</td><td>'.$Server->Server['Name'].'</td></tr>'. … … 45 49 '<tr><td>Síťový port realmd</td><td>'.($Server->RealmdBaseNetworkPort + $Server->Id).'</td></tr>'. 46 50 '<tr><td>Síťový port mangosd</td><td>'.($Server->WorlddBaseNetworkPort + $Server->Id).'</td></tr>'; 47 $Output .= '</table><div style="text-align: center">'; 48 if($this->System->Modules['User']->User['Role'] >= USER_ROLE_USER) 51 $Output .= '</table> 52 */ 53 $Output .= '<div style="text-align: center">'; 54 if(($this->System->Modules['User']->User['Role'] >= USER_ROLE_USER) and ($this->System->Modules['User']->User['Id'] == $Server->Server['User'])) 49 55 { 50 56 $Output .= '<br /><a href="'.$this->System->Config['Web']['Host'].'/mysql/">Správa databáze</a> ';
Note:
See TracChangeset
for help on using the changeset viewer.