Changeset 377 for beta/pages/movechar.php
- Timestamp:
- Sep 16, 2008, 6:53:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/pages/movechar.php
r373 r377 45 45 if (isset($_POST["movechar"]) AND $_POST["acc1"] != "" AND $_POST["pass1"] != "" AND $_POST["pass2"] != "" AND $_POST["char"] != "" AND $_POST["acc2"] != "" AND $_POST["pass1"] == $_POST["pass2"]) 46 46 { 47 $player -> MoveChar($_POST["acc1"],$_POST["pass1"],$_POST["acc2"],$_POST["char"]); 47 $db -> select_db("realmd"); 48 $row = $db -> query("SELECT `locked` FROM `account` WHERE `id` = '".$_SESSION["UserId"]."';") -> fetch_array(); 49 if ($row["locked"] != 1) 50 { 51 $player -> MoveChar($_POST["acc1"],$_POST["pass1"],$_POST["acc2"],$_POST["char"]); 52 } 53 else 54 { 55 echo "Tento účet má <b>ban přesun není možné</b> !<br />"; 56 } 48 57 } 49 58 $html -> PrgStop();
Note:
See TracChangeset
for help on using the changeset viewer.