Esempio n. 1
0
     }
 }
 //---------------------------------
 //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'])) {
         $my_array['UserToolsContent'] = $ut->ShowMoveCharForm($db, $acc);
     } else {
         $my_array['UserToolsContent'] = $ut->DoMoveChar($db, $acc, $_POST['char']);
     }
 }
 //--------------------------------
 //RESET TRANSFER -----------------
 if ($action == "ResetTransfer") {
     if ((!isset($_POST['char1']) || empty($_POST['char1'])) && (!isset($_POST['char2']) || empty($_POST['char2']))) {
         $my_array['UserToolsContent'] = $ut->ShowResetTransferForm($db, $acc);
     } else {
         $my_array['UserToolsContent'] = $ut->DoResetTransfer($db, $acc, $_POST);
     }
 }
 //--------------------------------
 //CHANGE CLASS -------------------