Changeset 291


Ignore:
Timestamp:
Jan 31, 2008, 5:46:46 PM (17 years ago)
Author:
bbtrash
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • minimanager/char.php

    r289 r291  
    5353      $pole[$poradi] = "0";
    5454      $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");
    5656      $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")
    5959          {
    60           echo "<script>alert(\"Pozice postavy byla resetována!\");</script>";
     60          echo "<script>alert(\"XP postavy bylo resetováno!\");</script>";
    6161          }
    6262  }
Note: See TracChangeset for help on using the changeset viewer.