obes,
quickly ran it through a validator and the document doesn't validate. looks like the main problem might be having mismatched opening and closing div tags.
on another note it looks your server doesn't have short tags enabled for PHP. there are mulitple <?= ?> present in the html output