I am building a custom template page to display some custom post type content but for some reason my code is causing the content to nest inside of eachother so the second post nests inside the previous post. I am sure that this is a stupid coding error on my part but I just cant seem to figure it out. Could someone take a glance at this and see what I am doing wrong.
I realize that my PHP is terrible here, please let me know any ways i can clean it up. I am learning PHP by using it so it is a bit messy right now. Thanks for the help!
Live page: http://eland.arvixe.com/~ywamtga/ministries/
Code at PasteBin: http://pastebin.com/kHMMeNTP