Esempio n. 1
0
             $my_array['UserToolsContent'] = "Error";
         }
     }
 }
 //---------------------------------
 //MASTER RESET --------------------
 if ($action == "MasterReset") {
     if (!isset($_POST['char']) || empty($_POST['char'])) {
         $my_array['UserToolsContent'] = $ut->ShowMRForm($db, $acc);
     } else {
         if (isset($_POST['MRtype'])) {
             $type = $_POST['MRtype'];
         } else {
             $type = 1;
         }
         $my_array['UserToolsContent'] = $ut->DoMR($db, $acc, $_POST['char'], $type);
     }
 }
 //---------------------------------
 //RENAME --------------------------
 if ($action == "Rename") {
     if (!isset($_POST['char']) || empty($_POST['char'])) {
         $my_array['UserToolsContent'] = $ut->ShowRenameForm($db, $acc);
     } else {
         $my_array['UserToolsContent'] = $ut->DoRename($db, $acc, $_POST['char'], $_POST['newName']);
     }
 }
 //--------------------------------
 //MOVE CHAR ----------------------
 if ($action == "MoveChar") {
     if (!isset($_POST['char']) || empty($_POST['char'])) {