|
Last change
on this file was 697, checked in by george, 16 years ago |
- Upraveno: Systém výběru světů pomocí indexů a cookies předělán na výběr pomocí URL.
|
|
File size:
432 bytes
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 |
|
|---|
| 3 | $Output = '<h2 align="center">Herní příkazy</h2>';
|
|---|
| 4 |
|
|---|
| 5 | $Realm = new Realm($System, $_COOKIE['RealmIndex']);
|
|---|
| 6 | $db = $Realm->MangosDatabase;
|
|---|
| 7 |
|
|---|
| 8 | $Output .= '<ul>';
|
|---|
| 9 | $DbResult = $db->query('SELECT * FROM `command` WHERE security=0 ORDER BY name');
|
|---|
| 10 | while($DbRow = $DbResult->fetch_assoc())
|
|---|
| 11 | {
|
|---|
| 12 | $Output .= '<li><strong>'.$DbRow['name'].'</strong> - '.$DbRow['help'].'</li>';
|
|---|
| 13 | }
|
|---|
| 14 | $Output .= '</ul>';
|
|---|
| 15 | echo($Output);
|
|---|
| 16 |
|
|---|
| 17 | ?>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.