|
Last change
on this file was 695, checked in by george, 16 years ago |
- Upraveno: Použití názvů světů v URL namísto RealmIndex.
- Přidáno: Stránka zobrazující informace o jednotlivých světech.
- Odebráno: Nezobrazovat kategorie aktualit. Stačí jen jedna.
- Přidáno: Funkce pro generování XML seznamu hráčů ve stylu WoWEmu pro wowstatus.
|
|
File size:
356 bytes
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 |
|
|---|
| 3 | include('../inc/config.php');
|
|---|
| 4 | include('../inc/database.php');
|
|---|
| 5 | include('../inc/system.php');
|
|---|
| 6 | include('../inc/realm.php');
|
|---|
| 7 |
|
|---|
| 8 | $System = new System($Config);
|
|---|
| 9 | $Realm = new Realm($System, $Config['Web']['DefaultRealmIndex']);
|
|---|
| 10 |
|
|---|
| 11 | $Output = $Realm->WoWEmuStat();
|
|---|
| 12 | Header('Content-Type: text/xml');
|
|---|
| 13 | Header('Content-Length: '.strlen($Output));
|
|---|
| 14 | echo($Output);
|
|---|
| 15 |
|
|---|
| 16 | ?>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.