Custom Template page not loading get_header() correct?

If you remove the exit; call on line 176, does it load? It seems that the footer.php file will never be loaded because you are exiting before reaching that file.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)