<?php

$html->PrgStart();
if($player->Check())
{
  echo('&nbsp;<a href="?page=acc">&lt;- Zpět do správy účtu</a>
<center><h3>Přemístění pozice vaší postavy</h3></center>
<form method="post">
<table align="center">
  <tr>
    <td>
      Jméno postavy pro přemístění : </td>
    <td>
      <input type="text" name="char"></td>
  </tr>
  <tr>
    <td colspan="2" align="right">
      <input type="submit" value="Resetovat" name="unstuck"></td>
  </tr>
</table>
</form>');

  if(isset($_POST['unstuck']) and $_POST['char'] != '')
  {
    $guid = $player->CharNameToGuid($_POST['char']);
    $player->ResetPosition($guid);
  }
} else
{
  $player->LoginForm();
}
$html->PrgStop();

?>
