Hi thanks for your question.
Since your having diarrhea
with abdominal cramps,it is of infective orgin.So you have take antibiotics. Cipval is a safe antibiotic but it does cause gastric upset by increasing acid output.I will suggest you to take it after food and if still you get gastric symptoms,you can addationally take H2 blockers like rantidine.
Regarding duration of therapy,your Doctor knows the best.You can reconsult your Doctor regarding duration of therapy.
Hope this answers your question.