Changeset 291
- Timestamp:
- Jan 31, 2008, 5:46:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/char.php
r289 r291 53 53 $pole[$poradi] = "0"; 54 54 $save = mysql_query("UPDATE `character` SET `data` = '".implode(" ",$pole)."' WHERE `guid` ='".$_GET['id']."' LIMIT 1"); 55 $sql_res_k = mysql_query("SELECT * FROM `character` WHERE `guid` = '".$_GET['id']."' LIMIT 1" , $GLOBALS["dbspojeni"]);55 $sql_res_k = mysql_query("SELECT * FROM `character` WHERE `guid` = '".$_GET['id']."' LIMIT 1"); 56 56 $load_res_k = mysql_fetch_array($sql_res_k); 57 $pole_k = explode(" ",$load_res ["data"]);58 if ($pole [$poradi] == "0")57 $pole_k = explode(" ",$load_res_k["data"]); 58 if ($pole_k[$poradi] == "0") 59 59 { 60 echo "<script>alert(\" Pozice postavy byla resetována!\");</script>";60 echo "<script>alert(\"XP postavy bylo resetováno!\");</script>"; 61 61 } 62 62 }
Note:
See TracChangeset
for help on using the changeset viewer.