die("ERROR");
     break;
 case 11:
     $id = intval($_GET['id']);
     if ($dbConnect->checkLuaRight($id, $userId)) {
         deleteFilesByLuaId($id);
         $dbConnect->deleteLua($id);
         die("Deleted");
     }
     die("ERROR");
     break;
 case 12:
     $id = intval($_GET['id']);
     if ($dbConnect->checkImageRight($id, $userId)) {
         deleteImage($id);
         $dbConnect->deleteImage($id);
         die("Deleted");
     }
     die("ERROR");
     break;
 case 13:
     $id = intval($_GET['id']);
     if ($dbConnect->checkNameRight($id, $userId)) {
         deleteNameFiles($id);
         $dbConnect->deleteName($id);
         die("Deleted");
     }
     die("ERROR");
     break;
 case 14:
     //get overView (latest widgets only) with in-active widgets