If your cat has had diarrhea for that long, somethings wrong. Your cat needs to see a vet now. The vet will run a couple tests, and prescribe something along the lines of Tylosin. That is an antibiotic that acts as an anti-diarrhea medicne. The vet may also wish to give fluids under the skin, the cat will be dehydrated.