Changeset 627 for trunk/pages/server.php
- Timestamp:
- Aug 19, 2009, 9:06:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/server.php
r624 r627 1 1 <?php 2 2 3 echo('<h3 class="PageTitle">Server Heroes of Fantasy :</h3>'.3 $Output = '<h3 class="PageTitle">Server Heroes of Fantasy</h3>'. 4 4 '<table class="BaseTable"> 5 5 <tr> 6 <t d colspan="2"><strong>Statistiky :</strong></td>6 <th colspan="2">Statistiky</th> 7 7 </tr> 8 8 <tr> … … 43 43 </tr> 44 44 <tr> 45 <td colspan="2"><strong>Software :</strong></td> 46 </tr> 47 <tr> 48 <td>Operační systém</td> 49 <td>'.$Config['Web']['OS'].'</td> 45 <th colspan="2">Software</th> 50 46 </tr> 51 47 <tr> … … 62 58 </tr> 63 59 <tr> 64 <td colspan="2"><b>Hardware :</b></td> 60 <th colspan="2">Servery</th> 61 </tr> 62 <tr><td colspan="2" style="padding: 5px;">'; 63 64 foreach($Config['Web']['ServerList'] as $Index => $Server) 65 { 66 $Realms = array(); 67 foreach($Server['Realms'] as $Realm) 68 $Realms[] = $Config['Mangos']['RealmList'][$Realm]['Name']; 69 70 $Output .= '<table class="BaseTable" style="margin: 5px;"> 71 <tr> 72 <th colspan="2">Server '.($Index + 1).'</td> 73 </tr> 74 <tr> 75 <td>Operační systém</td> 76 <td>'.$Server['OS'].'</td> 65 77 </tr> 66 78 <tr> 67 79 <td>Procesor</td> 68 <td>'.$ Config['Web']['CPU'].'</td>80 <td>'.$Server['CPU'].'</td> 69 81 </tr> 70 82 <tr> 71 83 <td>Operační paměť</td> 72 <td>'.$ Config['Web']['Memory'].'</td>84 <td>'.$Server['Memory'].'</td> 73 85 </tr> 74 86 <tr> 75 87 <td>Pevný disk</td> 76 <td>'.$ Config['Web']['HDD'].'</td>88 <td>'.$Server['HDD'].'</td> 77 89 </tr> 78 90 <tr> 79 91 <td>Adresa serveru</td> 80 <td>'.$ Config['Web']['WoWServerAddr'].'</td>92 <td>'.$Server['Address'].'</td> 81 93 </tr> 82 94 <tr> 83 95 <td>Internetová linka</td> 84 <td>'.$ Config['Web']['Internet'].'</td>96 <td>'.$Server['Internet'].'</td> 85 97 </tr> 86 98 <tr> 87 <td colspan="2"><strong>Grafické statistiky serveru :</strong></td> 99 <td>Světy</td> 100 <td>'.implode(',', $Realms).'</td> 88 101 </tr> 89 102 <tr> 90 <td> Stránka projektu</td>91 <td><a href=" http://stat.zdechov.net/game/">stat.zdechov.net/game/</a></td>103 <td>Grafy</td> 104 <td><a href="'.$Server['Statistic'].'">'.$Server['Statistic'].'</a></td> 92 105 </tr> 93 </table>'); 106 </table>'; 107 } 108 $Output .= '</td></tr> 109 </table>'; 110 111 echo($Output); 94 112 95 113 ?>
Note:
See TracChangeset
for help on using the changeset viewer.