Changeset 681 for trunk/pages/server.php
- Timestamp:
- Jan 23, 2010, 1:32:45 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 mm 2 Thumbs.db 1 gallery 2 armory 3 tester 4 test 5 minimanager 6 mmfpm
-
- Property svn:ignore
-
trunk/pages/server.php
r650 r681 57 57 </tr> 58 58 <tr><td colspan="2" style="padding: 5px;">'; 59 60 foreach($Config['Web']['ServerList'] as $Index => $Server) 59 60 $DbResult = $System->Database->query('SELECT * FROM Host'); 61 while($Host = $DbResult->fetch_assoc()) 61 62 { 62 63 $Realms = array(); 63 foreach($Config['Mangos']['RealmList'] as $RealmIndex => $Realm) 64 $DbResult2 = $System->Database->query('SELECT * FROM Realm'); 65 while($Realm = $DbResult2->fetch_assoc()) 64 66 { 65 if($Realm[' Server'] == $Index) $Realms[] = $Realm['Name'];67 if($Realm['Host'] == $Host['Id']) $Realms[] = $Realm['Name']; 66 68 } 67 69 … … 72 74 <tr> 73 75 <td>Operační systém</td> 74 <td>'.$ Server['OS'].'</td>76 <td>'.$Host['OS'].'</td> 75 77 </tr> 76 78 <tr> 77 79 <td>Procesor</td> 78 <td>'.$ Server['CPU'].'</td>80 <td>'.$Host['CPU'].'</td> 79 81 </tr> 80 82 <tr> 81 83 <td>Operační paměť</td> 82 <td>'.$ Server['Memory'].'</td>84 <td>'.$Host['Memory'].'</td> 83 85 </tr> 84 86 <tr> 85 87 <td>Pevný disk</td> 86 <td>'.$ Server['HDD'].'</td>88 <td>'.$Host['HDD'].'</td> 87 89 </tr> 88 90 <tr> 89 91 <td>Adresa serveru</td> 90 <td>'.$ Server['Address'].'</td>92 <td>'.$Host['Address'].'</td> 91 93 </tr> 92 94 <tr> 93 95 <td>Internetová linka</td> 94 <td>'.$ Server['Internet'].'</td>96 <td>'.$Host['Internet'].'</td> 95 97 </tr> 96 98 <tr> … … 100 102 <tr> 101 103 <td>Grafy</td> 102 <td><a href="'.$ Server['Statistic'].'">'.$Server['Statistic'].'</a></td>104 <td><a href="'.$Host['Statistic'].'">'.$Host['Statistic'].'</a></td> 103 105 </tr> 104 106 </table>';
Note:
See TracChangeset
for help on using the changeset viewer.