Leaking water? Contractions?

Today iv been having some sharp cramps on the areas I circled on the picture(this is not me I got the picture on Google) I'm 32 weeks and 2 days. Some of the cramps are painful to were just had to stop walking.. are these contractions? Also when I went to the bathroom a little bit ago my underwear where a little wet, how do I tell if I am leaking at all? I had some yellow discharge early the morning so it's hard to tell if the discharge I just had was clear or has color. Also Yesterday when I went to the bathroom 2 times my pee was completely clear, could tat of been my water and maybe I just thought I went pee?

The yellow is from earlier discharge the circled stuff is the discharge I'm having now? Is it some watering leaking?