Your symptoms suggested the dengue fever
, which is a self limiting disease and get cured by taking plenty of fluids, NSAIDS and rest. In your case, you had 2 episodes of viral fever, one of could be dengue fever due to which you had all your associated symptoms and also the decreased platelet count. Normally platelet count normalises within a week or so after the dengue fever subsided. Along with the pain in joints and weakness, it takes around 10-15 days to completely recover from this diseases, provided you are taking proper diet and rest.