Is it spelled ther or their?

It's spelled their.

t - h - e - i - r

not thier,

not ther,

and not theyr.