Last change
on this file was 692, checked in by george, 15 years ago |
- Upraveno: Další názvy souborů přejmenovány pro potřeby pěkných URL.
|
File size:
744 bytes
|
Rev | Line | |
---|
[692] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | $html->PrgStart();
|
---|
| 4 | if($player->Check())
|
---|
| 5 | {
|
---|
| 6 | echo(' <a href="'.$html->Link('/ucet/').'"><- Zpět do správy účtu</a>
|
---|
| 7 | <center><h3>Přemístění pozice vaší postavy</h3></center>
|
---|
| 8 | <form method="post">
|
---|
| 9 | <table align="center">
|
---|
| 10 | <tr>
|
---|
| 11 | <td>
|
---|
| 12 | Jméno postavy pro přemístění : </td>
|
---|
| 13 | <td>
|
---|
| 14 | <input type="text" name="char"></td>
|
---|
| 15 | </tr>
|
---|
| 16 | <tr>
|
---|
| 17 | <td colspan="2" align="right">
|
---|
| 18 | <input type="submit" value="Resetovat" name="unstuck"></td>
|
---|
| 19 | </tr>
|
---|
| 20 | </table>
|
---|
| 21 | </form>');
|
---|
| 22 |
|
---|
| 23 | if(isset($_POST['unstuck']) and $_POST['char'] != '')
|
---|
| 24 | {
|
---|
| 25 | $guid = $player->CharNameToGuid($_POST['char']);
|
---|
| 26 | $player->ResetPosition($guid);
|
---|
| 27 | }
|
---|
| 28 | } else
|
---|
| 29 | {
|
---|
| 30 | $player->LoginForm();
|
---|
| 31 | }
|
---|
| 32 | $html->PrgStop();
|
---|
| 33 |
|
---|
| 34 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.