Changeset 579 for trunk/pages/unstuck.php
- Timestamp:
- Apr 30, 2009, 8:10:25 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/unstuck.php
r438 r579 1 1 <?php 2 $html -> PrgStart(); 3 if ($player -> Check()) 4 { 5 echo " 6 <a href=\"?page=acc\"><- Zpět do správy účtu</a>2 3 $html->PrgStart(); 4 if($player->Check()) 5 { 6 echo(' <a href="?page=acc"><- Zpět do správy účtu</a> 7 7 <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"> 10 10 <tr> 11 11 <td> 12 12 Jméno postavy pro přemístění : </td> 13 13 <td> 14 <input type= \"text\" name=\"char\"></td>14 <input type="text" name="char"></td> 15 15 </tr> 16 16 <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> 19 19 </tr> 20 20 </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 24 29 { 25 $guid = $player -> CharNameToGuid($_POST["char"]); 26 $player -> ResetPosition($guid); 30 $player->LoginForm(); 27 31 } 28 } 29 else 30 { 31 $player -> LoginForm(); 32 } 32 $html->PrgStop(); 33 33 34 $html -> PrgStop();35 34 ?>
Note:
See TracChangeset
for help on using the changeset viewer.