From the stamp in your passport it appears that you may be based in Chiang Mai? If you are and if you only need a further 30 days from the 6th of August the closest border is Mae Sai - cross the border and pay 500 baht (or USD10) for the visa into Myanmar, they will then retain your passport and give a card with a number on it. Have a walk around the market on the Myanmar side a while, then before you exit Myanmar you present the card with the number on it and collect your passport - you should then receive a 30 day Visa Exempt Entry when you enter Thailand (you can get 2 of these per calendar year - you received one when you initially entered Thailand, this will be your second one). Very easy process!