I'm not seeing the extra repeat region in this page. When I check on the code that you sent I can only see a single 'do while' pair.
145: <?php do { ?>
162: <?php } while ($row_gyms = mysql_fetch_assoc($gyms)); ?>
Where on the page is the extra repeat region? On the page that you linked to what is not looking correct there? I'm just not sure what the issue is after looking it over.