It looks like you were hand editing the pages and had commented out some includes on the checkout.php page and removed an IF statement on the confirm_cart.php page.
I corrected those issues and the page appears correct to me now. If you still have problems, please be specific about what they are and I can help you resolve them. If something looks wrong, please explain exactly what it is so I know I'm looking at the right thing.