Ignore:
Timestamp:
Apr 30, 2009, 8:10:25 AM (15 years ago)
Author:
george
Message:
  • Opraveno: Doplněny ikony pro povolání death knight a soubory přejmenovány dle minimanageru.
  • Upraveno: Přeformátování a pročištění různých stránek.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pages/unstuck.php

    r438 r579  
    11<?php
    2 $html -> PrgStart();
    3 if ($player -> Check())
    4   {
    5 echo "
    6 &nbsp;<a href=\"?page=acc\">&lt;- Zpět do správy účtu</a>
     2
     3$html->PrgStart();
     4if($player->Check())
     5{
     6  echo('&nbsp;<a href="?page=acc">&lt;- Zpět do správy účtu</a>
    77<center><h3>Přemístění pozice vaší postavy</h3></center>
    8 <form method=\"post\">
    9 <table align=\"center\">
     8<form method="post">
     9<table align="center">
    1010  <tr>
    1111    <td>
    1212      Jméno postavy pro přemístění : </td>
    1313    <td>
    14       <input type=\"text\" name=\"char\"></td>
     14      <input type="text" name="char"></td>
    1515  </tr>
    1616  <tr>
    17     <td colspan=\"2\" align=\"right\">
    18       <input type=\"submit\" value=\"Resetovat\" name=\"unstuck\"></td>
     17    <td colspan="2" align="right">
     18      <input type="submit" value="Resetovat" name="unstuck"></td>
    1919  </tr>
    2020</table>
    21 </form>
    22 ";
    23 if (isset($_POST["unstuck"]) AND $_POST["char"] != "")
     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
    2429{
    25 $guid = $player -> CharNameToGuid($_POST["char"]);
    26 $player -> ResetPosition($guid);
     30  $player->LoginForm();
    2731}
    28 }
    29 else
    30 {
    31 $player -> LoginForm();
    32 }
     32$html->PrgStop();
    3333
    34 $html -> PrgStop();
    3534?>
Note: See TracChangeset for help on using the changeset viewer.