Static pages not working

It’s more like:

<?php if ( have_posts() &! is_front_page() ) : ?>

this line should be:

<?php if ( have_posts() && !is_front_page() ) : ?>

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